Thanks Jean,<br><br>Actually, when I said not for fun, I only wanted to emphasize it's not something on the side. Forgive my ignorance, but how do I link to the library ?<br><br>Yeah, I am not great in Linux either :(<br>
<br>Thanks for your help<br>Suhaib<br><br><br><div><span class="gmail_quote">On 4/4/07, <b class="gmail_sendername">Jean-Marc Valin</b> <<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Re: [Speex-dev] Please help, very important (not for fun)<br><br>I usually only help people who have fun doing what they're doing, but
<br>I'll try and make an exception here...<br><br>suhaib obeidat a écrit :<br>> gcc sampleenc.cc<br>><br>> Here is what I get:<br>><br>> /tmp/ccXKa3LF.o: In function `main':<br>> sampleenc.cc:(.text+0x1a): undefined reference to `speex_nb_mode'
<br>> sampleenc.cc:(.text+0x1f): undefined reference to `speex_encoder_init'<br>> sampleenc.cc:(.text+0x43): undefined reference to `speex_encoder_ctl'<br>> sampleenc.cc:(.text+0x6f): undefined reference to `speex_bits_init'
<br>> sampleenc.cc:(.text+0xea): undefined reference to `speex_bits_reset'<br>> sampleenc.cc:(.text+0x106): undefined reference to `speex_encode'<br>> sampleenc.cc:(.text+0x123): undefined reference to `speex_bits_write'
<br>> sampleenc.cc:(.text+0x181): undefined reference to `speex_encoder_destroy'<br>> sampleenc.cc:(.text+0x18c): undefined reference to `speex_bits_destroy'<br>> /tmp/ccXKa3LF.o:(.eh_frame+0x11): undefined reference to
<br>> `__gxx_personality_v0'<br>> collect2: ld returned 1 exit status<br>><br>><br>> Can anyone help me through the process, I am really lost.<br><br>Euh, have you ever considered actually linking with the library?
<br><br> Jean-Marc<br><br>P.S. Although that has nothing to do with your problem, 1.2beta1 is<br>generally better than version 1.0.5.<br></blockquote></div><br>