[Asterisk-Users] Slackware 10.0/Asterisk 1.0 compile error

Juergen K. Zick syscon-lists at ifa.uni-kassel.de
Tue Oct 12 10:43:34 MST 2004


Hi Folks,

I just try to get * 1.0.0 compiled on a SLACKWARE 10.0 box. * 0.9.1 did 
compile and work without any problems. But now, I run into an compile error 
which I just can't get resolved.

ZAPTEL compiles OK, LIBPRI complies OK, but then during compilation of 
ASTERISK:

.
.
.

gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
-D_GNU_SOURCE  -O6 
-march=i686   -DZAPTEL_OPTIMIZATIONS 
-DASTERISK_VERSION=\"CVS-08/28/04-01:00:54\" -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        -c 
-o acl.o acl.c
acl.c: In function `ast_apply_ha':
acl.c:178: warning: implicit declaration of function `ast_inet_ntoa'
acl.c:179: warning: format argument is not a pointer (arg 6)
acl.c:179: warning: format argument is not a pointer (arg 7)
acl.c: In function `ast_get_ip':
acl.c:192: error: storage size of `ahp' isn't known
acl.c:193: warning: implicit declaration of function `ast_gethostbyname'
acl.c:193: warning: assignment makes pointer from integer without a cast
acl.c:192: warning: unused variable `ahp'
make: *** [acl.o] Error 1

.
.
.

Well, I checked for the files, they are complete and the function in * 
0.9.1 is the same. I really haven't got a clue where to look/what to change 
... and googling did not give any hint either :-( ...

Thanks for your help,

Juergen






More information about the asterisk-users mailing list