[Prev][Next][Index][Thread]
compiling
Hi,
I'm just starting to get my hands dirty and unfortunately I'm running
into a few problems.
I've downloaed the St. Valentine's release and run configure within the
distribution directory. make dies with:
make[1]: Entering directory `/home/dsouth/oskit-20010214/unix'
ld -dc -static -r -L/lib -L/usr/lib -o nativecalls.o `sed 's/^/-u /'
native_syms` \
sbrk-hack.o -lc
/usr/lib/libc.a(init-first.o)(.data+0x0): multiple definition of
`__libc_multiple_libcs'
sbrk-hack.o(.data+0x0):/home/dsouth/oskit-20010214/unix/../unix/linux/sbrk-hack.c:
first defined here
make[1]: *** [nativecalls.o] Error 1
Also, if I run configure from another directory, I get another error
prior to this:
gcc -c -o inline-pc/i16_bios.o -MD -DHAVE_CONFIG_H -DOSKIT_X86
-DOSKIT_X86_PC -I. -I../../../oskit-20010214/kern/x86
-I../../../oskit-20010214/kern/x86/pc
-I../../../oskit-20010214/kern/x86/dos
-I../../../oskit-20010214/kern/x86/i16
-I../../../oskit-20010214/kern/x86/pc/i16
-I../../../oskit-20010214/kern/x86/dos/i16
-I../../../oskit-20010214/kern -I- -I../../../oskit-20010214/oskit/c
-I.. -I../../../oskit-20010214 -nostdinc -Wall -fno-strict-aliasing -O2
-g ../../../oskit-20010214/kern/inline-pc/i16_bios.c
Assembler messages:
FATAL: can't create inline-pc/i16_bios.o: No such file or directory
make[1]: *** [inline-pc/i16_bios.o] Error 1
make[1]: Leaving directory `/home/dsouth/projects/os/kern'
It appears that the directory inline-pc doesn't exist. If I create it,
then make happily runs about until it gets to the previous error of
multiple definition, etc. Is that the right answer, create the directory?
I'm compiling this on Debian Woody (yes, I know there is a oskit
packages, but I'm on the narrow end of a 33.6k connection and 10M of
source is nicer than 27.9M of ready to go package).
So basically, help! 8) I know this may not be enough info, but I'm not
sure what else to provide without increasing the noise, so please let me
know and I'll supply anything else that might help to help you help me.
TIA,
Doug