[Asterisk-Users] zaptel compile problems
Scott Stingel
scott at evtmedia.com
Sat Aug 23 12:21:49 MST 2003
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
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
compile any kernel code with distro kernels. Use Vanilla kernel from
ftp.kernel.org
FT
On Sat, 23 Aug 2003, John Brown wrote:
> Hi list,
>
> I'm having problems getting zaptel to compile.
> I'm not a big Linux person and so don't know all the
> "nifty" ways RH does things. If this was FreeBSD
> it wouldn't be an issue :)
>
> here is the first few lines from the make
>
> 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=0xd0000 -DDEFAULT_TONE_ZONE=0
-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]#
>
> output from uname -a
> Linux pbx.joe.tld 2.4.20-20.7 #1 Mon Aug 18 15:05:54 EDT 2003 i686 unknown
>
> ls of /usr/src:
>
> [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]#
>
> not sure whatelse to include.
>
> AST compiles fine
>
>
> Mucho thanks
>
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list