-
Notifications
You must be signed in to change notification settings - Fork 40
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
Cannot build exampls/simple.c #3
Comments
Oh yes, that's a difference between Linux and OS X (what this library is being developed on). What happens when you add |
I get the following error: gcc -o sprec_simple examples/simple.o -lsprec -lpthread it's the same error I get while running "make tool" |
Now that is weird. The code doesn't even use |
I installed gcc from Ubuntu 13.04 repo. I think C development libraries are correct. Can you mentaion what packages do I have to install? |
I just tried to reinstall libsprec and not it works fine. Thank you for the help. |
You are welcome, I'm glad it worked out. |
Running "make simple" I got the following error:
gcc -o sprec_simple examples/simple.o -lsprec
/usr/bin/ld: examples/simple.o: undefined reference to symbol 'pthread_join@@GLIBC_2.0'
/usr/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/i386-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/i386-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [sprec_simple] Error 1
The text was updated successfully, but these errors were encountered: