[asterisk-users] More Zaptel build problems

Kristian Kielhofner kris at krisk.org
Mon Sep 11 12:40:44 MST 2006


Hello everyone,

	I am trying to build zaptel 1.2.9 for AstLinux.  I have already done an 
svn export of the 1.2.9 tag, so I am not experiencing the "missing 
octastic issue".

	However, I am having a funny problem.  The zaptel.log that I have 
attached tells the full story, but I'll give you a synopsis...

- Because I need to cross compile and the Zaptel Makefile does not 
really have a concept of CC/HOSTCC, I have to build the "makefw 
gendigits tor2fw.h radfw.h" targets with my HOSTCC - gcc.  I then build 
the rest of zaptel using the "normal" uclibc cross compiler.  This has 
always worked until now.

- AstLinux doesn't have hotplug, so I have to define 
HOTPLUG_FIRMWARE=no.  This means that vpm450m.c has to include 
vpm450m_fw.h which, as shown in the compiler output attached, has some 
syntax errors:

/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m_fw.h:1: 
error: syntax error before '/' token
In file included from 
/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m.c:16:
/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m_fw.h:1:75: 
too many decimal points in number
/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m.c: 
In function `init_vpm450m':
/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m.c:405: 
error: `vpm450m_fw' undeclared (first use in this function)
/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m.c:405: 
error: (Each undeclared identifier is reported only once
/home/kris/projects/astlinux-trunk/build_i586/zaptel-1.2.9/wct4xxp/vpm450m.c:405: 
error: for each function it appears in.)


	My guess is that my hack of building makefw and friends might not work 
anymore...  Or maybe this is some kind of strange bug.  Any ideas?

Thanks!

--
Kristian Kielhofner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zaptel.log
Type: text/x-log
Size: 14456 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060911/56de0516/zaptel.bin


More information about the asterisk-users mailing list