[asterisk-dev] error in build on latest trunk

Julian Lyndon-Smith asterisk at dotr.com
Sun Sep 17 10:35:20 MST 2006


make distclean sorted this out. thanks.

Julian.

Jason Parker wrote:
> Sorry, this was my "fault".
> 
> make distclean will solve these types of "problems" :)  That will remove the files that configure generates, so configure will be forced to run in the menuselect dir.
> 
> ----- Paul Cadach <paul at odt.east.telecom.kz> wrote:
>> Hi,
>>
>> Do
>> cd menuselect
>> ./configure
>>
>> or just run menuselect/configure
>>
>> WBR,
>> Paul.
>>
>> ----- Original Message ----- 
>> From: "Julian Lyndon-Smith" <asterisk at dotr.com>
>> To: "Asterisk Developers Mailing List"
>> <asterisk-dev at lists.digium.com>
>> Sent: Sunday, September 17, 2006 4:07 PM
>> Subject: Re: [asterisk-dev] error in build on latest trunk
>>
>>
>>> I did - make clean;make update;./configure;make menuselect
>>>
>>> Paul Cadach wrote:
>>>> Hi,
>>>>
>>>> Do menuselect/configure too.
>>>>
>>>>
>>>> WBR,
>>>> Paul.
>>>>
>>>> ----- Original Message ----- 
>>>> From: "Julian Lyndon-Smith" <asterisk at dotr.com>
>>>> To: "Asterisk Developers Mailing List"
>> <asterisk-dev at lists.digium.com>
>>>> Sent: Sunday, September 17, 2006 1:49 PM
>>>> Subject: [asterisk-dev] error in build on latest trunk
>>>>
>>>>
>>>>> 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]#
>>>>>
>>>>> _______________________________________________
>>>>> --Bandwidth and Colocation provided by Easynews.com --
>>>>>
>>>>> asterisk-dev mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>>>>
>>>> _______________________________________________
>>>> --Bandwidth and Colocation provided by Easynews.com --
>>>>
>>>> asterisk-dev mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>>>
>>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> asterisk-dev mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> 



More information about the asterisk-dev mailing list