FORUM TOPIC · READ ONLY

Compiling error p**.gld:9: syntax error - solved

Compiling error p**.gld:9: syntax error - solved

Forum : bug reports

1 message(s) · archive en lecture seule

Anonyme
Dear All,

I was trying to compile the example models (in this case Data_Login_Matlab.m) for several pic's, and got errors during compilation.

I have ML R2008a, and

"MPLAB® C Compiler for PIC24 MCUs and dsPIC DSCs, v3.10 (B), 9 May 2008"



The error message in the matlab command window was:

c:\program files\microchip\pic30_tools\bin\pic30-coff-ld.exe:C:\PROGRA~1\MICROC~1\MPLABC~1\support\dsPIC33F\gld\p33fJ256GP710.gld:9: syntax error

gmake: *** [..\../dsPIC_33f_Explorer16.coff] Error 255



The solution was - thank You again, Mr. Kerhuel - to remove (or comment, as shown below) line 9 of the .gld file:

/*

** OPTIONAL(-lp33FJ256GP710)

*/



Best regards:

David