Hello,

 

I am trying to build sdcc 3.0.0 and running into the following error:

 

gmake[1]: Entering directory `/tmp/itoufiqu/sdcc_install/sdcc/support/cpp'

gawk -f ./opt-gather.awk ./sdcpp.opt  > tmp-optionlist

/bin/sh ./move-if-change tmp-optionlist optionlist

echo timestamp > s-options

gawk -f ./opt-functions.awk -f ./opth-gen.awk \

       < optionlist > tmp-options.h

/bin/sh ./move-if-change tmp-options.h options.h

echo timestamp > s-options-h

/opt/pkgs/gcc/4.2.2/bin/gcc -c    -O2 -fPIC -I. -I/tmp/itoufiqu/sdcc_install/sdcc/sim/ucsim -I/opt/pkgs/sdcc/3.0.0/include -L/opt/pkgs/sdcc/3.0.0/lib -Wall   -DHAVE_CONFIG_H    -I. -I./libcpp -I./libcpp/include -I./libiberty -I. sdcpp.c -o sdcpp.o

/opt/pkgs/gcc/4.2.2/bin/gcc -c    -O2 -fPIC -I. -I/tmp/itoufiqu/sdcc_install/sdcc/sim/ucsim -I/opt/pkgs/sdcc/3.0.0/include -L/opt/pkgs/sdcc/3.0.0/lib -Wall   -DHAVE_CONFIG_H    -I. -I./libcpp -I./libcpp/include -I./libiberty -I. sdcpp-opts.c -o sdcpp-opts.o

sdcpp-opts.c: In function sdcpp_common_missing_argument:

sdcpp-opts.c:131: error: OPT_U undeclared (first use in this function)

sdcpp-opts.c:131: error: (Each undeclared identifier is reported only once

sdcpp-opts.c:131: error: for each function it appears in.)

sdcpp-opts.c:135: error: OPT_I undeclared (first use in this function)

sdcpp-opts.c:136: error: OPT_idirafter undeclared (first use in this function)

sdcpp-opts.c:137: error: OPT_isysroot undeclared (first use in this function)

sdcpp-opts.c:138: error: OPT_isystem undeclared (first use in this function)

sdcpp-opts.c:139: error: OPT_iquote undeclared (first use in this function)

sdcpp-opts.c:143: error: OPT_MF undeclared (first use in this function)

sdcpp-opts.c:144: error: OPT_MD undeclared (first use in this function)

sdcpp-opts.c:145: error: OPT_MMD undeclared (first use in this function)

sdcpp-opts.c:146: error: OPT_include undeclared (first use in this function)

sdcpp-opts.c:147: error: OPT_imacros undeclared (first use in this function)

sdcpp-opts.c:148: error: OPT_o undeclared (first use in this function)

sdcpp-opts.c:152: error: OPT_MQ undeclared (first use in this function)

sdcpp-opts.c:153: error: OPT_MT undeclared (first use in this function)

sdcpp-opts.c: In function sdcpp_common_handle_option:

sdcpp-opts.c:232: error: OPT_H undeclared (first use in this function)

sdcpp-opts.c:236: error: OPT_I undeclared (first use in this function)

sdcpp-opts.c:249: error: OPT_M undeclared (first use in this function)

sdcpp-opts.c:250: error: OPT_MM undeclared (first use in this function)

sdcpp-opts.c:260: error: OPT_MD undeclared (first use in this function)

sdcpp-opts.c:261: error: OPT_MMD undeclared (first use in this function)

sdcpp-opts.c:266: error: OPT_MF undeclared (first use in this function)

sdcpp-opts.c:271: error: OPT_MG undeclared (first use in this function)

sdcpp-opts.c:276: error: OPT_MP undeclared (first use in this function)

 

My OS is : SuSE Linux Enterprise Server 64-bit

Compiler is gcc 4.2.2

 

 

Please help shed some light on this.  Your help much appreciated.

 

Thanks

-Imam Toufique