The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.2.22 (Linux)
File Line Function
/showthread.php 864 errorHandler->error

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.)
compile and linker error with IDE V12 and PIC18F45K50

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


Messages In This Thread
compile and linker error with IDE V12 and PIC18F45K50 - by joske1952 - 27-06-2017, 04:08 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)