gnupic: Re: [gnupic] Newbie and sdcc & gputils
Subject:
Re: [gnupic] Newbie and sdcc & gputils
From:
Craig Franklin ####@####.####
Date:
24 Aug 2006 02:20:46 +0100
Message-Id: <44ECFFDC.6080106@users.sourceforge.net>
I just read your bug report.
This device only has sharebank memory. No unprotected databank. That
is where the error is coming from.
Easiest way to work around the problem is to add -r to gplink. That
will allow gplink to use sharebank when no more databank is available.
Juerg Haefliger wrote:
> Hi,
>
> I'm trying to compile my first PIC program using sdcc (2.6.0) and
> gputils (0.13.4) and I run into the following error message:
>
>> make mvision
>
> sdcc -S -mpic14 -p16F676 main.c
> gpasm -c main.asm
> gplink" -m -s 16F676.lkr -o mvision.hex main.o libsdcc.lib
> error: linker script has no definition that matches the type of
> section "data_main"
> make: *** [mvision] Error 1
>
> Any help is greatly appreciated
>
> Thanks
> ...juerg
>
>
> main.o:
> #include <pic16f676.h>
>
> int main ()
> {
> return 0;
> }
>
>
> Thanks
> ...juerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>