-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing library link #6
Comments
Thanks! The cmake build is easy to forget... |
The cmake fix proposed was insufficient for me. After the fix I get: Linking CXX executable ../icesh |
That is weird, as it built fine after I did this for Voidlinux.
|
I'll note that it builds fine with autotools. |
Are you building manually or through a package manager
|
I am using the instructions at None of the defines should make any difference for internal references. |
https://github.com/void-linux/void-packages/blob/dc4562ceb0ad8b67f9e2bba49b5c84cb31874784/srcpkgs/icewm/template
is how our build is ran. Try with -DENABLE_LTO=ON and
CXXFLAGS="-Wno-odr -fno-strict-aliasing" is probably the most important
of the template
|
I tried with a couple of variations. It looks like -DENABLE_LTO=ON is the option that fixes the problem. |
May submit a PR to use that as default
…On Thu, Jan 9, 2020 at 1:58 PM bdubbs ***@***.***> wrote:
I tried with a couple of variations. It looks like -DENABLE_LTO=ON is the
option that fixes the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6?email_source=notifications&email_token=AAA4X34A5XL5YHTVV3PSDWLQ456YFA5CNFSM4KEDFEQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIRSSXI#issuecomment-572729693>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4X352KU6FFDODQLW4PYLQ456YFANCNFSM4KEDFEQQ>
.
|
[ 12%] Linking CXX executable ../icesh
/usr/bin/ld: /tmp/icesh.kf16zL.ltrans0.ltrans.o: in function
IceSh::spy()': <artificial>:(.text+0x1033): undefined reference to
walltime()'collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/icesh.dir/build.make:144: icesh] Error 1
make[1]: *** [CMakeFiles/Makefile2:275: src/CMakeFiles/icesh.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
The text was updated successfully, but these errors were encountered: