Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compile and linker error with IDE V12 and PIC18F45K50
27-06-2017, 04:08 PM, (This post was last modified: 27-06-2017, 04:55 PM by joske1952.)
#1
compile and linker error with IDE V12 and PIC18F45K50
hello,

I'am using pinguino board with 18F45K50, pinguino IDE V12,  pc with Linux Mint 
I get a linker error when trying to compile and link any program with SDCC (event the bare minimum program  from the samples).
However, everything works fine if I compile and link with XC8.
Strange enough, SDCC compiles and links correctly for some  microcontrollers like  4550, 2550, 2455,1708,  ...  but fails for some other like 25K50, 45K50, 27J53, Torda, ..
I'am using :

Linux jgl 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u1 (2017-06-18) x86_64 GNU/Linux
gputils version 0.13.7-1
pinguino V12.0.39-beta2 (the 'latest' one as recommended from download page)
python 2.7.9
Here the error messages:
1) warning: "/opt/pinguino/p8/bin/../share/sdcc/lib/pic16/libio18f45k50.lib" is missing symbol index.


2) gplink: /home/regis/Dvpt/pinguino/git-copy/pinguino-compilers/sources/gputils/libgputils/gparchive.c:598: gp_archive_read_index: Assertion `gp_archive_have_index(Archive)' failed

3)+ /opt/pinguino/p8/bin/gplink -I/opt/pinguino/p8/bin/../share/sdcc/lib/pic16 -I/home/regis/Dvpt/pinguino/git-copy/pinguino-compilers/linux64/p8/share/sdcc/lib/pic16 -I/opt/pinguino/p8/bin/../share/sdcc/non-free/lib/pic16 -I/home/regis/Dvpt/pinguino/git-copy/pinguino-compilers/linux64/p8/share/sdcc/non-free/lib/pic16  -s"/opt/pinguino/v12/p8/lkr/boot4.18f45k50.lkr" -m  -w -r -o /home/jos/Pinguino/v12/source/main.hex  /home/jos/Pinguino/v12/source/main.o   libio18f45k50.lib libdev18f45k50.lib libc18f.lib libm18f.lib libdev18f45k50.lib libsdcc.lib  returned errorcode 34304


Thanks for any suggestion

jl
Reply
28-06-2017, 02:23 PM,
#2
RE: compile and linker error with IDE V12 and PIC18F45K50
You might try to download and unzip the latest SDCC and GPUTILS sources in /opt/pinguino/p8.
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)