[Speex-dev] Please help, very important (not for fun)

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Apr 4 02:04:05 PDT 2007


> Re: [Speex-dev] Please help, very important (not for fun)

I usually only help people who have fun doing what they're doing, but
I'll try and make an exception here...

suhaib obeidat a écrit :
> gcc sampleenc.cc
> 
> Here is what I get:
> 
> /tmp/ccXKa3LF.o: In function `main':
> sampleenc.cc:(.text+0x1a): undefined reference to `speex_nb_mode'
> sampleenc.cc:(.text+0x1f): undefined reference to `speex_encoder_init'
> sampleenc.cc:(.text+0x43): undefined reference to `speex_encoder_ctl'
> sampleenc.cc:(.text+0x6f): undefined reference to `speex_bits_init'
> sampleenc.cc:(.text+0xea): undefined reference to `speex_bits_reset'
> sampleenc.cc:(.text+0x106): undefined reference to `speex_encode'
> sampleenc.cc:(.text+0x123): undefined reference to `speex_bits_write'
> sampleenc.cc:(.text+0x181): undefined reference to `speex_encoder_destroy'
> sampleenc.cc:(.text+0x18c): undefined reference to `speex_bits_destroy'
> /tmp/ccXKa3LF.o:(.eh_frame+0x11): undefined reference to
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> 
> 
> Can anyone help me through the process, I am really lost.

Euh, have you ever considered actually linking with the library?

	Jean-Marc

P.S. Although that has nothing to do with your problem, 1.2beta1 is
generally better than version 1.0.5.


More information about the Speex-dev mailing list