Skip to content
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

stderror-override and disable-shared #350

Closed
lhunath opened this issue Aug 11, 2017 · 2 comments
Closed

stderror-override and disable-shared #350

lhunath opened this issue Aug 11, 2017 · 2 comments

Comments

@lhunath
Copy link

lhunath commented Aug 11, 2017

First of all, .travis.yml suggests we should pass --enable-stderror-override to ./configure but I don't think that does anything:

configure: WARNING: unrecognized options: --enable-strerror-override

Furthermore, when configuring with --disable-shared (I don't want a .dylib, only a .a), the test build fails:

  CCLD     test1
  CCLD     test2
ld: reference to symbol (which has not been assigned an address) __json_c_strerror in '_json_c_get_random_seed' from /tmp/lto.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [test1] Error 1
make[2]: *** Waiting for unfinished jobs....
ld: reference to symbol (which has not been assigned an address) __json_c_strerror in '_main' from /tmp/lto.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [test_util_file] Error 1
ld: reference to symbol (which has not been assigned an address) __json_c_strerror in '_json_c_get_random_seed' from /tmp/lto.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [test2] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
@hawicz
Copy link
Member

hawicz commented Aug 31, 2017

The travis problem should have been fixed in commit d8fbfc7.

@hawicz
Copy link
Member

hawicz commented Aug 31, 2017

The rest was fixed by commit e0e34f0

@hawicz hawicz closed this as completed Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants