Hi,
I tried to compile Kamailio on Freescale P2020RDB-PCA.And I'm getting the following error
bison -d -b cfg cfg.y make: *** [cfg.tab.h] Broken Pipe
Please give recommendations to solve the error.
Thanks
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-on-P2020RDB-PCA-tp128073.ht... Sent from the Users mailing list archive at Nabble.com.
You're probably running out of memory when the bison process is running.
You could try running that command without running 'make'. Just 'bison -d -b cfg cfg.y'.
If this a memory issue, you could allocate a swap file for your build process (if this is Linux) such as: dd if=/dev/null of=swapfile.1 bs=1048576 count=100 ; mkswap ./swapfile.1 ; swapon ./swapfile.1 and then try your rebuild.
On Thu, May 29, 2014 at 4:46 AM, ashwin ec.rakumar@tatapowersed.com wrote:
Hi,
I tried to compile Kamailio on Freescale P2020RDB-PCA.And I'm getting the following error
bison -d -b cfg cfg.y make: *** [cfg.tab.h] Broken Pipe
Please give recommendations to solve the error.
Thanks
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-on-P2020RDB-PCA-tp128073.ht... Sent from the Users mailing list archive at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
I tried running that command without running 'make'. Just 'bison -d -b cfg cfg.y'. That time its working ,And after that l made a swap file as mentioned according to the instructions.
Checked the Memory also ,And found swap memory was created
root@p2020rdb:/home/kamailio# free -m total used free shared buffers cached Mem: 1008 364 643 0 113 206 -/+ buffers/cache: 44 963 Swap: 99 0 99
And after that again tried to compile,Still getting the same error.Will be grateful if advice can be provided for this particular Error.
Thanks
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-on-P2020RDB-PCA-tp128073p12... Sent from the Users mailing list archive at Nabble.com.