Poll
Question:
???
Option 1: réponse 1
votes: 0
Option 2: réponse 2
votes: 0
Hello,
In first, i'm sorry for my very bad english. I'm French and i have a very bad level in english :?
I use code::blocks for make pic program but i have this error message:
-------------- Build: Debug in test ---------------
Compiling: main.c-------------- Build: Debug in test ---------------
Compiling: main.c
at 1: warning 119: don't know what to do with file 'pic16f877a'. file extension unsupported
+ "/usr/bin/sdcpp" -nostdinc -Wall -I"/usr/share/sdcc/include" -I"/usr/share/sdcc/lib" -I"/usr/share/sdcc/scripts" -obj-ext=.o -DSDCC_MODEL_SMALL -DSDCC=290 -DSDCC_REVISION=5416 -DSDCC_pic14 -D__pic14 -DSDCC_PROCESSOR="16f877a" -isystem "/usr/bin/../share/sdcc/include/pic14" -isystem "/usr/share/sdcc/include/pic14" -isystem "/usr/bin/../share/sdcc/include" -isystem "/usr/share/sdcc/include" -isystem "/usr/bin/../share/sdcc/include/pic" -isystem "/usr/share/sdcc/include/pic" "main.c"
+ "/usr/bin/gpasm" -g -c "obj/Debug/main.asm"
Linking console executable: bin/Debug/test
at 1: warning 119: don't know what to do with file 'pic16f877a'. file extension unsupported
message: using default linker script "/usr/share/gputils/lkr/16f877a.lkr"
warning: relocation of section "UDL_main_0" failed, relocating to a shared memory location
error: no target memory available for section "UDL_main_0"
+ "/usr/bin/gplink" -I"/usr/bin/../share/sdcc/lib" -I"/usr/share/sdcc/lib" -I"/usr/bin/../share/sdcc/lib/pic" -I"/usr/share/sdcc/lib/pic" -c -w -r -o bin/Debug/test obj/Debug/main.rel /usr/share/sdcc/lib/pic/pic16f877a.lib /usr/share/sdcc/lib/pic/libsdcc.lib libsdcc.lib pic16f877a.lib
+ "/usr/bin/gplink" -I"/usr/bin/../share/sdcc/lib" -I"/usr/share/sdcc/lib" -I"/usr/bin/../share/sdcc/lib/pic" -I"/usr/share/sdcc/lib/pic" -c -w -r -o bin/Debug/test obj/Debug/main.rel /usr/share/sdcc/lib/pic/pic16f877a.lib /usr/share/sdcc/lib/pic/libsdcc.lib libsdcc.lib pic16f877a.lib returned errorcode 256
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
have already had you this message?
which is its resolution ?
thank for your help !
Turn on Full Compiler Logging.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Version of CodeBlocks and Compiler may matter in this case.
Tim S.
thank for your answer
I've already selected "Full command line" but i've always my error
the version is:
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.0 #5416 (Feb 3 2010) (UNIX)
code::blocks : 10.05 rev0
Quote from: stef180 on April 14, 2011, 05:43:20 PM
I've already selected "Full command line" but i've always my error
Then look at the full command line and fix what is wrong.
Tim S.
thank you for your help
I've find the problem:
If i write
while(RD7 == 1);
Code::Blocks return me an error
And if i write
while(RD7 != 0);
Code::Blocks return me no error
I don't know why but it's functional ! :D
It is not C::B, but the compiler, who is returning the error, C::B just displays it.