gnupic: Newbie and sdcc & gputils


Previous by date: 22 Aug 2006 23:03:35 +0100 differences in lcall macros, Nestor A. Marchesini
Next by date: 22 Aug 2006 23:03:35 +0100 Re: [gnupic] Newbie and sdcc & gputils, Craig Franklin
Previous in thread:
Next in thread:

Subject: Newbie and sdcc & gputils
From: "Juerg Haefliger" ####@####.####
Date: 22 Aug 2006 23:03:35 +0100
Message-Id: <191fb4ca0608221459h1e071305xc9e751a79158baa9@mail.gmail.com>

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

Previous by date: 22 Aug 2006 23:03:35 +0100 differences in lcall macros, Nestor A. Marchesini
Next by date: 22 Aug 2006 23:03:35 +0100 Re: [gnupic] Newbie and sdcc & gputils, Craig Franklin
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.