From: Luca A. <luc...@em...> - 2003-07-09 18:18:57
|
Hi Paul, On Wed, 2003-07-09 at 07:48, Paul Dufresne wrote: > Well, first, I don't see your january 31 snapshot. Go to http://sourceforge.net/projects/oslib/ then "Files", and you should see it. Unfortunately, the web site is still a little bit confused... I have to rewrite the "download" section. > But I finally did a cvs checkout. (I had problems with empty file response, > but it seems temporary). Yes, this is a well known problem with the sourceforge anonymous cvs... Retrying generally solves the problem. > I am trying to use DJGPP 2.04. > > So I copied mk\gnu.mk to config.mk. Ok... > I did made some changes to get it go longer, I include all my log here > however, > to give you an idea of what I did. > > =============== First try ================== > G:\oslib\oslib>make > make -C xlib all > make[1]: Entering directory `G:/oslib/oslib/xlib' > gcc -x assembler-with-cpp -D__GNU__ -I.. -D__VIRCSW__ -c xsys0.s > gcc -x assembler-with-cpp -D__GNU__ -I.. -D__VIRCSW__ -c cpu2.s > gcc -x assembler-with-cpp -D__GNU__ -I.. -D__VIRCSW__ -c exc.s > g:/djgpp/tmp\ccejONXw.s: Assembler messages: > g:/djgpp/tmp\ccejONXw.s:595: Warning: Indirect ljmp without `*' > g:/djgpp/tmp\ccejONXw.s:693: Warning: Indirect ljmp without `*' > g:/djgpp/tmp\ccejONXw.s:794: Warning: Indirect ljmp without `*' Ok, these warnings are expected. > gcc -x assembler-with-cpp -D__GNU__ -I.. -D__VIRCSW__ -c ctx.s > g:/djgpp/tmp\ccd6QuXI.s: Assembler messages: > g:/djgpp/tmp\ccd6QuXI.s:224: Warning: Indirect ljmp without `*' > gcc -x assembler-with-cpp -D__GNU__ -I.. -D__VIRCSW__ -c mem.s > gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. > -D__VIRCSW > __ -c xinfo.c > In file included from xinfo.c:0: > g:/djgpp/lib/djgpp.ver:1: sys/version.h: No such file or directory (ENOENT) > make[1]: *** [xinfo.o] Error 1 > make[1]: Leaving directory `G:/oslib/oslib/xlib' > make: *** [all] Error 2 This looks like a problem in the gcc installation... Anyway, try to remove -nostdinc from C_OPT, and let me know if this solves the problem. [...] > gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. > -D__VIRCSW > __ -c vm86.c > In file included from vm86.c:33: > ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated These warnings with gcc 3.2 are expected... Don't worry about them. > gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. > -D__VIRCSW > __ -c xbios.c > In file included from xbios.c:27: > ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated > xbios.c: In function `x_bios_address': > xbios.c:53: warning: implicit declaration of function `GDT_read' > ar rs libhx.a xsys0.o cpu2.o exc.o ctx.o mem.o xinfo.o x1.o xsystab.o > xconv.o x > dosf.o xdosm.o ccpu.o fpu.o irq.o ctxsw.o xinit.o idtinit.o vm86.o xbios.o > process_begin: CreateProcess(g:\djgpp\bin\ar.exe, ar rs libhx.a xsys0.o > cpu2.o e > xc.o ctx.o mem.o xinfo.o x1.o xsystab.o xconv.o xdosf.o xdosm.o ccpu.o fpu.o > irq > .o ctxsw.o xinit.o idtinit.o vm86.o xbios.o, ...) failed. This is definitly a DJGPP installation problem... Are you sure that you correctly installed DJGPP? If I remember correctly, this includes setting some environment variables. I have a working DJGPP on my dos machine... I'll try it as soon as I will have some spare time, but it used to work last time that I checked. I do not remember the exact files that I installed, but I just followed the instructions from http://www.delorie.com I know that Salvo was able to compile the oslib cvs head by using DJGPP; I'll ask him his configuration and I'll post it here. Luca -- _____________________________________________________________________________ Copy this in your signature, if you think it is important: N O W A R ! ! ! -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: ...Occhiali da sole? Da vista? Lenti a contatto? Vieni a provare la convenienza su Occhialeria.it! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=881&d=9-7 |