[Asterisk-Users] RxFax/TxFax - Compile Problem

Alexander Lopez alex.lopez at opsys.com
Tue Sep 20 11:10:04 MST 2005


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 at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of David
Sampson
	Sent: Thursday, September 15, 2005 12:17 PM
	To: bweschke at 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 at lists.digium.com
[mailto:asterisk-users-bounces at 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 at 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 at 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


More information about the asterisk-users mailing list