gnupic: Re: [gnupic] Newbie and sdcc & gputils
Subject:
Re: [gnupic] Newbie and sdcc & gputils
From:
"Juerg Haefliger" ####@####.####
Date:
24 Aug 2006 07:02:36 +0100
Message-Id: <191fb4ca0608232259k2c01656ci85a01fd75f2c1288@mail.gmail.com>
Thanks for the hint, Craig.
That fixed the problem.
...juerg
On 8/23/06, Craig Franklin ####@####.#### wrote:
> 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: ####@####.####
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>