RE: [Asterisk-Users] spandsp wont compile.

2004-05-31 Thread Sam Bingner
You shouldn't put /usr/include in ld.so.conf, needing to do so means you
have something installed wrong... And I've never heard of anything getting
installed that wrong ;)

Sam

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
Sent: Sunday, May 30, 2004 1:59 AM
To: [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] spandsp wont compile.


Yes, success! I deleted the tiff libs I had and installed ver 3.6.0 and
was able to compile and load the application modules. Now I just have to
do some tweaking and t-shootin' in ext.conf. Thanks and a Shout Out to all
for their advice and help. Couldn't have done it w/out you. I also had to
put /usr/include in ld.so.conf. Hope this helps others.


On Sat, 2004-05-29 at 18:09, Mark Musone wrote:
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
> Sent: Saturday, May 29, 2004 6:09 AM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Vlok
> > Stone
> > Sent: Friday, May 28, 2004 1:14 PM
> > To: [EMAIL PROTECTED]
> > 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 [EMAIL PROTECTED]
> > > 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
> > [EMAIL PROTECTED]
> > 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
> > [EMAIL PROTECTED]
> > 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
> [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


smime.p7s
Description: S/MIME cryptographic signature


RE: [Asterisk-Users] spandsp wont compile.

2004-05-30 Thread Vlok Stone
Yes, success! I deleted the tiff libs I had and installed ver 3.6.0 and
was able to compile and load the application modules. Now I just have to
do some tweaking and t-shootin' in ext.conf. Thanks and a Shout Out to
all for their advice and help. Couldn't have done it w/out you. I also
had to put /usr/include in ld.so.conf. Hope this helps others. 

 
On Sat, 2004-05-29 at 18:09, Mark Musone wrote:
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
> Sent: Saturday, May 29, 2004 6:09 AM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Vlok Stone
> > Sent: Friday, May 28, 2004 1:14 PM
> > To: [EMAIL PROTECTED]
> > 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
> > > [EMAIL PROTECTED]
> > > 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
> > [EMAIL PROTECTED]
> > 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
> > [EMAIL PROTECTED]
> > 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
> [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] spandsp wont compile.

2004-05-29 Thread Mark Musone
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
Sent: Saturday, May 29, 2004 6:09 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Vlok Stone
> Sent: Friday, May 28, 2004 1:14 PM
> To: [EMAIL PROTECTED]
> 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
> > [EMAIL PROTECTED]
> > 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
> [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] spandsp wont compile.

2004-05-29 Thread Vlok Stone
/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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Vlok Stone
> Sent: Friday, May 28, 2004 1:14 PM
> To: [EMAIL PROTECTED]
> 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
> > [EMAIL PROTECTED]
> > 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
> [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] spandsp wont compile.

2004-05-29 Thread Vlok Stone
I got it to load BUT now i get when i try to load the module.

localhost*CLI> load app_rxfax.so
localhost*CLI> May 29 09:51:38 WARNING[1199209392]: loader.c:240
ast_load_resource: /usr/local/lib/libspandsp.so.0: undefined symbol:
TIFFDefaultStripSize
Unable 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


On Fri, 2004-05-28 at 22:04, Mark Musone wrote:
> Make sure that /usr/local/lib is in your /etc/ld.so.conf
> After you do a make install of spandsp.
> Also make sure you run "ldconfig" to update the librarys
> 
> -Mark
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
> Sent: Friday, May 28, 2004 1:14 PM
> To: [EMAIL PROTECTED]
> 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
> > [EMAIL PROTECTED]
> > 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
> [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] spandsp wont compile.

2004-05-29 Thread Wojciech Tryc
then run ldconfig or restart your machine...:)
W>
- Original Message - 
From: "Sam Bingner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 29, 2004 12:26 AM
Subject: RE: [Asterisk-Users] spandsp wont compile.


> Add the path to it to /etc/ld.so.conf
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
> Sent: Friday, May 28, 2004 7:14 AM
> To: [EMAIL PROTECTED]
> 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
> > [EMAIL PROTECTED] 
> > 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] spandsp wont compile.

2004-05-28 Thread Sam Bingner
Add the path to it to /etc/ld.so.conf

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
Sent: Friday, May 28, 2004 7:14 AM
To: [EMAIL PROTECTED]
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
> [EMAIL PROTECTED] 
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


smime.p7s
Description: S/MIME cryptographic signature


RE: [Asterisk-Users] spandsp wont compile.

2004-05-28 Thread Todd Lieberman
add /usr/local/lib to your /etc/ld.so.conf

Then run ldconfig



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vlok Stone
Sent: Friday, May 28, 2004 1:14 PM
To: [EMAIL PROTECTED]
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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] spandsp wont compile.

2004-05-28 Thread Mark Musone
Make sure that /usr/local/lib is in your /etc/ld.so.conf
After you do a make install of spandsp.
Also make sure you run "ldconfig" to update the librarys

-Mark


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlok Stone
Sent: Friday, May 28, 2004 1:14 PM
To: [EMAIL PROTECTED]
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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] spandsp wont compile.

2004-05-28 Thread Vlok Stone
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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] spandsp wont compile.

2004-05-28 Thread Terry Goodwin


Checkout the "spandsp hylafax asterisk and confusion" thread.  Everything you need to get spandsp working is there.  In the mean time I am going to write up a doc on everything I did to get mine working so that I never forget.  I will pass it along when Im done.
 
 
Terry>>> [EMAIL PROTECTED] 5/28/2004 8:27:48 AM >>>
I can't get spandsp to compile. when I go to the */apps directory icontinually 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.capp_rxfax.c:45: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP'undeclared here (not in a function)make: *** [app_rxfax.o] Error 1I 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.cany ideas? thanks in advance. ___Asterisk-Users mailing list[EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users