Lenny Tropiano / asterisk.org Mailing list
2003-Mar-25 10:44 UTC
[Asterisk-Users] Latest CVS causes compile time error
gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DASTERISK_VERSION=\"CVS-03/25/03-10:49:30\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -Wno-missing-prototypes -Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -o chan_zap.o chan_zap.c chan_zap.c: In function `zt_digit': chan_zap.c:677: warning: implicit declaration of function `pri_information' chan_zap.c:677: structure has no member named `pri' chan_zap.c:677: structure has no member named `call' chan_zap.c: In function `zt_call': chan_zap.c:1144: warning: unused variable `s' make[1]: *** [chan_zap.o] Error 1 Yes, I have the latest "zaptel" too. Any ideas?
cvs update in libpri then make clean && make && make install Then try it. On Tue, 2003-03-25 at 17:44, asterisk-users-admin@lists.digium.com wrote:> gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DASTERISK_VERSION=\"CVS-03/25/03-10:49:30\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -Wno-missing-prototypes -Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -o chan_zap.o chan_zap.c > chan_zap.c: In function `zt_digit': > chan_zap.c:677: warning: implicit declaration of function `pri_information' > chan_zap.c:677: structure has no member named `pri' > chan_zap.c:677: structure has no member named `call' > chan_zap.c: In function `zt_call': > chan_zap.c:1144: warning: unused variable `s' > make[1]: *** [chan_zap.o] Error 1 > > Yes, I have the latest "zaptel" too. Any ideas? > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
James Golovich
2003-Mar-25 11:03 UTC
[Asterisk-Users] Latest CVS causes compile time error
There was a change to libpri yesterday. You need to updated your libpri and recompile James On Tue, 25 Mar 2003, Lenny Tropiano / asterisk.org Mailing list wrote:> gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DASTERISK_VERSION=\"CVS-03/25/03-10:49:30\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -Wno-missing-prototypes -Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -o chan_zap.o chan_zap.c > chan_zap.c: In function `zt_digit': > chan_zap.c:677: warning: implicit declaration of function `pri_information' > chan_zap.c:677: structure has no member named `pri' > chan_zap.c:677: structure has no member named `call' > chan_zap.c: In function `zt_call': > chan_zap.c:1144: warning: unused variable `s' > make[1]: *** [chan_zap.o] Error 1 > > Yes, I have the latest "zaptel" too. Any ideas?
how about libpri ? On Tue, 25 Mar 2003, Lenny Tropiano / asterisk.org Mailing list wrote:> gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DASTERISK_VERSION=\"CVS-03/25/03-10:49:30\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -Wno-missing-prototypes -Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -o chan_zap.o chan_zap.c > chan_zap.c: In function `zt_digit': > chan_zap.c:677: warning: implicit declaration of function `pri_information' > chan_zap.c:677: structure has no member named `pri' > chan_zap.c:677: structure has no member named `call' > chan_zap.c: In function `zt_call': > chan_zap.c:1144: warning: unused variable `s' > make[1]: *** [chan_zap.o] Error 1 > > Yes, I have the latest "zaptel" too. Any ideas? > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Tilghman Lesher
2003-Mar-25 11:46 UTC
[Asterisk-Users] Latest CVS causes compile time error
On Tuesday 25 March 2003 11:58, David Stubbs wrote:> cvs update in libpri > then make clean && make && make installPet peeve: make can accept multiple targets on the command line. Hence, you can do the following and save the creation of two extra processes: make clean all install -Tilghman
Jeremy McNamara
2003-Mar-25 12:02 UTC
[Asterisk-Users] Latest CVS causes compile time error
Tilghman Lesher wrote:>make clean all install >simply a : make clean install works too Jeremy McNamara
Update your libpri On Tue, 25 Mar 2003, Lenny Tropiano / asterisk.org Mailing list wrote:> gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DASTERISK_VERSION=\"CVS-03/25/03-10:49:30\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -Wno-missing-prototypes -Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -o chan_zap.o chan_zap.c > chan_zap.c: In function `zt_digit': > chan_zap.c:677: warning: implicit declaration of function `pri_information' > chan_zap.c:677: structure has no member named `pri' > chan_zap.c:677: structure has no member named `call' > chan_zap.c: In function `zt_call': > chan_zap.c:1144: warning: unused variable `s' > make[1]: *** [chan_zap.o] Error 1 > > Yes, I have the latest "zaptel" too. Any ideas? > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >