I am using MPLAB 7.31 and using all the bin executables that came with the CD (their Librarian: mplib.exe , Linker: mplink.exe and Compiler: mcc18.exe ) when I attempt to compile I get the message
Code:
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - Coff file 'C:MCC18lib/c018i.o' does not appear to be a valid COFF file.
Errors : 1
or
Code:
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - Coff file 'AARG.O' does not appear to be a valid COFF file.
Error - Could not build member 'AARG.O' in library file 'C:MCC18lib/clib.lib'.
Errors : 2
it depends which line I comment out on 18f8520user.lkr
Code:
// $Id: 18f8520i.lkr,v 1.4 2003/03/13 05:02:23 sealep Exp $
// File: 18f8520i.lkr
// Sample linker script for the PIC18F8520 processor
LIBPATH .
//FILES c018i.o
FILES clib.lib
FILES p18f8520.lib
I know for a fact that I had the C18 compiler already installed from other PIC stuff that I do, but I don't know if when I installed the easy-c CD if it installed over that. My question is WHY is it looking there? in 18f8520user.lkr there is reference to the file name only (clib.lib OR c018i.o, you comment out which one, by default it is clib.lib). According to the linker read me this error arises when you are reading a new COFF file with the old linker. Where can I find an old clib.lib and how can I change the reference to it? Thanks in advance.