bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSKit-Mach problem


From: Erik Verbruggen
Subject: Re: OSKit-Mach problem
Date: Mon, 14 May 2001 11:59:57 +0200
User-agent: Mutt/1.2.5i

On Sun, May 13, 2001 at 09:17:42PM +0200, Gibran Hasnaoui wrote:
> Sorry, 
> I'm trying to get OSKit-Mach working but I have a
> problem with the generated Makefile.
> It seems that there is no target kernel: , that is needed
> by all:

oskit-kernel-ide (or something alike) seems to be a valid target. But
then I get:

gcc -O  -nostdlib -nostartfiles  -r -o oskit-kernel-ide.o \
      -Wl,-\( kernel-ide.o clib-routines.o -loskit_clientos -loskit_c 
-loskit_kern -loskit_lmm -loskit_com -loskit_smp -loskit_exec -loskit_unsupp 
-loskit_dev -loskit_linux_dev -loskit_diskpart  -Wl,-\) -lgcc
gcc -O   oskit-kernel-ide.o   -o oskit-kernel-ide
oskit-kernel-ide.o: In function `_start':
oskit-kernel-ide.o(.text+0x0): multiple definition of `_start'
/usr/lib/crt1.o(.text+0x0): first defined here
collect2: ld returned 1 exit status

The gcc here is the /usr/bin/gcc. When I set the path to
/usr/i386-gnu/bin:$PATH (i386-gnu comes with the gcc-i386-gnu package),
I get:

gcc -O  -nostdlib -nostartfiles  -r -o oskit-kernel-ide.o \
      -Wl,-\( kernel-ide.o clib-routines.o -loskit_clientos -loskit_c 
-loskit_kern -loskit_lmm -loskit_com -loskit_smp -loskit_exec -loskit_unsupp 
-loskit_dev -loskit_linux_dev -loskit_diskpart  -Wl,-\) -lgcc
gcc -O   oskit-kernel-ide.o   -o oskit-kernel-ide
/usr/i386-gnu/bin/ld: cannot open crti.o: No such file or directory
collect2: ld returned 1 exit status

And here I get stuck...

Erik.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]