[asterisk-dev] error in build on latest trunk

Julian Lyndon-Smith asterisk at dotr.com
Sun Sep 17 00:49:50 MST 2006


Looks like something broke:

just checked out latest trunk,

make clean
./configure
make menuselect

[root at foxtrot asterisk]# make menuselect
make[1]: Entering directory `/usr/src/asterisk/menuselect'
make[2]: Entering directory `/usr/src/asterisk/menuselect'
gcc -Wall  -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
gcc -Wall  -o menuselect_curses.o -g -c -D_GNU_SOURCE  menuselect_curses.c
gcc -Wall  -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c
strcompat.c: In function `vasprintf':
strcompat.c:159: warning: implicit declaration of function `va_copy'
strcompat.c:161: warning: implicit declaration of function `va_end'
strcompat.c: In function `asprintf':
strcompat.c:197: warning: implicit declaration of function `va_start'
strcompat.c: At top level:
strcompat.c:221: error: syntax error before "strtoq"
strcompat.c:222: warning: return type defaults to `int'
strcompat.c:222: error: conflicting types for 'strtoq'
/usr/include/stdlib.h:197: error: previous declaration of 'strtoq' was here
strcompat.c:222: error: conflicting types for 'strtoq'
/usr/include/stdlib.h:197: error: previous declaration of 'strtoq' was here
strcompat.c: In function `strtoq':
strcompat.c:224: error: `uint64_t' undeclared (first use in this function)
strcompat.c:224: error: (Each undeclared identifier is reported only once
strcompat.c:224: error: for each function it appears in.)
strcompat.c:224: error: syntax error before "acc"
strcompat.c:226: error: syntax error before "qbase"
strcompat.c:273: error: `qbase' undeclared (first use in this function)
strcompat.c:274: error: `cutoff' undeclared (first use in this function)
strcompat.c:274: warning: integer constant is too large for "long" type
strcompat.c:274: warning: integer constant is too large for "long" type
strcompat.c:274: warning: integer constant is too large for "long" type
strcompat.c:274: warning: integer constant is too large for "long" type
strcompat.c:277: error: `acc' undeclared (first use in this function)
strcompat.c:277: warning: left-hand operand of comma expression has no 
effect
strcompat.c:297: warning: integer constant is too large for "long" type
strcompat.c:297: warning: integer constant is too large for "long" type
strcompat.c:277: warning: value computed is not used
make[2]: *** [strcompat.o] Error 1
make[2]: Leaving directory `/usr/src/asterisk/menuselect'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/asterisk/menuselect'
make: *** [menuselect/menuselect] Error 2
[root at foxtrot asterisk]#



More information about the asterisk-dev mailing list