Just guessing: did you re-run configure?

Borut

On Sun, May 20, 2012 at 12:58 AM, roelof 't Hooft <roelofh@itholland.nl> wrote:
Hi,

I've downloaded the latest sdcc source and it fails
to compile with the following error :

......
SDCCmain.c:326: error: ‘r3ka_port’ undeclared here (not in a function)
make[1]: *** [SDCCmain.o] Error 1
make[1]: Leaving directory `/usr/src/sdcc-7731/src'
make: *** [sdcc-cc] Error 2


My configure is this :

./configure --disable-gbz80-port --disable-z80-port --disable-ds390-port
--disable-ds400-port --disable-pic14-port --disable-pic16-port
--disable-hc08-port --disable-ucsim --disable-z180-port
--disable-r2k-port --disable-s08-port --disable-r3ka-port
--prefix=/opt/sdcc-7731


uname -a :

Linux amd2200 3.2.12 #3 SMP Sat 24 Mar 2012 23:32:43 CET i686 GNU/Linux


But sdcc source 7715 compiles just fine and sdcc 7715 itself
does compile and link a project of mine. The same configure
line, except for the prefix, is used.

roelof



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user