Go to Post We’ve been chasing perfection since 2003 in the hopes of catching excellence. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2006, 19:15
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Odd MPLab error?

I've downloaded the student version of MPLab 7.20, C18 compiler, and have it all installed. I am trying to compile the default, unmodified version of the 2006 default code. When I make the file, I get the following message:
Code:
  
Error: Bad magic number in COFF file "D:frc_camera_2006camera.o".
BUILD FAILED: Sat Jan 21 19:05:26 2006

Whe I try to build the file, I get the following error:
Code:
  
D:frc_camera_2006user_routines_fast.c:58:Warning [2074] location PROD specified in the interrupt save list is redundant
D:frc_camera_2006user_routines_fast.c:58:Warning [2074] location .tmpdata specified in the interrupt save list is redundant
Executing: "D:MCC18binmplink.exe" /l"C:mcc18lib" "18f8722.lkr" "D:frc_camera_2006camera.o" "D:frc_camera_2006camera_menu.o" "D:frc_camera_2006eeprom.o" "D:frc_camera_2006ifi_startup.o" "D:frc_camera_2006ifi_utilities.o" "D:frc_camera_2006main.o" "D:frc_camera_2006serial_ports.o" "D:frc_camera_2006terminal.o" "D:frc_camera_2006tracking.o" "D:frc_camera_2006tracking_menu.o" "D:frc_camera_2006user_routines.o" "D:frc_camera_2006user_routines_fast.o" "D:frc_camera_2006FRC_library.lib" /o"camera.cof" /M"camera.map"
MPLINK 4.00, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors	: 1
BUILD FAILED: Sat Jan 21 19:08:02 2006
Does anyone know what could be happening? Is my installation bad? My tools setup wrong? Or part of the workspace deleted, moved or corrupted? I'm at a loss.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #2   Spotlight this post!  
Unread 21-01-2006, 20:02
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Odd MPLab error?

try reinstalling it again, 9/10 times the problems with things missing is an error during installion, install MPLab first then the compiler that is the order i always do it and there haven't been any errors yet(knock on wood)
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #3   Spotlight this post!  
Unread 21-01-2006, 20:45
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Odd MPLab error?

The bad magic number error is related to the COFF file structure changes between C18 version 2.x and version 3.x. You need the 2.4 version of C18 that comes in the KoP.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MPLab build error Derek t Programming 7 17-01-2005 09:33
MPLAB build error cabbagekid2 Programming 7 12-01-2005 13:36
MPLAB IDE 6.60 Error mchan1111 Programming 8 08-11-2004 20:17
MPlab error ryan_f Programming 9 24-05-2004 07:30
Error message in MPLAB IDE dddriveman Programming 11 18-03-2004 06:34


All times are GMT -5. The time now is 03:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi