View Single Post
  #7   Spotlight this post!  
Unread 12-04-2006, 20:33
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: Programming Vex w/ MPLab

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.
Reply With Quote