Re: openal-1.14 and ffmpeg-0.7.13
Dennis Veatch <[email protected]> Tue, 02 Oct 2012 20:57:43 -0400
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
On 10/02/2012 08:46 PM, Dennis Veatch wrote: > 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 > _______________________________________________ > > Oops the magic of the clicky button struck. Using LDFLAGS=" -lavutil" seems to have done the trick. Dennis _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal