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

OSX 10.14.5 make fail #15

Open
remixmabix opened this issue Jun 13, 2019 · 3 comments
Open

OSX 10.14.5 make fail #15

remixmabix opened this issue Jun 13, 2019 · 3 comments

Comments

@remixmabix
Copy link

remixmabix commented Jun 13, 2019

Hello after compiling libltc successfully I have now a problem with compiling this library.

This is the error I get.

I noticed that there is a build variable setted on x86_64-apple-darwin18.6.0 on the libltlc library.

cc -Wall -g -O2 pkg-config --cflags ltc jack pkg-config --cflags sndfile -DVERSION="0.7.0" jltcdump.c ltcframeutil.c common_ltcdump.c pkg-config --libs ltc jack pkg-config --libs sndfile -lm -lpthread -o jltcdump
Undefined symbols for architecture x86_64:
"_ltc_decoder_create", referenced from:
_main in jltcdump-e17be4.o
"_ltc_decoder_free", referenced from:
_main in jltcdump-e17be4.o
"_ltc_decoder_queue_length", referenced from:
_my_decoder_read in jltcdump-e17be4.o
"_ltc_decoder_read", referenced from:
_my_decoder_read in jltcdump-e17be4.o
"_ltc_decoder_write", referenced from:
_process in jltcdump-e17be4.o
"_ltc_frame_alignment", referenced from:
_my_decoder_read in jltcdump-e17be4.o
"_ltc_frame_decrement", referenced from:
_detect_discontinuity in ltcframeutil-122dc2.o
"_ltc_frame_increment", referenced from:
_detect_discontinuity in ltcframeutil-122dc2.o
"_ltc_frame_to_time", referenced from:
_my_decoder_read in jltcdump-e17be4.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [: jltcdump] Error 1

I previously built this library successfully on mac.

Thanks for helping.

@x42
Copy link
Owner

x42 commented Jun 13, 2019

It looks like the library link-flags are missing, ie no -L... -lltc.

What is the output of pkg-config --libs ltc jack ?

@x42
Copy link
Owner

x42 commented Jun 13, 2019

Also try

make clean
make

@remixmabix
Copy link
Author

Hello,

output of pkg-config --libs ltc jack : -L/usr/local/lib -lltc -lm -ljack

make clean and make gives me the same error.

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