Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: startracer on November 19, 2009, 07:39:17 pm

Title: Linker problem
Post by: startracer on November 19, 2009, 07:39:17 pm
Hi!

This might be a n00b problem but I haven't got that much experience with the inner workings of MPLAB, but since I reinstalled MPLAB and the C30 compiler a few days ago (I scrapped Vista in favor of Win7) it always says at the end of the compile, when it starts the linker:
--------------------
pic30-coff-cpp.exe: 24FJ64GA002.gld.00: No such file or directory

pic30-coff-cpp.exe: warning: '-x c' after last input file has no effect

pic30-coff-cpp.exe: no input files

c:program filesmicrochipmplab c30binbin..bin/pic30-coff-ld.exe: cannot open linker script file APP 24FJ64GA002.gld.00: No such file or directory

Link step failed.
------------------------------------------------
I didn't have this problem before the reinstall. Is there something I am missing? Where does the ".00" come from?
If I add the ".00" to the end of the linker script filename it works, but it also removes the file afterwards so I would have to copy the linker script and rename it before each compile, which just seems wrong.
Any help is appreciated.
/Magnus
Title: Re: Linker problem
Post by: ian on November 19, 2009, 07:50:19 pm
I'd check the temporary, work, and compiler directory locations under project->build options (or whatever it is).

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00862037136session_write_close ( )...(null):0
20.00892168712ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00892169488Database_MySQL->query( ).../DatabaseHandler.php:119
40.05362308200Database_MySQL->error( ).../Db-mysql.class.php:273