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

Răzvan Crainea razvan at opensips.org
Tue Feb 7 05:09:44 EST 2017


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
>




More information about the Devel mailing list