<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><pre>Zoltan,</pre><br>In comand line sdcc:<br><br>sdcc -V  -mpic14 -p16f628 0001-test.c<br><br>+ "/usr/local/bin/sdcpp" -nostdinc -Wall -std=c99 -obj-ext=.o -DSDCC_MODEL_SMALL -DSDCC=280 -DSDCC_REVISION=5117 -DSDCC_pic14 -D__pic14 -DSDCC_PROCESSOR="16f628" -I"/usr/local/bin/../share/sdcc/include/pic14" -I"/usr/local/share/sdcc/include/pic14" -I"/usr/local/bin/../share/sdcc/include" -I"/usr/local/share/sdcc/include" -I"/usr/local/bin/../share/sdcc/include/pic" -I"/usr/local/share/sdcc/include/pic"  "0001-test.c"<br>+ "/usr/local/bin/gpasm" -c "0001-test.asm"<br>+ "/usr/local/bin/gplink" -I"/usr/local/bin/../share/sdcc/lib" -I"/usr/local/share/sdcc/lib"  -I"/usr/local/bin/../share/sdcc/lib/pic" -I"/usr/local/share/sdcc/lib/pic"   -w -r -o 0001-test 0001-test.o   libsdcc.lib pic16f628.lib<br>message: using default linker script
 "/usr/local/share/gputils/lkr/16f628.lkr"<br><br>In ktechlab (with error):<br>gplink --hex-format inhx16 --map --output /home/gamboa/Desktop/sdcctest/0001-test.hex /tmp/kde-gamboa/ktechlabj084nb.o<br>message: using default linker script "/usr/local/share/gputils/lkr/16f628.lkr"<br>error: missing definition for symbol "_CMCON", required by "/tmp/kde-gamboa/ktechlabj084nb.o"<br>error: missing definition for symbol "_PORTA", required by "/tmp/kde-gamboa/ktechlabj084nb.o"<br>error: missing definition for symbol "_PORTB", required by "/tmp/kde-gamboa/ktechlabj084nb.o"<br>error: missing definition for symbol "_TRISA", required by "/tmp/kde-gamboa/ktechlabj084nb.o"<br>error: missing definition for symbol "__sdcc_gsinit_startup", required by "/tmp/kde-gamboa/ktechlabj084nb.o"<br>error: missing definition for symbol "_TRISB", required by "/tmp/kde-gamboa/ktechlabj084nb.o"<br>*** Linking failed ***<br><br>Example file used in test in
 annex.<br><br><br>======================================<br>
Prof.Luis Claudio Gambôa Lopes<br>
CEFET-MG Campus Leopoldina<br>
<br>
Coordenação de Informática Industrial/Automação<br>
<br>
(32)3449-2309<br><br>--- Em <b>ter, 16/9/08, P Zoltan <i><zoltan.padrah@gmail.com></i></b> escreveu:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: P Zoltan <zoltan.padrah@gmail.com><br>Assunto: Re: [Ktechlab-devel] sdcc problem<br>Para: lcgamboa@yahoo.com, ktechlab-devel@lists.sourceforge.net<br>Data: Terça-feira, 16 de Setembro de 2008, 11:08<br><br><pre>On Mon, 15 Sep 2008 17:25:02 +0200, Luis Claudio Gamboa Lopes  <br><lcgamboa@yahoo.com> wrote:<br><br>> The problem is ktechlab!<br>><br>> ktechlab assembler files into objects, using sdcc and gpasm, but link  <br>> this objects with gplink and not using sdcc. New versions of sdcc using  <br>> lib files for PICs , but ktechlab don't  tell it to gplink!<br>> Using sdcc in console the file compile and link normally and the hexfile  <br>> generated can be used in ktechlab.<br>><br><br>  Could you
 please send a correct command-sequence to compile something  <br>with sdcc? I want to create a bug report for thisd and to fix it one day...<br><br>  Zoltan<br><br></pre></blockquote></td></tr></table><br>


      <hr size=1>Novos endereços, o Yahoo! que você conhece. <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.new.mail.yahoo.com/addresses">Crie um email novo</a> com a sua cara @ymail.com ou @rocketmail.com.