[Asterisk-Dev] Asterisk Addons - H323 Module
Steven Critchfield
critch at basesys.com
Fri Aug 12 11:56:09 MST 2005
On Fri, 2005-08-12 at 14:48 -0400, Brian C. Fertig wrote:
> Well I had tried that. This is what I get.
>
>
> [root at pt-aus-gw1 src]# gcc -fPIC chan_h323.lo ooh323cDriver.lo
> -L/usr/src/asterisk-addons/asterisk-ooh323c/ooh323c/src -lpthread
> -looh323c -Wl,-soname -Wl,libchan_h323.so.1 -o
> .libs/libchan_h323.so.1.0.1
> /usr/lib/gcc/x86_64-redhat-linux/3.4.2/../../../../lib64/crt1.o(.text+0x
> 21): In function `_start':
> : undefined reference to `main'
> chan_h323.lo(.text+0x54): In function `h323_new':
> : undefined reference to `ast_log'
> chan_h323.lo(.text+0x67): In function `h323_new':
> : undefined reference to `ast_channel_alloc'
> chan_h323.lo(.text+0xec): In function `h323_new':
> : undefined reference to `ast_best_codec'
> chan_h323.lo(.text+0x10f): In function `h323_new':
> : undefined reference to `ast_rtp_fd'
Well, those look like a simple missing .h file, why don't you grep
the .h files for the functions you need and make sure they are included.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-dev
mailing list