[Asterisk-Users] zaptel compile problems
Ajit Kallingal
kmajit at hotmail.com
Sat Aug 23 14:55:23 MST 2003
I have seen several config.h and Makefiles with ^M , this is with a fresh
checkout from the CVS tree...
And I had to clean them with dos2unix.
Some file were also not set with "x" execute permissions...
A clean build still eludes me...
Ajit
Message: 12
From: "Scott Stingel" <scott at evtmedia.com>
To: <asterisk-users at lists.digium.com>
Subject: RE: [Asterisk-Users] zaptel compile problems
Date: Sat, 23 Aug 2003 12:21:49 -0700
Reply-To: asterisk-users at lists.digium.com
All four sets (asterisk, libpri, zaptel, and zapata) compile fine under
redHat 9.0 (although with lots of warnings)
Looking at your /usr/src listing - shouldn't there be separate =
directories
for asterisk, libpri, zaptel, and zapata?
Have you checked that you have all the required packages (listed in the
asterisk quick install sheet), and have followed the instructions there?
Regards
Scott
Scott M. Stingel=20
Emerging Voice Technology Inc.
Palo Alto, California and London, England
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
mawali at news.icns.com
Sent: Saturday, August 23, 2003 2:02 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] zaptel compile problems
Im sorry, but I would try dumping RedHat kernel. I have never been able =
to=20
compile any kernel code with distro kernels. Use Vanilla kernel from=20
ftp.kernel.org
FT
On Sat, 23 Aug 2003, John Brown wrote:
> Hi list,
>=20
> I'm having problems getting zaptel to compile.
> I'm not a big Linux person and so don't know all the=20
> "nifty" ways RH does things. If this was FreeBSD
> it wouldn't be an issue :)
>=20
> here is the first few lines from the make
>=20
> gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ =
-DEXPORT_SYMTAB
-I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes
-fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I
/usr/src/linux/include -I/usr/src/linux/include/net -DMODVERSIONS =
-include
/usr/src/linux-2.4/include/linux/modversions.h -DECHO_CAN_MARK2
-DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=3D0xd0000 -DDEFAULT_TONE_ZONE=3D0
-DSTANDALONE_ZAPATA -c zaptel.c
> In file included from zaptel.c:34:
> /usr/src/linux-2.4/include/linux/kernel.h:60: nondigits in number and =
not
hexadecimal
> /usr/src/linux-2.4/include/linux/kernel.h:60: floating constant =
exponent
has no digits
> /usr/src/linux-2.4/include/linux/kernel.h:60: missing white space =
after
number `0d5e'
> /usr/src/linux-2.4/include/linux/kernel.h:60: parse error before =
`0d5e'
> /usr/src/linux-2.4/include/linux/kernel.h:60: warning: function
declaration isn't a prototype
> /usr/src/linux-2.4/include/linux/kernel.h:61: nondigits in number and =
not
hexadecimal
> /usr/src/linux-2.4/include/linux/kernel.h:61: nondigits in number and =
not
hexadecimal
> /usr/src/linux-2.4/include/linux/kernel.h:61: parse error before
`01075bf0'
> [joe at pbx zaptel]#
>=20
> output from uname -a
> Linux pbx.joe.tld 2.4.20-20.7 #1 Mon Aug 18 15:05:54 EDT 2003 i686 =
unknown
>=20
> ls of /usr/src:
>=20
> [tom at pbx zaptel]# ll /usr/src
> total 20
> drwxr-xr-x 5 root root 4096 Aug 22 19:07 .
> drwxr-xr-x 16 root root 4096 Aug 9 15:58 ..
> lrwxrwxrwx 1 root root 17 Aug 22 19:07 linux-2.4 ->
linux-2.4.20-20.7
> drwxr-xr-x 14 root root 4096 Aug 22 19:07 =
linux-2.4.20-19.7
> drwxr-xr-x 16 root root 4096 Aug 23 12:24 =
linux-2.4.20-20.7
> drwxr-xr-x 7 root root 4096 Aug 9 15:57 redhat
> [fred at pbx zaptel]#
>=20
> not sure whatelse to include.
>=20
> AST compiles fine
>=20
>=20
> Mucho thanks
More information about the asterisk-users
mailing list