[Asterisk-bsd] sipgetheader and asterisk
Frank Glerkin
fglerk at hotmail.com
Thu Dec 16 10:22:47 CST 2004
Hi,
Well, first I got no ./mkdep found, so I edited the Makefile to point that
to /usr/bin/mkdep, but then I got these errors:
mkdep -Wall -Wstrict-promkdep -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-march=i386 -I/include -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-HEAD-12/16/04-08:00:08\"
-DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/lib/asterisk\"
-DASTVARLIBDIR=\"/share/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/lib/asterisk/modules\"
-DASTAGIDIR=\"/share/asterisk/agi-bin\" -DBUSYDETECT_MARTIN `ls
*.c`
channel.c:46:20: zaptel.h: No such file or directory
channel.c:49:2: #error "You need newer zaptel! Please cvs update zaptel"
cli.c:35:19: build.h: No such file or directory
dlfcn.c:40:25: mach-o/dyld.h: No such file or directory
dlfcn.c:41:26: mach-o/nlist.h: No such file or directory
dlfcn.c:42:28: mach-o/getsect.h: No such file or directory
muted.c:13:29: linux/soundcard.h: No such file or directory
something about missing header files.... now I can go and check these off
one
by one, but is there an easy way such that I wouldn't have to locate these
files and
find out what's to do? I tried doing that at first, (commenting out zaptel.h
in the Makefile) but then things just started chaining complaining about
other headers missing.
Thanks for responding,
Frank
>From: "Olle E. Johansson" <oej at edvina.net>
>Reply-To: Asterisk on BSD discussion <asterisk-bsd at lists.digium.com>
>To: Asterisk on BSD discussion <asterisk-bsd at lists.digium.com>
>Subject: Re: [Asterisk-bsd] sipgetheader and asterisk
>Date: Thu, 16 Dec 2004 16:27:54 +0100
>
>Frank Glerkin wrote:
>>Hi,
>>
>>I found the patch for the sipgetheader application and tried to install
>>it.
>>Unfortunately, I get this compile error
>>
>>chan_sip.c: In function `handle_response':
>>chan_sip.c:6860: warning: too many arguments for format
>>chan_sip.c: In function `sip_getheader':
>>chan_sip.c:9016: error: structure has no member named `cid'
>>gmake[1]: *** [chan_sip.o] Error 1
>>gmake[1]: Leaving directory
>>`/usr/ports/net/asterisk/work/asterisk-1.0.1/channels'
>>gmake: *** [subdirs] Error 1
>>
>>Has anyone seen this? How do I fix this? Also, I heard that this might
>>have been integrated
>>into asterisk CVS, so I wouldn't need a patch if I can get that to
>>compile.
>It is integrated, so you do not need it.
>
>>How would I
>>compile asterisk CVS with FreeBSD?
>>
>Run "gmake" - what happens?
>
>There was some problems introduced recently with the Solaris patch that I
>am hoping someone will solve...
>
>/O
>_______________________________________________
>Asterisk-BSD mailing list
>Asterisk-BSD at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-bsd
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
More information about the Asterisk-BSD
mailing list