Pumpkin User Forums
  PICmicro MCUs
  Linking Error in MPLAB 8

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Linking Error in MPLAB 8
ameriq
Junior Member
posted June 28, 2008 11:49     Click Here to See the Profile for ameriq     Edit/Delete Message   Reply w/Quote
Finally I got it Fixed. I was using 18F452, wheras the lnkr file selected was 18c452.
However I appreciate the need to use new library as suggested below.

IP:

ameriq
Junior Member
posted June 28, 2008 06:49     Click Here to See the Profile for ameriq     Edit/Delete Message   Reply w/Quote
Thanks,
I have downloaded the new libraries fro C18.
that problem is resolved, but now its giving this error:
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\salvo\lib\mcc18\v3" -L"C:\mcc18\lib" /k"c:\mcc18\lkr" "C:\MCC18\lkr\18c452.lkr" "c:\salvo\src\mem.o" "c:\salvo\ex\ex1\main.o" "C:\MCC18\lib\c018i.o" /o"ex1lite.cof"
MPLINK 4.15, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section '_entry_scn' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1

Link step failed.
BUILD FAILED: Sat Jun 28 18:46:31 2008

Pls guide.

IP:

aek
Moderator
posted June 28, 2008 06:47     Click Here to See the Profile for aek     Edit/Delete Message   Reply w/Quote
http://www.pumpkininc.com/salvo/lite/pic/3.2/versions.txt

------------------

IP:

ameriq
Junior Member
posted June 28, 2008 06:23     Click Here to See the Profile for ameriq     Edit/Delete Message   Reply w/Quote
Dear Friends, I am using MPLAB 8 the project compiles Ok, but when linking gives this error:
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\MCC18\lib" /k"C:\MCC18\lkr" "C:\MCC18\lkr\18c452.lkr" "D:\PICProjects\salvo\main.o" "D:\PICProjects\salvo\mem.o" "D:\PICProjects\salvo\isr.o" "C:\MCC18\lib\p18f452.lib" "C:\salvo\lib\mcc18\sfc18sfa.lib" /o"Test.cof"
MPLINK 4.15, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - Coff file format for 'array.o' is out of date.
Error - Could not build member 'array.o' in library file 'C:\salvo\lib\mcc18\sfc18sfa.lib'.
Errors : 2

Link step failed.
BUILD FAILED: Sat Jun 28 18:15:17 2008

IP:

All times are ET

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Pumpkin Home Page

©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.


Ultimate Bulletin Board 5.46a