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

suhaib obeidat ssobeidat at gmail.com
Tue Apr 3 23:16:52 PDT 2007


Hi All,

I am a Speex novice but trying to use Speex in my Doctoral thesis. I
installed Speex, was able to encode and decode files. Right now, I want to
write my own cpp program that handle Speex-files. I tried to compile and run
the two sample programs that come with the documentation (after having
insalled the speex-devel-1.0.5-1.i386.rpm). However, when I compile.

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.

Thanks a million
Suhaib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070403/9574b2de/attachment.html


More information about the Speex-dev mailing list