Robotonics / pinguino32

Automatically exported from code.google.com/p/pinguino32
0 stars 0 forks source link

Trouble on Compiling the keypad32 example #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compiling the keypad32 example in X.4 last revision, 

What is the expected output? What do you see instead?

Compiling sucessul on the output, but instead i get this on the output window:

 Board:  GENERIC32MX250F128
 Proc:   32MX250F128B
 File:   D:\TEMP\x.4\examples\02.Digital\keypad32.pde
 compiling...
 Erro no processo de linkagem D:\TEMP\x.4\examples\02.Digital\keypad32.o
 You can review the file stdout (F8) for more information.

And the STDOUT:

if exist D:\TEMP\x.4\source\main32.o @del D:\TEMP\x.4\source\main32.o

if exist D:\TEMP\x.4\source\main32.elf @del D:\TEMP\x.4\source\main32.elf

if exist D:\TEMP\x.4\source\main32.hex @del D:\TEMP\x.4\source\main32.hex

if exist D:\TEMP\x.4\p32\obj\non-free\processor.o @del 
D:\TEMP\x.4\p32\obj\non-free\processor.o

D:\TEMP\x.4\win32\p32\bin\mips-gcc.exe -EL -Os -ffunction-sections 
-fdata-sections -Wl,--gc-sections -march=24kc -msoft-float  
-Wl,-LD:\TEMP\x.4\p32\obj\non-free -Wl,--defsym,_min_heap_size=16384 
-Wl,-Map=D:\TEMP\x.4\source\output.map -D __PIC32MX__ -D __32MX250F128B__ -D 
GENERIC32MX250F128 -TD:\TEMP\x.4\p32\lkr\GENERIC32MX250F128\procdefs.ld 
-TD:\TEMP\x.4\p32\lkr\GENERIC32MX250F128\elf32pic32mx.x 
-LD:\TEMP\x.4\p32\obj\non-free\usb -lm -lgcc -lc -fdollars-in-identifiers 
-ID:\TEMP\x.4\p32\include\non-free -ID:\TEMP\x.4\p32\include\pinguino\core 
-ID:\TEMP\x.4\p32\include\pinguino\libraries 
-ID:\TEMP\x.4\p32\lkr\GENERIC32MX250F128 -ID:\TEMP\x.4\examples\02.Digital 
-ID:\TEMP\x.4\p32\obj\non-free -msoft-float -ffunction-sections -fdata-sections 
  -c -o D:\TEMP\x.4\source\main32.o D:\TEMP\x.4\source\main32.c 

D:\TEMP\x.4\win32\p32\bin\mips-gcc.exe -EL -Os -ffunction-sections 
-fdata-sections -Wl,--gc-sections -march=24kc -msoft-float  
-Wl,-LD:\TEMP\x.4\p32\obj\non-free -Wl,--defsym,_min_heap_size=16384 
-Wl,-Map=D:\TEMP\x.4\source\output.map -D __PIC32MX__ -D __32MX250F128B__ -D 
GENERIC32MX250F128 -TD:\TEMP\x.4\p32\lkr\GENERIC32MX250F128\procdefs.ld 
-TD:\TEMP\x.4\p32\lkr\GENERIC32MX250F128\elf32pic32mx.x 
-LD:\TEMP\x.4\p32\obj\non-free\usb -lm -lgcc -lc -fdollars-in-identifiers 
-ID:\TEMP\x.4\p32\include\non-free -ID:\TEMP\x.4\p32\include\pinguino\core 
-ID:\TEMP\x.4\p32\include\pinguino\libraries 
-ID:\TEMP\x.4\p32\lkr\GENERIC32MX250F128 -ID:\TEMP\x.4\examples\02.Digital 
-ID:\TEMP\x.4\p32\obj\non-free -msoft-float -ffunction-sections -fdata-sections 
 -o D:\TEMP\x.4\source\main32.elf  \

        D:\TEMP\x.4\source\main32.o \

        D:\TEMP\x.4\p32\obj\non-free\crt0.S \

        D:\TEMP\x.4\p32\obj\non-free\processor.o \

        D:\TEMP\x.4\p32\obj\non-free\usb\libcdc220.a \

        D:\TEMP\x.4\p32\obj\non-free\usb\libadb.a \

        D:\TEMP\x.4\p32\lkr\GENERIC32MX250F128\ISRwrapper.S \

        D:\TEMP\x.4\p32\include\non-free\p32xxxx.h \

        -lm -lgcc -lc

d:/temp/x.4/win32/p32/bin/../lib/gcc/mips-elf/4.5.2/../../../../mips-elf/bin/ld.
exe: D:\TEMP\x.4\source\main32.o: .text.CDCputs+0x54: Direct jumps between ISA 
modes are not allowed; consider recompiling with interlinking enabled.

d:/temp/x.4/win32/p32/bin/../lib/gcc/mips-elf/4.5.2/../../../../mips-elf/bin/ld.
exe: final link failed: Bad value

collect2: ld returned 1 exit status

make: *** [link] Error 1

Please use labels and text to provide additional information.

Original issue reported on code.google.com by fabio.malagas@gmail.com on 17 May 2013 at 10:04

GoogleCodeExporter commented 9 years ago
Please, give us the revision number.

Original comment by rblanchot@gmail.com on 22 May 2013 at 3:39

GoogleCodeExporter commented 9 years ago
It was the r825 .
Also tested on X.4 easy update 685.

Original comment by fabio.malagas@gmail.com on 22 May 2013 at 3:57