[Asterisk-Dev] Compilation problem

Jeffrey C. Ollie jeff at ocjtech.us
Tue Jun 7 12:55:38 MST 2005


Make should only be run in the top level directory.  The top level
Makefile sets up a number of variables that are needed for to properly
compile the source.

Jeff

On Tue, 2005-06-07 at 11:40 -0800, Mojo with Horan & Company, LLC wrote:
> 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
> > 
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050607/f8b67af2/attachment.pgp


More information about the asterisk-dev mailing list