[Asterisk-Dev] Compilation problem
Mojo with Horan & Company, LLC
mojo at horanappraisals.com
Tue Jun 7 12:40:29 MST 2005
mebbe not too silly of a question: does make run successfully when
started from /usr/src/asterisk ? 'cause I can't run make in the apps
subdirectory either; it prolly depends on the main Makefile in
/usr/src/asterisk
Mojo
hulala @ usa.com wrote:
> 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'
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list