I'm trying to link sox to the ogg vorbis static libraries but I'm getting the following error: gcc -L. -L./gsm -o sox sox.o -lst -lgsm -logg -lvorbis -lvorbisfile -lvorbisenc -lmad -lmp3lame ld: Undefined symbols: _oggpack_bytes _oggpack_get_buffer _oggpack_reset _oggpack_writeclear _oggpack_writeinit _oggpack_read _oggpack_readinit _oggpack_write _oggpack_adv _oggpack_look _oggpack_writealign _vorbis_packet_blocksize _vorbis_synthesis _vorbis_synthesis_trackonly I don't get this error with the dynamic libs. What gives? Cheers, Steve OSX freeware and shareware: http://www.dekorte.com/downloads.html --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Thursday, June 12, 2003, at 09:45 pm, Steve Dekorte wrote:> > I'm trying to link sox to the ogg vorbis static libraries but I'm > getting the following error: > > gcc -L. -L./gsm -o sox sox.o -lst -lgsm -logg -lvorbis -lvorbisfile > -lvorbisenc -lmad -lmp3lame > ld: Undefined symbols:Could it be because of the dependency order? Some linkers care about that. try -lst -lgsm -lvorbisfile -lvorbisenc -lvorbis -logg -lmad -lmp3lame -r --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.