Dennis Veatch
2012-10-03 00:46:30 UTC
Trying to compile openal and get this error;
[ 91%] Building C object CMakeFiles/alstream.dir/examples/alffmpeg.o
/usr/src/openal-soft-1.14/examples/alffmpeg.c: In function 'MemData_seek':
/usr/src/openal-soft-1.14/examples/alffmpeg.c:101:37: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/openal-soft-1.14/examples/alffmpeg.c:107:39: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/openal-soft-1.14/examples/alffmpeg.c:108:38: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/openal-soft-1.14/examples/alffmpeg.c:114:37: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
[ 94%] Building C object CMakeFiles/alstream.dir/examples/alstream.o
Linking C executable alstream
/usr/bin/ld: CMakeFiles/alstream.dir/examples/alffmpeg.o: undefined
reference to symbol 'av_malloc@@LIBAVUTIL_50'
/usr/bin/ld: note: 'av_malloc@@LIBAVUTIL_50' is defined in DSO
/usr/lib/libavutil.so.50 so try adding it to the linker command line
/usr/lib/libavutil.so.50: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [alstream] Error 1
make[1]: *** [CMakeFiles/alstream.dir/all] Error 2
make: *** [all] Error 2
With some other apps I would do something like LDFLAGS=" -lm" or some
similar such thing depending on the DSO. With this particular issue I
have no idea what to do and Google has not been the all knowing one in
this case.
Thanks
Dennis
[ 91%] Building C object CMakeFiles/alstream.dir/examples/alffmpeg.o
/usr/src/openal-soft-1.14/examples/alffmpeg.c: In function 'MemData_seek':
/usr/src/openal-soft-1.14/examples/alffmpeg.c:101:37: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/openal-soft-1.14/examples/alffmpeg.c:107:39: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/openal-soft-1.14/examples/alffmpeg.c:108:38: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/openal-soft-1.14/examples/alffmpeg.c:114:37: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
[ 94%] Building C object CMakeFiles/alstream.dir/examples/alstream.o
Linking C executable alstream
/usr/bin/ld: CMakeFiles/alstream.dir/examples/alffmpeg.o: undefined
reference to symbol 'av_malloc@@LIBAVUTIL_50'
/usr/bin/ld: note: 'av_malloc@@LIBAVUTIL_50' is defined in DSO
/usr/lib/libavutil.so.50 so try adding it to the linker command line
/usr/lib/libavutil.so.50: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [alstream] Error 1
make[1]: *** [CMakeFiles/alstream.dir/all] Error 2
make: *** [all] Error 2
With some other apps I would do something like LDFLAGS=" -lm" or some
similar such thing depending on the DSO. With this particular issue I
have no idea what to do and Google has not been the all knowing one in
this case.
Thanks
Dennis