[Asterisk-Dev] Compilation problem

hulala at usa.com hulala at usa.com
Tue Jun 7 12:34:50 MST 2005


I am unable to compile asterisk/apps. There is probably some problem with Makefile and/or configuration. 

Bellow is attached part of compilation output.

Plese advice.

Thanks!
~jack

------

[root at web apps]# pwd
/usr/src/asterisk/apps

[root at web apps]# make
cc -D_GNU_SOURCE -fPIC   -c -o app_dial.o app_dial.c
cc  -o app_dial.so app_dial.o
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
app_dial.o(.text+0x34): In function `hanguptree':
app_dial.c: undefined reference to `ast_hangup'
app_dial.o(.text+0x96): In function `onedigit_goto':
app_dial.c: undefined reference to `ast_goto_if_exists'
app_dial.o(.text+0xbe):app_dial.c: undefined reference to `ast_goto_if_exists'
app_dial.o(.text+0xfe):app_dial.c: undefined reference to `ast_goto_if_exists'
app_dial.o(.text+0x1b6): In function `get_cid_name':
app_dial.c: undefined reference to `ast_get_hint'
app_dial.o(.text+0x261): In function `senddialevent':
app_dial.c: undefined reference to `manager_event'
app_dial.o(.text+0x31d): In function `wait_for_answer':
app_dial.c: undefined reference to `ast_deactivate_generator'
app_dial.o(.text+0x330):app_dial.c: undefined reference to `ast_channel_make_compatible'
app_dial.o(.text+0x3f5):app_dial.c: undefined reference to `option_verbose'



More information about the asterisk-dev mailing list