Posted: Thu Dec 16, 2004 7:21 am Post subject: [Asterisk-bsd] sipgetheader and asterisk
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.
How would I
compile asterisk CVS with FreeBSD?
Posted: Thu Dec 16, 2004 7:27 am Post subject: [Asterisk-bsd] sipgetheader and asterisk
Frank Glerkin wrote:
Quote:
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.
Quote:
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...
Posted: Thu Dec 16, 2004 8:23 am Post subject: [Asterisk-bsd] sipgetheader and asterisk
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
Quote:
From: "Olle E. Johansson" <oej@edvina.net>
Reply-To: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>
To: Asterisk on BSD discussion <asterisk-bsd@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...
Posted: Thu Dec 16, 2004 11:08 am Post subject: [Asterisk-bsd] sipgetheader and asterisk
This is due to the mkdep script which is in the asterisk directory being
changed recently. Just change
#!/bin/bash
to
#!/bin/sh
in the mkdep script. I've submitted a bug note about this.
Chris
----- Original Message -----
From: "Frank Glerkin" <fglerk@hotmail.com>
To: <asterisk-bsd@lists.digium.com>
Sent: Thursday, December 16, 2004 4:22 PM
Subject: Re: [Asterisk-bsd] sipgetheader and asterisk
Quote:
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@edvina.net>
>Reply-To: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>
>To: Asterisk on BSD discussion <asterisk-bsd@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@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-bsd
Posted: Thu Dec 16, 2004 12:01 pm Post subject: [Asterisk-bsd] sipgetheader and asterisk
I'm just in the process of falling out with mark over this. On FreeBSD its
put in
/usr/local/bin. I understand this change was make for Solaris but I just got
a one liner from Mark saying it has to be bash and that its not a bug and
reduced my karma.
See bug report 0003050 if my karma goes down again then ... no more help
or bug fixes from me.
Chris
----- Original Message -----
From: "Olle E. Johansson" <oej@edvina.net>
To: "Asterisk on BSD discussion" <asterisk-bsd@lists.digium.com>
Sent: Thursday, December 16, 2004 7:25 PM
Subject: Re: [Asterisk-bsd] sipgetheader and asterisk
Quote:
Chris Stenton wrote:
> This is due to the mkdep script which is in the asterisk directory being
> changed recently. Just change
>
> #!/bin/bash
> to
> #!/bin/sh
I was kind of wondering about supposing that bash was installed as a
standard shell on all systems...
Posted: Thu Dec 16, 2004 12:35 pm Post subject: [Asterisk-bsd] sipgetheader and asterisk
Chris Stenton wrote:
Quote:
I'm just in the process of falling out with mark over this. On FreeBSD
its put in
/usr/local/bin. I understand this change was make for Solaris but I just
got a one liner from Mark saying it has to be bash and that its not a
bug and reduced my karma.
It wasn't Mark that reduced your Karma, it was Drumkilla. Blaim the right
person.
Quote:
See bug report 0003050 if my karma goes down again then ... no more
help or bug fixes from me.
Posted: Thu Dec 16, 2004 10:35 pm Post subject: [Asterisk-bsd] sipgetheader and asterisk
Thanks Olle and Chris. Your responses were pretty helpful.
Switching /bin/bash to /usr/local/bin/bash helped it compile. it works
now. I just have to figure out which directories things should install in
now.
Frank
Quote:
From: "Olle E. Johansson" <oej@edvina.net>
Reply-To: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>
To: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>
Subject: Re: [Asterisk-bsd] sipgetheader and asterisk
Date: Thu, 16 Dec 2004 21:31:43 +0100
Chris Stenton wrote:
>I'm just in the process of falling out with mark over this. On FreeBSD its
>put in
>/usr/local/bin. I understand this change was make for Solaris but I just
>got a one liner from Mark saying it has to be bash and that its not a bug
>and reduced my karma.
It wasn't Mark that reduced your Karma, it was Drumkilla. Blaim the right
person.
>See bug report 0003050 if my karma goes down again then ... no more help
>or bug fixes from me.
>
Hey Chris, don't take karma that personally.
Posted: Fri Dec 17, 2004 12:49 am Post subject: [Asterisk-bsd] sipgetheader and asterisk
----- Original Message -----
From: "Olle E. Johansson" <oej@edvina.net>
To: "Asterisk on BSD discussion" <asterisk-bsd@lists.digium.com>
Sent: Thursday, December 16, 2004 8:31 PM
Subject: Re: [Asterisk-bsd] sipgetheader and asterisk
Quote:
Chris Stenton wrote:
> I'm just in the process of falling out with mark over this. On FreeBSD
> its put in
> /usr/local/bin. I understand this change was make for Solaris but I just
> got a one liner from Mark saying it has to be bash and that its not a bug
> and reduced my karma.
It wasn't Mark that reduced your Karma, it was Drumkilla. Blaim the right
person.
> See bug report 0003050 if my karma goes down again then ... no more
> help or bug fixes from me.
>
Hey Chris, don't take karma that personally.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum