Hi again, (This is a potential double-post since my previous post does not seem to have made it to the list. This version is edited/updated.)
I tried with r8008 and cannot reproduce this with properly built libraries. ___eeprom_gptr{get,put}[1234] are provided by libdev18f4550.lib, so I guess this file is bad / from an older sdcc. You can check your libdev18f4550.lib as follows: $ strace -o trace.log -f -eopen sdcc <your arguments here> $ grep libdev18f4550.lib trace.log | grep -v ENOENT should yield several hits and reveal the path to the libdev18f4550.lib that is being used by the linker. $ gplib -s /path/to/your/libdev18f4550.lib | grep eeprom should yield hits on ___eeprom_gptr{get,put}[1234] (but probably does not). I assume that you are using a libdev18f4550.lib from an older SDCC. If you are using a not installed sdcc, you may need to add -L/path/to/sdcc-build/device/non-free/lib/build/pic16 to your search paths. This is probably *not* added by --use-non-free. ... or just install sdcc in some distinct folder as proposed earlier. Alternatively, use find . -name libdev18f4550.lib in the directory where your built/installed sdcc resides and add the path to libdev18f4550.lib with -L. Hope that helped, Raphael ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user