Hi All,<br><br>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.<br><br>gcc sampleenc.cc <br><br>Here is what I get:<br><br>/tmp/ccXKa3LF.o: In function `main&#39;:<br>sampleenc.cc:(.text+0x1a): undefined reference to `speex_nb_mode&#39;
<br>sampleenc.cc:(.text+0x1f): undefined reference to `speex_encoder_init&#39;<br>sampleenc.cc:(.text+0x43): undefined reference to `speex_encoder_ctl&#39;<br>sampleenc.cc:(.text+0x6f): undefined reference to `speex_bits_init&#39;
<br>sampleenc.cc:(.text+0xea): undefined reference to `speex_bits_reset&#39;<br>sampleenc.cc:(.text+0x106): undefined reference to `speex_encode&#39;<br>sampleenc.cc:(.text+0x123): undefined reference to `speex_bits_write&#39;
<br>sampleenc.cc:(.text+0x181): undefined reference to `speex_encoder_destroy&#39;<br>sampleenc.cc:(.text+0x18c): undefined reference to `speex_bits_destroy&#39;<br>/tmp/ccXKa3LF.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0&#39;
<br>collect2: ld returned 1 exit status<br><br><br>Can anyone help me through the process, I am really lost.<br><br>Thanks a million<br>Suhaib<br>