Xiaofan Chen(xiaofanc@gmail.com) is reported to have said: > On 6/18/06, Xiaofan Chen wrote: > > On 6/18/06, Stef Mientki wrote: > > > hi all, > > > finally the new version of JAL is released. > > > > It seems to me that the configure script for Linux is missing and it will > > be a bit difficult to build the Linux binary from the current Makefiles > > since quite some of the include files are hard-coded. > > > > If I delete the include files section after the "# DO NOT DELETE" > for the indivisual Makefile, I can build jalv2 without a problem under > Linux. It seems to work as well. > > mcuee@ubuntu:~/Desktop/build/jalv2/examples$ ../jalv2/jalv2 stef_12f675.jal > jal 2.0 (compiled Jun 18 2006) > generating p-code > 0 errors, 0 warnings > 178 tokens, 21034 chars; 625 lines; 3 files > generating PIC code pass 1 > generating PIC code pass 2 > writing result > Code area: 12 of 1024 used > Data area: 0 of 192 used > Software stack available: 96 bytes > Hardware stack depth 1 > mcuee@ubuntu:~/Desktop/build/jalv2/examples$ ls stef_12f675.* > stef_12f675.asm stef_12f675.hex stef_12f675.jal > > But since the author says that we should not delete them, > there must be some side effects... You are doing better them I am. I replaced all of the /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h lines in all of the makefile with the correct path for Debian Testing. Errors reported were make -C libcore make[1]: Entering directory `/home/wtopa/DOWNLOADS/JAL2/libcore' gcc -O2 -Werror -pedantic -Wall -Wshadow -Wcast-qual -Wcast-align -g -c -o vardef.o vardef.c cc1: warnings being treated as errors In file included from variable.h:15, from vardef.c:12: vardef.h:74: warning: type qualifiers ignored on function return type vardef.h:84: warning: type qualifiers ignored on function return type vardef.c:310: warning: type qualifiers ignored on function return type vardef.c:413: warning: type qualifiers ignored on function return type make[1]: *** [vardef.o] Error 1 make[1]: Leaving directory `/home/wtopa/DOWNLOADS/JAL2/libcore' make: *** [libcore/libcore.a] Error 2 Also commented all the lines you did but get the same error, as expected. Would have thought a configure script would have solved most of the above. Wayne -- Plug-and-Play is really nice, unfortunately it only works 50% of the time. To be specific the "Plug" almost always works. --unknown source _______________________________________________________ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist