[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems compiling Hurd and Gnumach
From: |
Gergely Nagy |
Subject: |
Re: Problems compiling Hurd and Gnumach |
Date: |
Wed, 12 Sep 2001 18:35:38 +0200 |
User-agent: |
Mutt/1.3.20i |
Thus spoke Luis Alberto Lucas <lalucas@cefetpr.br> on 2001-09-11 23:52:14:
> cd i386 && make all
> make[1]: Entering directory
> `/linux.home/lalucas/hurd_src/gnumach/i386'
> cd linux && make all
> make[2]: Entering directory
> `/linux.home/lalucas/hurd_src/gnumach/i386/linux'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> '/linux.home/lalucas/hurd_src/gnumach/i386/linux'
> make[1]: Leaving directory
> `/linux.home/lalucas/hurd_src/gnumach/i386'
> ld -Ttext 100000 -o kernel kernel.o clib-routines.o
> clib-routines.o: In function `strpbrk':
> clib-routines.o(.text+0x330): multiple definition of
> `strpbrk'
> kernel.o(.text+0x464e0): first defined here
> ld: Warning: size of symbol `strpbrk' changed from 53
> to 179 in clib-routines.o
> make: *** [kernel] Error 1
>
add `strpbrk' to clib-routines in Makefile.in, then add
#define __HAVE_ARCH_STRPBRK 1
to linux/dev/glue/misc.c
An ugly workaround, but works.
Cheers,
--
Gergely Nagy \ mhp/|8]
pgpOG9sXDddSD.pgp
Description: PGP signature