[Asterisk-Users] CVS Compile problem on Solaris

Adam Goryachev mailinglists at websitemanagers.com.au
Thu Jan 6 17:25:08 MST 2005


I didn't see any other replies yet, so here is one that might help...

On Wed, 2005-01-05 at 17:28 -0800, Max Klein wrote:
> Hello all,
> 
> After reading through the Wiki and archives, I decided to take a stab at
> installing * on Solaris 9 SPARC. I checked it out via CVS last night as
> well as about an hour ago, and have run into a compile problem that I
> can't quite figure out.
> 
> ...
> make[1]: Entering directory `/ext2/asterisk/utils'
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g  -Iinclude -I../include
> -Iinclude/solaris-compat -I/usr/local/ssl/include -D_REENTRANT
> -D_GNU_SOURCE  -O6    -Wcast-align -DSOLARIS   -DASTERISK_VERSION=
> \"CVS-HEAD-01/05/05-16:40:01\" -DASTERISK_VERSION_NUM=999999
> -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\"     -DBUSYDETECT_MARTIN
> -DNO_AST_MM   -c -o smsq.o smsq.c
> smsq.c: In function `txqcheck':
> smsq.c:103: warning: int format, pid_t arg (arg 4)
> smsq.c: In function `rxqcheck':
> smsq.c:173: warning: int format, pid_t arg (arg 4)
> smsq.c:197: warning: implicit declaration of function `unsetenv'
> smsq.c:215: warning: implicit declaration of function `setenv'
> smsq.c: In function `main':
> smsq.c:650: warning: int format, pid_t arg (arg 4)
> smsq.c:653: warning: int format, pid_t arg (arg 7)
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g  -Iinclude -I../include
> -Iinclude/solaris-compat -I/usr/local/ssl/include -D_REENTRANT
> -D_GNU_SOURCE  -O6    -Wcast-align -DSOLARIS   -DASTERISK_VERSION=
> \"CVS-HEAD-01/05/05-16:40:01\" -DASTERISK_VERSION_NUM=999999
> -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\"     -DBUSYDETECT_MARTIN
> -DNO_AST_MM -o smsq smsq.o -lpopt
> Undefined			first referenced
>  symbol  			    in file
> unsetenv                            smsq.o
> setenv                              smsq.o
> ld: fatal: Symbol referencing errors. No output written to smsq
> collect2: ld returned 1 exit status
> make[1]: *** [smsq] Error 1
> make[1]: Leaving directory `/ext2/asterisk/utils'
> make: *** [subdirs] Error 1

Try removing smsq from the makefile, perhaps you aren't going to need it
anyway. At least it should get you closer to getting asterisk up and
running.... Once you get there, then come back to try and resolve this
compile issue (probably open a bug on bugs.digium.com)...

Regards,
Adam
-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 8304 0000                        adam at websitemanagers.com.au
Fax: +61 2 9345 4396                        www.websitemanagers.com.au




More information about the asterisk-users mailing list