Problem compiling sdcc package

Hi,

I try to compile sdcc package and i met with the following problem.
Help needed. Thanks.

make[1]: Leaving directory ‘/home/user/BaselineComponents/sdcc/link’
make[1]: Entering directory ‘/home/user/BaselineComponents/sdcc/as/hc08’
make[1]: Leaving directory ‘/home/user/BaselineComponents/sdcc/as/hc08’
for misc in debugger/mcs51 sim/ucsim; do make -C $misc; done
make[1]: Entering directory
‘/home/user/BaselineComponents/sdcc/debugger/mcs51’
make[1]: Leaving directory
‘/home/user/BaselineComponents/sdcc/debugger/mcs51’
make[1]: Entering directory
‘/home/user/BaselineComponents/sdcc/sim/ucsim’
make -f main.mk all
make[2]: Entering directory
/home/user/BaselineComponents/sdcc/sim/ucsim’
g++ -g -02 -gstabs+ -g3 -pipe -I. -Wall -I. -I./sim.src -Icmd.src
-Igui.src -c
pobj.cc -o pobj.o
cmd.src/newcmdcl.h:127: error: extra qualification ‘cl_console::’ on
member ‘clo
ne_for_exec’
make[2]: *** [pobj.o] Error 1
make[2]: Leaving directory
‘/home/user/BaselineComponents/sdcc/sim/ucsim’
make[1]: *** [all] Error 2
make[1]: Leaving directory
‘/home/user/BaselineComponents/sdcc/sim/ucsim’
make: *** [sdcc-misc] Error 2


Yahoo! Singapore Answers
Real people. Real questions. Real answers. Share what you know at
http://answers.yahoo.com.sg

2007/3/9, xrin oscar [email protected]:

Hi,

I try to compile sdcc package and i met with the following problem.
Help needed. Thanks.

Hi, I have not seen that error before, but may I ask which
distribution and version of sdcc you are using?


Trond D.

2007/3/12, xrin oscar [email protected]:

Hi,

the package is sdcc-2.5.0.tar.gz.

The latest version of sdcc is 2.6.0, I suggest you try that before
trying to debug the older version.


Trond D.