Hi guys, I can't seem to build lejos.

Mac OSX.4
Java 1.4.2
GCC 4.01

Has anyone got any idea what I can do??


[stue9b0:~/Documents/Development/lejos_2_1_0] Matt% make
cd tools; make OSTYPE=darwin
cd firmdl; make
gcc -c -O2  -g osx_usb.c
gcc firmdl.o srec.o rcx_comm.o util.o osx_usb.o -o ../../bin/ lejosfirmdl -O2 -g -framework IOKit -framework CoreFoundation gcc lejosrun.o firmdl/rcx_comm.o firmdl/osx_usb.o -o ../bin/lejosrun -framework IOKit -framework CoreFoundation
javac -target 1.1 -classpath classes `find classes -name '*.java'`
cd classes; jar cf ../lib/classes.jar `find . -name '*.class'`
cd rcxcomm; make OSTYPE=darwin
cd src; make
make[2]: `../../bin/libirtower.jnilib' is up to date.
cd classes; make
javac `find . -name '*.java'`
jar cf ../../lib/pcrcxcomm.jar `find . -name '*.class'`
cd rcxclasses; make
javac -target 1.1 -classpath "../../lib/classes.jar" `find . -name '*.java'`
jar cf ../../lib/rcxrcxcomm.jar `find . -name '*.class'`
====> Making java tools
javac -target 1.1 -classpath "jtools:./lib/pcrcxcomm.jar" jtools/js/ tools/*.java
java -classpath jtools -Dtinyvm.home="." js.tools.GenerateConstants
====> Making loader/linker (lejos)
javac -target 1.1 jtools/js/tinyvm/*.java
cd jtools; jar cf ../lib/jtools.jar `find . -name '*.class'`
====> Making leJOS Unix binaries (lejos, for emulation)
cd unix_impl; make OSTYPE=darwin
gcc -I../vmsrc -I. -Wall -Wno-unused -c ../vmsrc/threads.c
../vmsrc/threads.c: In function 'switch_thread':
../vmsrc/threads.c:326: error: label at end of compound statement
make[1]: *** [threads.o] Error 1
make: *** [tinyvm_emul] Error 2
[stue9b0:~/Documents/Development/lejos_2_1_0] Matt% make clean
rm -f `find . -name '*.class'`
rm -f `find . -name 'core'`
rm -f `find . -name '*.o'`
rm -f `find . -name '*~'`
rm -f `find . -name '*.tvm'`
rm -f `find . -name '*.bin'`
rm -f `find . -name '*.sig'`
rm -f `find . -name '*.bak'`
rm -f `find . -name '*.stackdump'`
rm -f `find . -name '*.backtrace'`
rm -rf apidocs pcapidocs visionapidocs
[stue9b0:~/Documents/Development/lejos_2_1_0] Matt% make
cd tools; make OSTYPE=darwin
cd firmdl; make
gcc -c -O2  -g osx_usb.c
gcc -O2  -g   -c -o mkimg.o mkimg.c
mkimg.c: In function 'srec_load':
mkimg.c:63: warning: incompatible implicit declaration of built-in function 'exit' mkimg.c:84: warning: incompatible implicit declaration of built-in function 'exit' mkimg.c:90: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mkimg.c:99: warning: incompatible implicit declaration of built-in function 'exit' mkimg.c:111: warning: incompatible implicit declaration of built-in function 'exit' mkimg.c:131: warning: incompatible implicit declaration of built-in function 'exit'
mkimg.c: In function 'main':
mkimg.c:173: warning: incompatible implicit declaration of built-in function 'exit' mkimg.c:176: warning: pointer targets in passing argument 1 of 'build_image_name' differ in signedness
gcc -O2  -g   -c -o srec.o srec.c
gcc mkimg.o srec.o -o mkimg -O2  -g
./mkimg fastdl.srec > fastdl.h
gcc -O2  -g   -c -o firmdl.o firmdl.c
firmdl.c: In function 'srec_load':
firmdl.c:200: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
gcc -O2  -g   -c -o rcx_comm.o rcx_comm.c
gcc -O2  -g   -c -o util.o util.c
gcc firmdl.o srec.o rcx_comm.o util.o osx_usb.o -o ../../bin/ lejosfirmdl -O2 -g -framework IOKit -framework CoreFoundation
gcc -I../vmsrc -Wall -Wno-unused -O2  -c lejosrun.c
gcc lejosrun.o firmdl/rcx_comm.o firmdl/osx_usb.o -o ../bin/lejosrun -framework IOKit -framework CoreFoundation
gcc -I../vmsrc -Wall -Wno-unused -O2  -c util.c
gcc -DTOOL_NAME=\"javac\" -DTOOL_ALT_VAR=\"JAVAC\" -DJAVA2 -c jtoolexec.c
gcc jtoolexec.o util.o -o ../bin/lejosc
gcc -DTOOL_NAME=\"javap\" -DTOOL_ALT_VAR=\"JAVAP\" -DJAVA2 -c jtoolexec.c
gcc jtoolexec.o util.o -o ../bin/lejosp
gcc -DTOOL_NAME=\"javac\" -DTOOL_ALT_VAR=\"JAVAC\" -c jtoolexec.c
gcc jtoolexec.o util.o -o ../bin/lejosc1
gcc -DTOOL_NAME=\"javap\" -DTOOL_ALT_VAR=\"JAVAP\" -c jtoolexec.c
gcc jtoolexec.o util.o -o ../bin/lejosp1
gcc -DWRITE_ORDER=\"BE\" -DLOADER_TOOL=\"lejosrun\"  -c javaexec.c
gcc javaexec.o util.o -o ../bin/lejos
gcc -DWRITE_ORDER=\"LE\" -DLOADER_TOOL=\"emu-lejosrun\" -c javaexec.c
gcc javaexec.o util.o -o ../bin/emu-lejos
javac -target 1.1 -classpath classes `find classes -name '*.java'`
cd classes; jar cf ../lib/classes.jar `find . -name '*.class'`
cd rcxcomm; make OSTYPE=darwin
cd src; make
gcc -c -framework IOKit -framework CoreFoundation -I/System/Library/ Frameworks/JavaVM.framework/Headers osx_usb.c powerpc-apple-darwin8-gcc-4.0.1: -framework: linker input file unused because linking not done powerpc-apple-darwin8-gcc-4.0.1: IOKit: linker input file unused because linking not done powerpc-apple-darwin8-gcc-4.0.1: -framework: linker input file unused because linking not done powerpc-apple-darwin8-gcc-4.0.1: CoreFoundation: linker input file unused because linking not done g++ -g -O -dynamiclib -framework IOKit -framework CoreFoundation -I/ System/Library/Frameworks/JavaVM.framework/Headers osx_usb.o -o ../../ bin/libirtower.jnilib *.cpp
cd classes; make
javac `find . -name '*.java'`
jar cf ../../lib/pcrcxcomm.jar `find . -name '*.class'`
cd rcxclasses; make
javac -target 1.1 -classpath "../../lib/classes.jar" `find . -name '*.java'`
jar cf ../../lib/rcxrcxcomm.jar `find . -name '*.class'`
====> Making java tools
javac -target 1.1 -classpath "jtools:./lib/pcrcxcomm.jar" jtools/js/ tools/*.java
java -classpath jtools -Dtinyvm.home="." js.tools.GenerateConstants
====> Making loader/linker (lejos)
javac -target 1.1 jtools/js/tinyvm/*.java
cd jtools; jar cf ../lib/jtools.jar `find . -name '*.class'`
====> Making leJOS Unix binaries (lejos, for emulation)
cd unix_impl; make OSTYPE=darwin
gcc -I../vmsrc -I. -Wall -Wno-unused -c ../vmsrc/interpreter.c
gcc -I../vmsrc -I. -Wall -Wno-unused -c ../vmsrc/threads.c
../vmsrc/threads.c: In function 'switch_thread':
../vmsrc/threads.c:326: error: label at end of compound statement
make[1]: *** [threads.o] Error 1
make: *** [tinyvm_emul] Error 2





-----------------------------------
Matthew Wilkinson
[EMAIL PROTECTED]
[EMAIL PROTECTED]





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to