cmake cannot locate (libgcc_s.so.1; ctr1.o; ctri.o) in GuixSDCross-compiling and CMakecmake question on...
Was the dragon prowess intentionally downplayed in S08E04?
It is as easy as A B C, Figure out U V C from the given relationship
Why do galaxies collide
Does it matter what way the tires go if no directional arrow?
What color to choose as "danger" if the main color of my app is red
Wifi is sometimes soft blocked by unknown service
How to handle professionally if colleagues has referred his relative and asking to take easy while taking interview
Can I say: "When was your train leaving?" if the train leaves in the future?
Can a tourist shoot a gun in the USA?
Do people who work at research institutes consider themselves "academics"?
Why is the Advance Variation considered strong vs the Caro-Kann but not vs the Scandinavian?
Why is Drogon so much better in battle than Rhaegal and Viserion?
the correct order of manual install WP and SSL on server
Can my Serbian girlfriend apply for a UK Standard Visitor visa and stay for the whole 6 months?
To whom did Varys write those letters in Game of Thrones S8E5?
Is random forest for regression a 'true' regression?
How do I know which cipher suites can be disabled?
What was Varys trying to do at the beginning of S08E05?
Is my test coverage up to snuff?
Will the volt, ampere, ohm or other electrical units change on May 20th, 2019?
Should I communicate in my applications that I'm unemployed out of choice rather than because nobody will have me?
Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?
labelled end points on logic diagram
God-Pharaoh's Statue and Finale Of Promise
cmake cannot locate (libgcc_s.so.1; ctr1.o; ctri.o) in GuixSD
Cross-compiling and CMakecmake question on RedHat Linux 64tigervnc and cmake on hpux: why cannot find zlib?Cmake cannot find module Qt5WebEngineWidgetsGUI for a new cmakeld cannot find existing librarymkfs.vfat not found on GuixSDRun 'cmake --help' for more informationSystem installation failed. Substitution of webkitgtk-2.20.5. GuixSD LinuxHow do I set a cmake policy?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am trying to compile Xash3D on GuixSD v1.0.0 and gcc 8.3.0.
ld is giving me errors, that ctr1.o and ctri.o are missing. These files exist under a different directoy, under /gnu/store/{specific program name}, however, I surprisingly wasn't able to make a symbolic link to ~/.guix_profile, where other libraries sit, even with root access. There are multiple versions of them with different sizes so I would assume that they are only for those specific programs. Furthermore. ~/.guix_profile seems to emulate the root directory of a Unix system, however /usr is missing from both the root directory, and ~/.guix_profile, so I would not know where to install them even if I copied it from another distro.
TL;DR ld cannot find crt1.o, crti.o, and libgcc_s.so.1
Anyways, here is what is printed by
$( sudo cmake -DHL_SDK_DIR=../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_EXE_LINKER_FLAGS="-m32" ../ && sudo make)
Run Build Command:"/home/nick/.guix-profile/bin/make" "cmTC_7635d/fast"
/home/nick/.guix-profile/bin/make -f CMakeFiles/cmTC_7635d.dir/build.make CMakeFiles/cmTC_7635d.dir/build
make[1]: Entering directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o
/home/nick/.guix-profile/bin/gcc -m32 -o CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -c /home/nick/xash3d/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_7635d
/gnu/store/nrsbv2df55abwji1gsb1ilf22n3rc1xa-cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7635d.dir/link.txt --verbose=1
/home/nick/.guix-profile/bin/gcc -m32 -rdynamic CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -o cmTC_7635d
/home/nick/.guix-profile/bin/ld: cannot find crt1.o: No such file or directory
/home/nick/.guix-profile/bin/ld: cannot find crti.o: No such file or directory
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: cannot find libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_7635d.dir/build.make:87: cmTC_7635d] Error 1
make[1]: Leaving directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7635d/fast] Error 2
cmake ld guix guixsd
add a comment |
I am trying to compile Xash3D on GuixSD v1.0.0 and gcc 8.3.0.
ld is giving me errors, that ctr1.o and ctri.o are missing. These files exist under a different directoy, under /gnu/store/{specific program name}, however, I surprisingly wasn't able to make a symbolic link to ~/.guix_profile, where other libraries sit, even with root access. There are multiple versions of them with different sizes so I would assume that they are only for those specific programs. Furthermore. ~/.guix_profile seems to emulate the root directory of a Unix system, however /usr is missing from both the root directory, and ~/.guix_profile, so I would not know where to install them even if I copied it from another distro.
TL;DR ld cannot find crt1.o, crti.o, and libgcc_s.so.1
Anyways, here is what is printed by
$( sudo cmake -DHL_SDK_DIR=../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_EXE_LINKER_FLAGS="-m32" ../ && sudo make)
Run Build Command:"/home/nick/.guix-profile/bin/make" "cmTC_7635d/fast"
/home/nick/.guix-profile/bin/make -f CMakeFiles/cmTC_7635d.dir/build.make CMakeFiles/cmTC_7635d.dir/build
make[1]: Entering directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o
/home/nick/.guix-profile/bin/gcc -m32 -o CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -c /home/nick/xash3d/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_7635d
/gnu/store/nrsbv2df55abwji1gsb1ilf22n3rc1xa-cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7635d.dir/link.txt --verbose=1
/home/nick/.guix-profile/bin/gcc -m32 -rdynamic CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -o cmTC_7635d
/home/nick/.guix-profile/bin/ld: cannot find crt1.o: No such file or directory
/home/nick/.guix-profile/bin/ld: cannot find crti.o: No such file or directory
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: cannot find libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_7635d.dir/build.make:87: cmTC_7635d] Error 1
make[1]: Leaving directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7635d/fast] Error 2
cmake ld guix guixsd
add a comment |
I am trying to compile Xash3D on GuixSD v1.0.0 and gcc 8.3.0.
ld is giving me errors, that ctr1.o and ctri.o are missing. These files exist under a different directoy, under /gnu/store/{specific program name}, however, I surprisingly wasn't able to make a symbolic link to ~/.guix_profile, where other libraries sit, even with root access. There are multiple versions of them with different sizes so I would assume that they are only for those specific programs. Furthermore. ~/.guix_profile seems to emulate the root directory of a Unix system, however /usr is missing from both the root directory, and ~/.guix_profile, so I would not know where to install them even if I copied it from another distro.
TL;DR ld cannot find crt1.o, crti.o, and libgcc_s.so.1
Anyways, here is what is printed by
$( sudo cmake -DHL_SDK_DIR=../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_EXE_LINKER_FLAGS="-m32" ../ && sudo make)
Run Build Command:"/home/nick/.guix-profile/bin/make" "cmTC_7635d/fast"
/home/nick/.guix-profile/bin/make -f CMakeFiles/cmTC_7635d.dir/build.make CMakeFiles/cmTC_7635d.dir/build
make[1]: Entering directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o
/home/nick/.guix-profile/bin/gcc -m32 -o CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -c /home/nick/xash3d/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_7635d
/gnu/store/nrsbv2df55abwji1gsb1ilf22n3rc1xa-cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7635d.dir/link.txt --verbose=1
/home/nick/.guix-profile/bin/gcc -m32 -rdynamic CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -o cmTC_7635d
/home/nick/.guix-profile/bin/ld: cannot find crt1.o: No such file or directory
/home/nick/.guix-profile/bin/ld: cannot find crti.o: No such file or directory
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: cannot find libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_7635d.dir/build.make:87: cmTC_7635d] Error 1
make[1]: Leaving directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7635d/fast] Error 2
cmake ld guix guixsd
I am trying to compile Xash3D on GuixSD v1.0.0 and gcc 8.3.0.
ld is giving me errors, that ctr1.o and ctri.o are missing. These files exist under a different directoy, under /gnu/store/{specific program name}, however, I surprisingly wasn't able to make a symbolic link to ~/.guix_profile, where other libraries sit, even with root access. There are multiple versions of them with different sizes so I would assume that they are only for those specific programs. Furthermore. ~/.guix_profile seems to emulate the root directory of a Unix system, however /usr is missing from both the root directory, and ~/.guix_profile, so I would not know where to install them even if I copied it from another distro.
TL;DR ld cannot find crt1.o, crti.o, and libgcc_s.so.1
Anyways, here is what is printed by
$( sudo cmake -DHL_SDK_DIR=../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_EXE_LINKER_FLAGS="-m32" ../ && sudo make)
Run Build Command:"/home/nick/.guix-profile/bin/make" "cmTC_7635d/fast"
/home/nick/.guix-profile/bin/make -f CMakeFiles/cmTC_7635d.dir/build.make CMakeFiles/cmTC_7635d.dir/build
make[1]: Entering directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o
/home/nick/.guix-profile/bin/gcc -m32 -o CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -c /home/nick/xash3d/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_7635d
/gnu/store/nrsbv2df55abwji1gsb1ilf22n3rc1xa-cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7635d.dir/link.txt --verbose=1
/home/nick/.guix-profile/bin/gcc -m32 -rdynamic CMakeFiles/cmTC_7635d.dir/testCCompiler.c.o -o cmTC_7635d
/home/nick/.guix-profile/bin/ld: cannot find crt1.o: No such file or directory
/home/nick/.guix-profile/bin/ld: cannot find crti.o: No such file or directory
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: cannot find libgcc_s.so.1
/home/nick/.guix-profile/bin/ld: skipping incompatible /gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/8.3.0/libgcc.a when searching for -lgcc
/home/nick/.guix-profile/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_7635d.dir/build.make:87: cmTC_7635d] Error 1
make[1]: Leaving directory '/home/nick/xash3d/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7635d/fast] Error 2
cmake ld guix guixsd
cmake ld guix guixsd
asked 1 hour ago
Nick BailucNick Bailuc
2571310
2571310
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518965%2fcmake-cannot-locate-libgcc-s-so-1-ctr1-o-ctri-o-in-guixsd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518965%2fcmake-cannot-locate-libgcc-s-so-1-ctr1-o-ctri-o-in-guixsd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown