[Asterisk-bsd]/usr/local/include/zaptel.h:37:16:os.h: Nosuch file or directory

Graham S. Jarvis gsjarvis at adsoft.lu
Wed May 4 13:24:59 CDT 2005


> Ports is still better.
My feeling too.

So I must be doing something really wrong because even after a 'cvsup' with
'ports-all' I get the following message at the end of the following
sequence:

make clean
.
.
.
make install
.
.
.
.
make -C ztdummy
Warning: Object directory not changed from original
/usr/ports/misc/zaptel/work/
zaptel-freebsd-0.9/ztdummy
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
cc -O -pipe   -I../zaptel  -g -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I../zap
tel
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -
fno-
common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
-Wal
l -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototyp
es -
Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
ztdummy.c
../zaptel/arith.h:265: warning: 'ACSS' defined but not used
../zaptel/arith.h:295: warning: 'CONVOLVE' defined but not used
../zaptel/arith.h:313: warning: 'UPDATE' defined but not used
../zaptel/arith.h:323: warning: 'UPDATE2' defined but not used
../zaptel/arith.h:334: warning: 'MAX16' defined but not used
ld  -d -warn-common -r -d -o ztdummy.kld ztdummy.o
touch /usr/ports/misc/zaptel/work/zaptel-freebsd-0.9/ztdummy/export_syms
awk -f /sys/conf/kmod_syms.awk ztdummy.kld
/usr/ports/misc/zaptel/work/zaptel-f
reebsd-0.9/ztdummy/export_syms |  xargs -J% objcopy % ztdummy.kld
ld -Bshareable  -d -warn-common -o ztdummy.ko ztdummy.kld
objcopy --strip-debug ztdummy.ko
make -C ztcfg
cc -O -pipe   -I/usr/local/include -I. -I../zaptel -DUSE_LOCAL_INCLUDE=1  -D
PREF
IX=\"/usr/local\" -o ztcfg.o -c ztcfg.c
In file included from tonezone.h:29,
                 from ztcfg.c:43:
/usr/local/include/zaptel.h:37:16: os.h: No such file or directory
*** Error code 1

Stop in /usr/ports/misc/zaptel/work/zaptel-freebsd-0.9/ztcfg.
*** Error code 1

Stop in /usr/ports/misc/zaptel/work/zaptel-freebsd-0.9.
*** Error code 1

Stop in /usr/ports/misc/zaptel.

Does anybody have any suggestion where I should look next?

-Graham-

----- Original Message -----
From: "Chris St Denis" <chris at aebc.com>
To: "'Asterisk on BSD discussion'" <asterisk-bsd at lists.digium.com>
Sent: Wednesday, May 04, 2005 7:44 PM
Subject: RE: [Asterisk-bsd]/usr/local/include/zaptel.h:37:16:os.h: Nosuch
file or directory


Ports is still better.

It keeps the system more clean because it has built in uninstall support,
keeps track of version tracking of the software and its dependencies, and
can integrate with portaudit to keep track of security vulnerabilities.

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com]On Behalf Of Preston
Garrison
Sent: Wednesday, May 04, 2005 1:55 AM
To: asterisk-bsd at lists.digium.com
Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h:
Nosuch file or directory


Reverse the order of that, but there is really no reason to use ports.
Asterisk itself compiles fine on freebsd with no need for ports.  Just
grab stable from the CVS.  If you need libpri and zaptel, that needs to
be installed from ports.

Preston Garrison
direct: 877-748-4142
fax: 310-774-3901
cell: 623-748-4140

-----Original Message-----
From: Graham S. Jarvis <gsjarvis at adsoft.lu>
To: Asterisk on BSD discussion <asterisk-bsd at lists.digium.com>
Sent: Wed, 4 May 2005 10:51:46 +0200
Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:
os.h: Nosuch file or directory

I did what I was told on
http://www.voip-info.org/tiki-index.php?page=Asterisk%20FreeBSD
"...it is STRONGLY suggested that you install Asterisk from the FreeBSD
ports or packages collection."

I just ran 'make install'.
Here's the Makefile (can I attach to the list?)

I 'cvsup'd the ports collection before doing the make so it should be
the
latest.

Thanks.

----- Original Message -----
From: "Preston Garrison" <preston at mailblocks.com>
To: <asterisk-bsd at lists.digium.com>
Sent: Wednesday, May 04, 2005 10:19 AM
Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16: os.h:
Nosuch
file or directory


did you install zaptel first?


Preston Garrison
direct: 877-748-4142
fax: 310-774-3901
cell: 623-748-4140

-----Original Message-----
From: Graham S. Jarvis <gsjarvis at adsoft.lu>
To: asterisk-bsd at lists.digium.com
Sent: Wed, 4 May 2005 10:15:49 +0200
Subject: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16: os.h: No
such file or directory

I have a problem with an asterisk-1.0.7 make on
FreeBSD xxxxxxxxxx 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5
04:19:18
UTC 2004     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386

The FreeBSD is a new install from the FreeBSD Mall 5.3 disc
I don't have more than DSL so I didn't want to update all the ports
collection, so I updated these

ports-base
ports-audio
ports-comms
ports-databases
ports-devel
ports-lang
ports-mail
ports-misc
ports-net
(did I forget anything?)

and I started the 'make install' from /usr/ports/net/asterisk

After going through all the dependencies I get

/usr/local/include/zaptel.h:37:16: os.h: No such file or directory

and make exits.

Any ideas?


_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list