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

Post Reply
David Raisz

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

Post by David Raisz » Fri May 23, 2008 9:45 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests