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
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