Bro Installation Problem - Python/GCC‏

I've installed Bro 1.5.1 on a Ubuntu 9.04 machine and its working fine
however when I try to install the same version on RHEL 5 machine I'm
getting errors during compile. More specifically, it gives gcc errors
for broccoli_intern_wrap.c file. I have python/gcc etc on that machine
and I'm using shipped version of pcap [that is the only big difference
between two machines apart from OS I think]. Below is the output of make