Hello,

check your lines with #!ifdef ... or #!ifndef ... and be sure all of them have a corresponding #!endif

In the old versions there was an warning printed, with the new version, it was turned into error at startup because the config may end up behaving different than expected.

Cheers,
Daniel

On 07.08.20 13:54, sagar malam wrote:
Hello , 

I was using Kamailio 5.3.3 . After upgrading to 5.4.0 i am getting below error with same cfg file which worked well with 5.3.3. 
0(102523) ERROR: <core> [core/ppcfg.c:235]: pp_ifdef_level_error(): different number of preprocessor directives: 2 more #!if[n]def as #!endif

What does this mean? Any clue to solve this?


--
Thanks,

Sagar

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla