From: Paul D. <du...@ho...> - 2003-07-09 14:48:47
|
Well, first, I don't see your january 31 snapshot. But I finally did a cvs checkout. (I had problems with empty file response, but it seems temporary). I am trying to use DJGPP 2.04. So I copied mk\gnu.mk to config.mk. 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 `*' 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 ============================================== Here, I overwrote bnu2951b.zip with bnu214b.zip. ================Second tried ====================== G:\oslib\oslib>make make -C xlib all make[1]: Entering directory `G:/oslib/oslib/xlib' 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 G:\oslib\oslib> ------------------------------------------------------------------------------ Here, I downloaded and overwrote gcc2953b with gcc322b.zip. From there, I was able to go a bit longer: ================ Last try ================== G:\oslib\oslib>make make -C xlib all make[1]: Entering directory `G:/oslib/oslib/xlib' gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xinfo.c gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c x1.c In file included from x1.c:31: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xsystab.c In file included from xsystab.c:25: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xconv.c In file included from xconv.c:25: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xdosf.c In file included from xdosf.c:24: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xdosm.c In file included from xdosm.c:24: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c ccpu.c In file included from ccpu.c:26: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c fpu.c In file included from fpu.c:30: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c irq.c gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c ctxsw.c gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xinit.c In file included from xinit.c:24: ../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c idtinit.c 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 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. make (e=87): The parameter is incorrect. make[1]: *** [libhx.a] Error 87 make[1]: Leaving directory `G:/oslib/oslib/xlib' make: *** [all] Error 2 ------------------------------------------------------------------------------------- G:\oslib\oslib> G:\oslib\oslib>ar --version GNU ar 2.14 20030612 Not sure what to think from here. Maybe I should not use DJGPP alpha (2.04) ? _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ |
From: Paul D. <du...@ho...> - 2003-07-09 22:22:11
|
I downloaded your suggestion of files. But then the same problem I had once upon a time: G:\oslib\oslib\xlib>set djgpp DJGPP=c:\djgpp\djgpp.env G:\oslib\oslib\xlib>make install gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xinfo.c In file included from xinfo.c:0: c:/djgpp/lib/djgpp.ver:1: sys/version.h: No such file or directory (ENOENT) make.exe: *** [xinfo.o] Error 1 G:\oslib\oslib\xlib>dir c:\djgpp\include\sys\version.h Volume in drive C has no label. Volume Serial Number is F483-204B Directory of c:\djgpp\include\sys 03-06-99 13:22 367 version.h 1 File(s) 367 bytes 0 Dir(s) 1 064 767 488 bytes free G:\oslib\oslib\xlib> So, maybe there is something wrong with my installation but I don't see what. _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ |
From: Paolo G. <pao...@ti...> - 2003-07-10 06:06:51
|
On Thu, 2003-07-10 at 00:22, Paul Dufresne wrote: > G:\oslib\oslib\xlib>make install > gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. > -D__VIRCSW > __ -c xinfo.c > In file included from xinfo.c:0: > c:/djgpp/lib/djgpp.ver:1: sys/version.h: No such file or directory (ENOENT) > make.exe: *** [xinfo.o] Error 1 that is quite strange, because there is no reference at all to sys/version.h in all the Shark source code. usually the whole oslib does not rely at all on the standard include files provided by djgpp! bye PJ -- Paolo Gai <pao...@ti...> Scuola S. Anna |
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 |
From: Luca A. <luc...@em...> - 2003-07-09 20:15:04
|
Hi all, I just resurrected my dos machine... I have DJGPP installed on it. It is an old version, but it still works ;-) : the oslib cvs head compiles flawlessy. According to the manifest directory, I have BNU210, CSDPMI5B, DJDEV203, GCC2953B, MAK3791B, and some other packages that (I think) are not important for compiling oslib. Maybe the trick is just to set the DJGPP environment variable to the proper djgpp.env file? 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: Migliaia di prodotti al prezzo che decidi tu. Fai subito la tua offerta! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1650&d=9-7 |