Having a terrible time trying to compile Asterisk 1.2.10 in Red Hat Enterprise version 5. Getting the below error. Anyone have any suggestions ?
chan_phone.c:41:29: error: linux/compiler.h: No such file or directory
make[1]: *** [chan_phone.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/asterisk-1.2.10/channels’
make: *** [subdirs] Error 1