[OpenSIPS-Devel] opensips (master) fails to compile

Ovidiu Sas osas at voipembedded.com
Tue Feb 7 09:07:48 EST 2017


In the end it was a Makefile.conf issue: missing DPKG_MALLOC option.
Thanks for your help in troubleshooting this!

-ovidiu

On Tue, Feb 7, 2017 at 5:09 AM, Răzvan Crainea <razvan at opensips.org> wrote:
> Hi, Ovidiu!
>
> Can you please compile with the CC_EXTRA_OPTS=-E flags:
>
> $ CC_EXTRA_OPTS=-E make
> Compiling cfg.tab.c
> Linking opensips
> cfg.tab.o: file not recognized: File format not recognized
> collect2: error: ld returned 1 exit status
>
> It won't be able to generate the binary, because will stop each object file
> after the preprocessing step. Therefore you will be able to get a readable
> cfg.tab.o. Can you post its content on pastebin?
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutions
> www.opensips-solutions.com
>
> On 02/07/2017 06:57 AM, Ovidiu Sas wrote:
>>
>> Compiling cfg.tab.c
>> cfg.y: In function ‘yyparse’:
>> cfg.y:775:4: error: ‘event_pkg_threshold’ undeclared (first use in
>> this function)
>>      event_pkg_threshold=$3;
>>      ^
>> cfg.y:775:4: note: each undeclared identifier is reported only once
>> for each function it appears in
>> make: *** [cfg.tab.o] Error 1
>>
>>
>> -ovidiu
>>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Devel mailing list