[asterisk-bugs] [Zaptel 0012426]: zconfig.h:91:41: error: missing binary operator before token "(" when entering xpp/

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 23 14:16:39 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12426 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tzafrir
====================================================================== 
Project:                    Zaptel
Issue ID:                   12426
Category:                   Astribank (xpp)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Zaptel Version:             1.4.10 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-11-2008 15:21 CDT
Last Modified:              04-23-2008 14:16 CDT
====================================================================== 
Summary:                    zconfig.h:91:41: error: missing binary operator
before token "(" when entering xpp/
Description: 
This error seems to be generated even when there's no real module
building:

An example build:

make -C /lib/modules/2.6.24-1-amd64/build
SUBDIRS=/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel
HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o
wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o
ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ wctdm24xxp/ xpp/" modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64'
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/zconfig.h:91:41:
error: missing binary operator before token "("
  Building modules, stage 2.
  MODPOST 17 modules

The error message always appears right after getting into the xpp
subdirectory. Here's a more verbose log snippet:

ake -f scripts/Makefile.build
obj=/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/xpp
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/zconfig.h:91:41:
error: missing binary operator before token "("
echo '#define   XPP_VERSION     "trunk-r5566"' >
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/xpp/xpp_version.h.tmp
if cmp -s
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/xpp/xpp_version.h.tmp
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/xpp/xpp_version.h
; then echo; else \
                mv
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/xpp/xpp_version.h.tmp
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/kernel/xpp/xpp_version.h
; \
        fi

It does not fail the build thus it may be one of the test builds to check
dependencies?
====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 04-23-08 14:16  
---------------------------------------------------------------------- 
Fixed only in 1.4 for now, as I'm not 100% sure and I'd like to get some
more eyes on this one. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-23-08 14:16  tzafrir        Note Added: 0085909                          
======================================================================




More information about the asterisk-bugs mailing list