The problem is ktechlab!
ktechlab assembler files into objects, using sdcc and gpasm, but link this
objects with gplink and not using sdcc. New versions of sdcc using lib files
for PICs , but ktechlab don't tell it to gplink!
Using sdcc in console the file compile and link normally and the hexfile
generated can be used in ktechlab.
======================================
Prof.Luis Claudio Gambôa Lopes
CEFET-MG Campus Leopoldina
Coordenação de Informática Industrial/Automação
(32)3441-4343 ramal 203
--- Em seg, 15/9/08, Nagy László <[EMAIL PROTECTED]> escreveu:
De: Nagy László <[EMAIL PROTECTED]>
Assunto: [Ktechlab-devel] sdcc problem
Para: "ktechlab-devel" <ktechlab-devel@lists.sourceforge.net>
Data: Segunda-feira, 15 de Setembro de 2008, 11:09
What problem?
Building: /home/lacko/Documents/picadder_sdcc/picadder_sdcc.asm
sdcc --debug -S -mpic16 -p18f452
/home/lacko/Documents/picadder_sdcc/picadder_sdcc.c -o
/home/lacko/Documents/picadder_sdcc/picadder_sdcc.asm
*** Compilation successful ***
Building: /home/lacko/Documents/picadder_sdcc/picadder_sdcc.hex
gpasm --object --output
/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o --hex-format inhx32
--warning 2 --ignore-case --force-list
/home/lacko/Documents/picadder_sdcc/picadder_sdcc.asm
*** Assembly successful ***
gplink --hex-format inhx32 --map --output
/home/lacko/Documents/picadder_sdcc/picadder_sdcc.hex
/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o
message: using default linker script
"/usr/share/gputils/lkr/18f452.lkr"
error: missing definition for symbol "__gptrput1", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
error: missing definition for symbol "__gptrget1", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
error: missing definition for symbol "_EECON1bits", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
error: missing definition for symbol "_INTCONbits", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
error: missing definition for symbol "_EEDATA", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
error: missing definition for symbol "_EECON2", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
error: missing definition for symbol "_EEADR", required by
"/home/lacko/tmp/kde-lacko/ktechlabbM3wec.o"
*** Linking failed ***
Regards: biglacko
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel