[Asterisk-Users] spandsp wont compile.

Mark Musone mmusone at shatterit.com
Sat May 29 11:09:44 MST 2004


Your most likely compiling against one tiff library version, but loading
up another...

Do a:

> ldd app_rxfax.so

to see what tiff library it's compiled against,
and then also try to find all the places where libtiff is on your
machine and remove the incorrect one..

-Mark


-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Vlok Stone
Sent: Saturday, May 29, 2004 6:09 AM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] spandsp wont compile.

/etc/ld.so.conf 

/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/local/libUnable to load module app_rxfax.so
May 29 09:51:38 WARNING[1199209392]: loader.c:240 ast_load_resource:
/usr/local/lib/libspandsp.so.0: undefined symbol: TIFFDefaultStripSize

/usr/local/lib/libtiff
/usr/lib/asterisk/modules

the mods compiled BUT now won't load. 

On Fri, 2004-05-28 at 23:25, Todd Lieberman wrote:
> add /usr/local/lib to your /etc/ld.so.conf
> 
> Then run ldconfig
> 
> 
> 
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Vlok Stone
> Sent: Friday, May 28, 2004 1:14 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] spandsp wont compile.
> 
> 
> got it to load but now it errors when starting asterisk. complains of
no
> libspandsp.so.0 and its there. this fax thing is kickin my friggin
fax!!
> 
> On Fri, 2004-05-28 at 13:27, Vlok Stone wrote:
> > I can't get spandsp to compile. when I go to the */apps directory i
> > continually fails.
> > Makefile:80: warning: overriding commands for target `app_rxfax.so'
> > Makefile:77: warning: ignoring old commands for target
`app_rxfax.so'
> > cc -fPIC   -c -o app_rxfax.o app_rxfax.c
> > app_rxfax.c:45: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP'
> > undeclared here (not in a function)
> > make: *** [app_rxfax.o] Error 1
> >
> > I chamged the Makefile to include
> > app_rxfax.so : app_rxfax.o
> >         $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
> >
> > app_rxfax.so : app_rxfax.c
> >         gcc  -D_GNU_SOURCE  -O2 -g  -Iinclude  -l../include -c -o
> > app_rxfax.           o app_rxfax.c
> >
> > app_txfax.so : app_txfax.o
> >         $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
> >
> > app_txfax.o: app_txfax.c
> >         gcc -D_GNU_SOURCE -O2 -g  -Iinclude -l../include -c -o
> > app_txfax.o app_txfax.c
> >
> >
> > any ideas?
> > thanks in advance.
> >
> >
> >
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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
> 
> _______________________________________________
> 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

_______________________________________________
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




More information about the asterisk-users mailing list