[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems compiling Hurd and Gnumach
From: |
Luis Alberto Lucas |
Subject: |
Problems compiling Hurd and Gnumach |
Date: |
Tue, 11 Sep 2001 23:52:14 -0300 (BRT) |
User-agent: |
IMP/PHP IMAP webmail program 2.2.4 |
I'm running Hurd 0.2 and I got the last version of Gnumach an Hurd from CVS.
I tried to compile Gnumach by doing:
./configure
make
but I got the following error:
mig -nostdinc -DMACH -DCMU -DMACH_KERNEL -DKERNEL
-DMACH_KMSG=1 -DCONTINUATIONS -D__ELF__ -Di386
-DLINUX_DEV -I./i386/i386at -I./i386/i386
-I./i386/include -I./i386/include/mach/sa
-I./i386/bogus -I./i386 -I. -I. -I./include -I./bogus
-I./util -I./kern -I./device -header
mach_i386_interface.h -server mach_i386_server.c -user
/dev/null ./i386/i386/mach_i386.srv
/usr/bin/mig: i386-gnu-gcc: command not found
mig: fatal: no SubSystem declaration
make: *** [mach_i386_server.c] Error 1
I edited the file '/usr/bin/mig' and changed
default_cc=''i386-gnu-gcc'' to default_cc=''gcc-3.0''
and tried to compile again, getting the errors:
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
After trying to compile Gnumach without success, I
tried to compile the Hurd but there was no 'configure'
script so I tried 'autoconf' to generate it. I did:
autoconf
./configure
make
and I got the errors:
make -C libshouldbeinlibc all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libshouldbeinlibc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libshouldbeinlibc'
make -C libihash all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libihash'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libihash'
make -C libthreads all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libthreads'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libthreads'
make -C libiohelp all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libiohelp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libiohelp'
make -C libports all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libports'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libports'
make -C libpager all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libpager'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libpager'
make -C libfshelp all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libfshelp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libfshelp'
make -C libstore all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libstore'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libstore'
make -C libdiskfs all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libdiskfs'
gcc -O -Wall -g -O3 -I. -I.. -I../include
-D_GNU_SOURCE -D_IO_MTSAFE_IO -c -o file-syncfs.o
file-syncfs.c
file-syncfs.c: In function `helper':
file-syncfs.c:61: Internal compiler error:
file-syncfs.c:61: internal error--unrecognizable insn:
(insn/i 112 111 113 (parallel[
(set (reg/v:SI 42)
(asm_operands/v ("xchgl %0, %1")
("=&r") 0[
(reg:SI 41)
]
[
(asm_input:SI ("0"))
] ("/include/machine-lock.h") 53))
(set (mem/v:SI (reg/v:SI 39) 0)
(asm_operands/v ("xchgl %0, %1") ("=m")
1[
(reg:SI 41)
]
[
(asm_input:SI ("0"))
] ("/include/machine-lock.h") 53))
] ) -1 (insn_list 106 (insn_list 111 (nil)))
(expr_list:REG_DEAD (reg:SI 41)
(nil)))
make[1]: *** [file-syncfs.o] Error 1
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libdiskfs'
make: *** [libdiskfs] Error 2
Any ideas ???
- Problems compiling Hurd and Gnumach,
Luis Alberto Lucas <=