From: SourceForge.net <no...@so...> - 2010-12-05 10:50:13
|
Bugs item #3127909, was opened at 2010-12-05 11:50 Message generated for change (Tracker Item Submitted) made by galzsolt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3127909&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Gál Zsolt (galzsolt) Assigned to: Nobody/Anonymous (nobody) Summary: Error when linking ( PIC 14 ) #6071 Initial Comment: Today I tried to install sdcc to an other computer from svn source. There weren't sdcc on that computer before. When I try to compile a simple code, I got this message: libsdcc.lib: No such file or directory This was the command: sdcc -mpic14 --use-non-free -p16f887 -V --debug -Wl-c -Wl-m -I/home/zsolti/sample_sdcc/ -osdccteszt.hex sdccteszt.o And the full message: + "/usr/local/bin/gplink" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -c -m -w -r -o sdccteszt.hex sdccteszt.o libsdcc.lib pic16f887.lib libsdcc.lib: No such file or directory + "/usr/local/bin/gplink" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -c -m -w -r -o sdccteszt.hex sdccteszt.o libsdcc.lib pic16f887.lib returned errorcode 256 It looks like that linker find the .lib file in the pic directory instead of pic14 directory. If i rename the pic14 directores to pic in /usr/local/share/sdcc/lib and /usr/local/share/sdcc/non-free/lib the linker finishes whithout problem. SDCC : pic14 3.0.1 #6071 (Dec 5 2010) (Linux) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3127909&group_id=599 |
From: SourceForge.net <no...@so...> - 2010-12-11 21:59:48
|
Bugs item #3127909, was opened at 2010-12-05 11:50 Message generated for change (Comment added) made by borutr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3127909&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: pic14 target >Group: fixed >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Gál Zsolt (galzsolt) >Assigned to: Borut Ražem (borutr) Summary: Error when linking ( PIC 14 ) #6071 Initial Comment: Today I tried to install sdcc to an other computer from svn source. There weren't sdcc on that computer before. When I try to compile a simple code, I got this message: libsdcc.lib: No such file or directory This was the command: sdcc -mpic14 --use-non-free -p16f887 -V --debug -Wl-c -Wl-m -I/home/zsolti/sample_sdcc/ -osdccteszt.hex sdccteszt.o And the full message: + "/usr/local/bin/gplink" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -c -m -w -r -o sdccteszt.hex sdccteszt.o libsdcc.lib pic16f887.lib libsdcc.lib: No such file or directory + "/usr/local/bin/gplink" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic" -I"/usr/local/bin/../share/sdcc/non-free/lib/pic" -I"/usr/local/share/sdcc/non-free/lib/pic" -c -m -w -r -o sdccteszt.hex sdccteszt.o libsdcc.lib pic16f887.lib returned errorcode 256 It looks like that linker find the .lib file in the pic directory instead of pic14 directory. If i rename the pic14 directores to pic in /usr/local/share/sdcc/lib and /usr/local/share/sdcc/non-free/lib the linker finishes whithout problem. SDCC : pic14 3.0.1 #6071 (Dec 5 2010) (Linux) ---------------------------------------------------------------------- >Comment By: Borut Ražem (borutr) Date: 2010-12-11 22:59 Message: Duplicate of #3135245. Borut ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3127909&group_id=599 |