Slowly beginning to understand...
I have copied linux.mk to ../config.mk to use cygwin.
BTW here the versions I used:
GCC 3.2
as(binutils) 2.13.90
make 3.79.1
Now, make clean works fine.
But when it comes to doing make install, and it comes to the
examples directory:
make -C examples all
make[1]: Entering directory `/usr/oslib/oslib/examples'
gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__LINUX__ -I.. -c
mbdem
o.c
In file included from mbdemo.c:27:
../ll/i386/mem.h:308:17: warning: multi-line string literals are deprecated
ld -Bstatic -Ttext 0x220000 -s -nostartfiles -nostdlib -L../lib/ ../lib/x0.o
mbd
emo.o --start-group -lhc -lhm -lhx -lkl -lcons --end-group -o mbdemo.xtn
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to
00220000
../lib/x0.o(.text+0x4e):x0.s: undefined reference to `halt'
../lib/x0.o(.text+0x95):x0.s: undefined reference to `stkbase'
../lib/x0.o(.text+0x9f):x0.s: undefined reference to `stktop'
../lib/x0.o(.text+0xc9):x0.s: undefined reference to `startup'
mbdemo.o(.text+0x228):mbdemo.c: undefined reference to `_alloca'
../lib//libhc.a(stdlib.o.b)(.text+0x22):stdlib.c: undefined reference to
`__exit
'
../lib//libhx.a(x1.o.b)(.text+0x50):x1.c: undefined reference to `mbi'
../lib//libhx.a(x1.o.b)(.text+0x168):x1.c: undefined reference to `mbi'
../lib//libkl.a(init.o)(.text+0x2c1):init.c: undefined reference to
`ll_abort'
../lib//libkl.a(event.o)(.text+0x1fe):event.c: undefined reference to
`ll_timer'
../lib//libkl.a(event.o)(.text+0x3cb):event.c: undefined reference to
`last_hand
ler'
../lib//libkl.a(time.o)(.text+0x3ea):time.c: undefined reference to
`ll_abort'
../lib//libhx.a(xinit.o)(.text+0xc):xinit.c: undefined reference to
`ll_irq_tabl
e'
../lib//libhx.a(xinit.o)(.text+0x3a):xinit.c: undefined reference to
`ll_irq_tab
le'
../lib//libhx.a(xinit.o)(.text+0x59):xinit.c: undefined reference to
`X86_get_FP
U'
../lib//libhx.a(xinit.o)(.text+0x72):xinit.c: undefined reference to
`X86_fpu'
../lib//libhx.a(xinit.o)(.text+0xde):xinit.c: undefined reference to
`init_TR'
../lib//libhx.a(xsystab.o)(.text+0xb):xsystab.c: undefined reference to
`IDT'
../lib//libhx.a(xsystab.o)(.text+0x19):xsystab.c: undefined reference to
`IDT'
../lib//libhx.a(xsystab.o)(.text+0x21):xsystab.c: undefined reference to
`IDT'
../lib//libhx.a(xsystab.o)(.text+0x7d):xsystab.c: undefined reference to
`GDT_ba
se'
../lib//libhx.a(xsystab.o)(.text+0xb1):xsystab.c: undefined reference to
`GDT_ba
se'
../lib//libhx.a(idtinit.o)(.text+0x11):idtinit.c: undefined reference to
`h0'
../lib//libhx.a(idtinit.o)(.text+0x25):idtinit.c: undefined reference to
`h1'
../lib//libhx.a(idtinit.o)(.text+0x39):idtinit.c: undefined reference to
`h2'
../lib//libhx.a(idtinit.o)(.text+0x4d):idtinit.c: undefined reference to
`h3'
../lib//libhx.a(idtinit.o)(.text+0x61):idtinit.c: undefined reference to
`h4'
../lib//libhx.a(idtinit.o)(.text+0x75):idtinit.c: undefined reference to
`h5'
../lib//libhx.a(idtinit.o)(.text+0x89):idtinit.c: undefined reference to
`h6'
../lib//libhx.a(idtinit.o)(.text+0x9d):idtinit.c: undefined reference to
`exc7'
../lib//libhx.a(idtinit.o)(.text+0xb1):idtinit.c: undefined reference to
`h8'
...
...
../lib//libhx.a(idtinit.o)(.text+0x13e9):idtinit.c: undefined reference to
`h254
'
../lib//libhx.a(idtinit.o)(.text+0x13fd):idtinit.c: undefined reference to
`h255
'
../lib//libhx.a(ccpu.o)(.text+0x61):ccpu.c: undefined reference to
`X86_is386'
../lib//libhx.a(ccpu.o)(.text+0x72):ccpu.c: undefined reference to
`X86_hasCPUID
'
../lib//libhx.a(ccpu.o)(.text+0xb7):ccpu.c: undefined reference to
`X86_isCyrix'
make[1]: *** [mbdemo.xtn] Error 1
rm mbdemo.o
make[1]: Leaving directory `/usr/oslib/oslib/examples'
make: *** [install] Error 2
_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !
http://messenger.fr.msn.ca/
|