> [root at asterisk asterisk-0.7.2]# gcc -c asterisk.c You should use the "make" command to compile Asterisk. Lot's of defines and other compiler command-line-switches are missing.