From giammarco.marzano at octotelematics.com Wed Jun 17 01:38:56 2009 From: giammarco.marzano at octotelematics.com (Giammarco Marzano) Date: Wed, 17 Jun 2009 10:38:56 +0200 Subject: [Moziax] network_client UBUNTU 64bit Message-ID: Hi guys, i'm trying to compile network_client on ubuntu 9.04 x86_64, but i got this error: avware at avware-desktop:~/workspace/moziax/moziax/src/iaxclient_network$ make #(pushd ../iaxclient-2.1beta3/lib; make libiaxclient.a; popd) gcc network_client.o gastman.o ../iaxclient-2.1beta3/lib/.libs/ libiaxclient.a -lpthread -lm -lspeex -lspeexdsp -lportaudio -o network_client ../iaxclient-2.1beta3/lib/.libs/libiaxclient.a(codec_gsm.o): In function `codec_audio_gsm_new': /home/avware/workspace/moziax/moziax/src/iaxclient-2.1beta3/lib/ codec_gsm.c:119: undefined reference to `gsm_create' /home/avware/workspace/moziax/moziax/src/iaxclient-2.1beta3/lib/ codec_gsm.c:120: undefined reference to `gsm_create' ../iaxclient-2.1beta3/lib/.libs/libiaxclient.a(codec_gsm.o): In function `destroy': /home/avware/workspace/moziax/moziax/src/iaxclient-2.1beta3/lib/ codec_gsm.c:30: undefined reference to `gsm_destroy' /home/avware/workspace/moziax/moziax/src/iaxclient-2.1beta3/lib/ codec_gsm.c:31: undefined reference to `gsm_destroy' ../iaxclient-2.1beta3/lib/.libs/libiaxclient.a(codec_gsm.o): In function `decode': /home/avware/workspace/moziax/moziax/src/iaxclient-2.1beta3/lib/ codec_gsm.c:53: undefined reference to `gsm_decode' ../iaxclient-2.1beta3/lib/.libs/libiaxclient.a(codec_gsm.o): In function `encode': /home/avware/workspace/moziax/moziax/src/iaxclient-2.1beta3/lib/ codec_gsm.c:80: undefined reference to `gsm_encode' collect2: ld returned 1 exit status make: *** [network_client] Errore 1 avware at avware-desktop:~/workspace/moziax/moziax/src/iaxclient_network$ anyone has compiled the NC in 64bit? Thanks! From jd.girard at sysnux.pf Wed Jun 17 11:15:35 2009 From: jd.girard at sysnux.pf (Jean-Denis Girard) Date: Wed, 17 Jun 2009 08:15:35 -1000 Subject: [Moziax] network_client UBUNTU 64bit In-Reply-To: References: Message-ID: <4A3932C7.7060605@sysnux.pf> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Giammarco Marzano a ?crit : | Hi guys, | | i'm trying to compile network_client on ubuntu 9.04 x86_64, but i got | this error: | | avware at avware-desktop:~/workspace/moziax/moziax/src/iaxclient_network$ make | undefined reference to `gsm_encode' | collect2: ld returned 1 exit status | make: *** [network_client] Errore 1 | avware at avware-desktop:~/workspace/moziax/moziax/src/iaxclient_network$ | | | anyone has compiled the NC in 64bit? I don't think the problem is related to 64 bits environment, but with the libiaxclient configuration. This is what I usually do: cd iaxclient-2.1beta3 ./configure --enable-video=no --enable-local-gsm --disable-shared cd lib make cd ../../iaxclient_network make And I do get a 64 bit executable: file network_client network_client: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), not stripped Thanks, - -- Jean-Denis Girard SysNux Syst?mes Linux en Polyn?sie fran?aise http://www.sysnux.pf/ T?l: +689 50 10 40 / GSM: +689 79 75 27 -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAko5MscACgkQuu7Rv+oOo/gyWQCfbN66VpDvAfLuwDkAxQ5llboT YZoAn0sGlJUnSWcEH9jT4nbE+ynbhXST =oeb6 -----END PGP SIGNATURE-----