Hi, [...] > /usr/local/bin/sdcc --debug-ralloc --pstack-model=large --pno-banksel > --extended --obanksel=2 -L /usr/share/sdcc/lib/pic16 -L > /usr/share/sdcc/lib/small -I/usr/share/sdcc/include > -I/usr/share/sdcc/include/pic16/ -c -mpic16 -p18f4550 main.c > -obuild/default/production/main.o
> error: missing definition for symbol "_strcpy", required by > "build/default/production/main.o" Well, _strcpy is defined in sdcc's libc18f.lib. You need to link against this library. Probably sdcc already tries to do so, but as you did not specify --use-non-free (recommended, sets up proper include and library paths) nor the updated path to sdcc's pic16 libs (/usr/share/sdcc/non-free/lib/pic16 IIRC), gplink cannot find libc18f.lib and thus fails to find _strcpy. [...] > mkdir -p dist/default/production > /usr/local/bin/sdcc --debug-ralloc -Wl-c -Wl-m --pstack-model=large > --pno-banksel --extended --obanksel=2 -L /usr/share/sdcc/lib/pic16 -L > /usr/share/sdcc/lib/small -I/usr/share/sdcc/include > -I/usr/share/sdcc/include/pic16/ -mpic16 -p18f4550 > build/default/production/main.o > -odist/default/production/Pic18F4550Test.X.production.cof > make[2]: *** [dist/default/production/Pic18F4550Test.X.production.cof] > Error 1 [...] Not sure about this one; probably the same as above, though the error message is missing. Raphael ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user