Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050914/f0a58516/attachment.htm
What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <dsampson@innseason.com> wrote:> > Anyone know how to fix this? > > gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff > > In file included from app_rxfax.c:14: > > /usr/include/asterisk/lock.h: In function `ast_mutex_init': > > /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' > undeclared (first use in this function) > > /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is > reported only once > > /usr/include/asterisk/lock.h:302: error: for each function it appears in.) > > app_rxfax.c: In function `rxfax_exec': > > app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible > pointer type > > app_rxfax.c:264: error: structure has no member named `verbose' > > app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible > pointer type > > make[1]: *** [app_rxfax.so] Error 1 > > make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' > > make: *** [subdirs] Error 1 > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com<http://easynews.com/>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050914/97829b63/attachment.htm
I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of BJ Weschke Sent: Wednesday, September 14, 2005 2:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <dsampson@innseason.com> wrote: Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com <http://easynews.com/> -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050915/71f51600/attachment.htm
I've reduced my problem down to this: root@pemcomm:/usr/src/asterisk/asterisk-1.0.9/apps# make cc -D_GNU_SOURCE -o app_rxfax.so app_rxfax.c -lspandsp -ltiff app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make: *** [app_rxfax.so] Error 1 ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Sampson Sent: Thursday, September 15, 2005 12:17 PM To: bweschke@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of BJ Weschke Sent: Wednesday, September 14, 2005 2:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <dsampson@innseason.com> wrote: Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com <http://easynews.com/> -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050915/8d50767f/attachment.htm
On Thu, 2005-09-15 at 16:10 -0400, David Sampson wrote:> I?ve reduced my problem down to this: > > > > root@pemcomm:/usr/src/asterisk/asterisk-1.0.9/apps# makeAre you trying to use make from the apps directory? You have to run make from the main asterisk source directory. Look at the patch file necessary for the main Makefile. -- Dave Cotton <dcotton@linuxautrement.com>
If I understand correctly you are supposed to patch the Makefile in the apps directory and then run the main Makefile. I've tried both ways - the patch failed on the main Makefile. Should I try to make that work? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dave Cotton Sent: Friday, September 16, 2005 3:05 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem On Thu, 2005-09-15 at 16:10 -0400, David Sampson wrote:> I?ve reduced my problem down to this: > > > > root@pemcomm:/usr/src/asterisk/asterisk-1.0.9/apps# makeAre you trying to use make from the apps directory? You have to run make from the main asterisk source directory. Look at the patch file necessary for the main Makefile. -- Dave Cotton <dcotton@linuxautrement.com> _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
I had sone trouble with this also. But I got it. I used the latest SpanDSP 0.0.9pre1 I used the applications app)_txfax and app_rxfax from the previous release 0.0.2pre8 I have included my makefile and the two app fiels that complied on the Latest CVS (last night) on FC3. Apps/MakeFile # # Asterisk -- A telephony toolkit for Linux. # # Makefile for PBX applications # # Copyright (C) 1999-2005, Digium # # Mark Spencer <markster@digium.com> # # This program is free software, distributed under the terms of # the GNU General Public License # APPS=app_dial.so app_playback.so app_voicemail.so app_directory.so app_mp3.so\ app_system.so app_echo.so app_record.so app_image.so app_url.so app_disa.so \ app_adsiprog.so app_getcpeid.so app_milliwatt.so \ app_zapateller.so app_setcallerid.so app_festival.so \ app_queue.so app_senddtmf.so app_parkandannounce.so app_striplsd.so \ app_setcidname.so app_lookupcidname.so app_substring.so app_macro.so \ app_authenticate.so app_softhangup.so app_lookupblacklist.so \ app_waitforring.so app_privacy.so app_db.so app_chanisavail.so \ app_enumlookup.so app_transfer.so app_setcidnum.so app_cdr.so \ app_hasnewvoicemail.so app_sayunixtime.so app_cut.so app_read.so \ app_setcdruserfield.so app_random.so app_ices.so app_eval.so \ app_nbscat.so app_sendtext.so app_exec.so app_sms.so \ app_groupcount.so app_txtcidname.so app_controlplayback.so \ app_talkdetect.so app_alarmreceiver.so app_userevent.so app_verbose.so \ app_test.so app_forkcdr.so app_math.so app_realtime.so \ app_dumpchan.so app_waitforsilence.so app_while.so app_setrdnis.so \ app_md5.so app_readfile.so app_chanspy.so app_settransfercapability.so \ app_dictate.so app_externalivr.so app_directed_pickup.so app_rxfax.so app_txfax.so # # Obsolete things... # #APPS+=app_sql_postgres.so #APPS+=app_sql_odbc.so # # Experimental things # #APPS+=app_ivrdemo.so #APPS+=app_skel.so #APPS+=app_rpt.so ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h),) APPS+=app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so endif ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) APPS+=app_osplookup.so endif ifeq ($(findstring BSD,${OSARCH}),BSD) CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib endif CURLLIBS=$(shell $(CROSS_COMPILE_BIN)curl-config --libs) ifneq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),) ifneq (${CURLLIBS},) APPS+=app_curl.so endif endif CFLAGS+=-fPIC # # If you have UnixODBC you can use ODBC voicemail # storage # # Uncomment to use ODBC storage #CFLAGS+=-DUSE_ODBC_STORAGE # Uncomment for extended ODBC voicemail storage #CFLAGS+=-DEXTENDED_ODBC_STORAGE # See doc/README.odbcstorage for more information all: $(APPS) clean: rm -f *.so *.o look .depend %.so : %.o $(CC) $(SOLINK) -o $@ $< app_rpt.so : app_rpt.o $(CC) $(SOLINK) -o $@ $< -ltonezone install: all for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so app_curl.so: app_curl.o $(CC) $(SOLINK) -o $@ $< $(CURLLIBS) app_rxfax.so : app_rxfax.o $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff app_txfax.so : app_txfax.o $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff app_sql_postgres.o: app_sql_postgres.c $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c app_sql_postgres.so: app_sql_postgres.o $(CC) $(SOLINK) -o $@ $< -L/usr/local/pgsql/lib -lpq app_sql_odbc.so: app_sql_odbc.o $(CC) $(SOLINK) -o $@ $< -lodbc look: look.c $(CC) -pipe -O6 -g look.c -o look -lncurses ifeq (SunOS,$(shell uname)) app_chanspy.so: app_chanspy.o $(CC) $(SOLINK) -o $@ $< -lrt endif ifneq ($(wildcard .depend),) include .depend endif depend: .depend .depend: ../build_tools/mkdep $(CFLAGS) `ls *.c` env: env ____________________________________ rtxfax.c I had to delete a routine that checked for chan_callerid in an old release, And bingo it complied. I do not know if it is stable howeer I will test over the weekend... Alex> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > David Sampson > Sent: Friday, September 16, 2005 9:37 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem > > If I understand correctly you are supposed to patch the > Makefile in the apps directory and then run the main > Makefile. I've tried both ways - the patch failed on the > main Makefile. Should I try to make that work? > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Dave Cotton > Sent: Friday, September 16, 2005 3:05 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem > > On Thu, 2005-09-15 at 16:10 -0400, David Sampson wrote: > > I?ve reduced my problem down to this: > > > > > > > > root@pemcomm:/usr/src/asterisk/asterisk-1.0.9/apps# make > > Are you trying to use make from the apps directory? > > You have to run make from the main asterisk source directory. > > Look at the patch file necessary for the main Makefile. > > > -- > > Dave Cotton <dcotton@linuxautrement.com> > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Maybe I should ask this question that I know has been discussed to death. "stable" = 1.0 release "CVS HEAD' = 1.1 release Is this a correct statment ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Sampson Sent: Thursday, September 15, 2005 12:17 PM To: bweschke@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of BJ Weschke Sent: Wednesday, September 14, 2005 2:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <dsampson@innseason.com> wrote: Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com <http://easynews.com/> -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050916/207a3e96/attachment.htm
I have used the pre20 package, with the latest CVS-head. COmpile goes cleanly, NO ERRORS. then I get this when I try to load asterisk -cvvvvvvvvvvvvvv [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading module app_rxfax.so failed! No matter what I do it compiles clean but errors out with undefined symbol errors. Does anyone have a clue on this???? ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Sampson Sent: Thursday, September 15, 2005 12:17 PM To: bweschke@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of BJ Weschke Sent: Wednesday, September 14, 2005 2:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <dsampson@innseason.com> wrote: Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com <http://easynews.com/> -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050920/5b9932c9/attachment.htm
José Pablo Ezequiel Fernández
2005-Sep-20 11:17 UTC
[Asterisk-Users] RxFax/TxFax - Compile Problem
On Tuesday 20 September 2005 15:10, Alexander Lopez wrote:> I have used the pre20 package, with the latest CVS-head. COmpile goes > cleanly, NO ERRORS. > > then I get this when I try to load asterisk -cvvvvvvvvvvvvvv > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > symbol: fax_set_phase_d_handler > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading module > app_rxfax.so failed! > > No matter what I do it compiles clean but errors out with undefined > symbol errors. > > > Does anyone have a clue on this????I had this problem too but I can remember exactly what triggered it or how I solved, I can say that with CVS HEAD and spands 0.0.2pre20 and the tx/rxfax that goes with it, everything worked. What version of spandsp are you using ? Did you install more than one version ? how did you installed them ? What version of the apps are you using ? are you sure you patched the Makefile correctly (and you are not using an old version, that happened to me) ? I have documented what I did to get fax working on http://www.voip-info.org/tiki-index.php?page=app_rxfax%20and%20app_txfax and most of the pages in the "see also" section. Be sure to check the comments, since I posted some important info there. Hope it helps. -- Jos? Pablo Ezequiel Fern?ndez
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Jos? Pablo Ezequiel Fern?ndez > Sent: Tuesday, September 20, 2005 2:17 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem > > On Tuesday 20 September 2005 15:10, Alexander Lopez wrote: > > I have used the pre20 package, with the latest CVS-head. > COmpile goes > > cleanly, NO ERRORS. > > > > then I get this when I try to load asterisk -cvvvvvvvvvvvvvv > > > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > > symbol: fax_set_phase_d_handler > > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading > > module app_rxfax.so failed! > > > > No matter what I do it compiles clean but errors out with undefined > > symbol errors. > > > > > > Does anyone have a clue on this???? > > I had this problem too but I can remember exactly what > triggered it or how I solved, I can say that with CVS HEAD > and spands 0.0.2pre20 and the tx/rxfax that goes with it, > everything worked. > What version of spandsp are you using ? > Did you install more than one version ? how did you installed them ? > What version of the apps are you using ? are you sure you > patched the Makefile correctly (and you are not using an old > version, that happened to me) ? > I have documented what I did to get fax working on > http://www.voip-info.org/tiki-index.php?page=app_rxfax%20and%2 > 0app_txfax and most of the pages in the "see also" section. > Be sure to check the comments, since I posted some important > info there. > > Hope it helps. > > -- > Jos? Pablo Ezequiel Fern?ndez > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >THANK YOU!!!!! Your "Did you install more than one version ?" Question did the trick!!! I had originaly installed version 3 of spandsp and for som unknown reasone it still had a symbolic link to it. Removed everything in /usr/lib/spandsp* and /usr/include/libspan* recomliled and installed and it works!!!! Somethimes it the little things we forget that get us!!!
Try rm -rf /usr/include/spandsp* rm -rf /usr/lib/libspandsp* Then do a make install in the spandsp directory.. It may make you smile!!!!! It made me!! Alex> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Doug Lytle > Sent: Tuesday, September 20, 2005 2:30 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem > > Alexander Lopez wrote: > > > I have used the pre20 package, with the latest CVS-head. > COmpile goes > > cleanly, NO ERRORS. > > > > then I get this when I try to load asterisk -cvvvvvvvvvvvvvv > > > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > > symbol: fax_set_phase_d_handler > > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading > > module app_rxfax.so failed! > > No matter what I do it compiles clean but errors out with undefined > > symbol errors. > > > > > > Does anyone have a clue on this???? > > > > I'm having the same issues, so I've installed Asterisk on my > laptop, did a fresh compile of libtiff and spandsp pre2-20 > and started Asterisk. > > Asterisk app_txfax and app_rxfax compile without issues and > Asterisk starts without complaining > > I'm going to remove and re-compile spandsp and libtiff > tonight to see if it makes any difference with the effected > machine or not. > > Doug > > -- > > Ben Franklin quote: > > "Those who give up essential liberties for temporary safety > deserve neither liberty nor safety." > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >