Looking at the linker script, the 872 doesn't appear to have any udata section. Looks as if it needs udata_shr instead. There was a discussion about this just the other day with respect to some 12F chips. I don't have the appnote, was it specific to the 872? A 0x38 long udata section will fit in most 16F's, but apparently the 872 is an abberation. Looking at the linker script, you can't have any udata in that part. --McD ----- Original Message ----- From: "Hopkins" To: "'PICLIST'" Sent: Friday, January 28, 2005 10:43 PM Subject: [PIC]Bad relocatable code example by Microchip AN734 > > When I try to compile the example code from application note AN734 I get > the following > > MPLINK 3.90, Linker > Copyright (c) 2004 Microchip Technology Inc. > Error - section '.udata' can not fit the absolute section. Section > '.udata' start=0x00000060, length=0x00000038 > Errors : 1 > > > (I included the 16f872 linker script) > > As I am just trying to learn about relocatable code and the Linker error > message/help files are not that helpful I do not know how to fix this > error. :-( > _______________________________________ > Roy > Tauranga > New Zealand > _______________________________________ > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist