On Thursday, June 24, 1999 6:17 PM, Joseph Dunn [SMTP:[EMAIL PROTECTED]]
wrote:
: Hi,
:
: I just downloaded the latest ver. of Dev86 and Microwin. I built Dev86,
installed it, and then moved on to try out Microwin. I tried to compile it,
but I got an error complaining that two include files, linuxmt/time.h and
linuxmt/posix_types.h could not be found. I went into
/usr/bcc/include/linuxmt, and no, the files were not there. So I went into
winmain.c and commented out the two include lines. Then I tried compiling
and I got this error.
:
: bcc -0 -ansi -I/usr/bcc/include -DELKS=1 -DUNIX=1 -Dconst= -Dvolatile=
-DGS_NONETWORK=1 -DFASTMOVE=1 -c winmain.c -o winmain.o
: winmain.c:93.12: error: fd_set undeclared
: winmain.c:93.12: error: need ';'
: winmain.c:93.13: error: rfds undeclared
: winmain.c:94.4: error: bad expression
: winmain.c:94.7: error: need ';'
: winmain.c:94.8: error: e undeclared
: winmain.c:95.7: error: bad expression
: winmain.c:95.15: error: need ';'
: winmain.c:95.18: error: timeval undeclared
: winmain.c:95.18: error: need ';'
: winmain.c:95.19: error: to undeclared
: winmain.c:107.10: error: undefined structure element
:
: Does anyone have any ideas about what I'm doing wrong, and can anyone
give me any suggestions as to how to make this thing work?
:
: Thanks,
: Joseph Dunn
: << File: ATT00009.htm >>
Refer to the Blaz's response:
I have to admit i didn't believe anything would really happen when i ran
microwin binary in elks .. but the thing actually works :-)))
My installation procedure (after reading all the comments on the list i
didnt want to mess with trial&error methods), i hope it is useful for
other people out there too:
- get newest elks kernel source (0.0.77) and the newest Dev86 package
- unpack kernel source, unpack Dev86 (in /usr/src for example), go to
/usr/src/linux-86/libc/syscall, rm syscall.dat
- ln -s /usr/src/elks/arch/i86/kernel/syscall.dat syscall.dat
- now you have flexible linux-86 package, just be sure to recompile libc
whenever new syscall is added to the kernel (= cd /usr/src/linux-86;
make, maybe make install after that)
- modify Makefile in mwin/server directory according to the instructions
in INSTALL file (Greg: IMO there should be another ifdef in that
makefile, at the line where graphics libs are defined, where comment
looking like "if LINUX ..." appears, shouldn't it ?), modify the other
three Makefiles mentioned there and finally modify demo.c to exclide
some demos
- make; cp microwin to your elks root image (i suggest using comb disk
image as it is already equipped with all the fancy tools and still has
plenty of room for user binaries and besides that allows easier kernel
image manipulation (copy your newly built Image from elks source tree to
/mnt/boot/linux where /mnt is the mountpoint where your floppy with comb
image is mounted)
- boot ELKS using that floppy, run microwin, enjoy, ask yourself why
doesn't author use some sort of XORmapping before doing real output to
the screen :)