[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#78990: Cannot compile gnumach because of asm/string.h
From: |
Ognyan Kulev |
Subject: |
Bug#78990: Cannot compile gnumach because of asm/string.h |
Date: |
Thu, 7 Dec 2000 12:18:19 +0200 |
User-agent: |
Mutt/1.2.5i |
Package: gnumach
Version: 1.2-2
Trying to compile gnumach on Linux, I do
apt-get install gcc-i386-gnu mig-i386-gnu
apt-get source gnumach
cd gnumach-1.2
export PATH=/usr/i386-gnu/bin:$PATH # Is it needed really?
dpkg-buildpackage -ahurd-i386
and after cleaning, compiling, etc it stops:
cc -O -D__KERNEL__ -O2 -Idev/include -I../../../i386/linux/dev/include
-I../../linux/dev/include -I../../linux/src/include
-I../../../i386/linux/../../linux/dev/include
-I../../../i386/linux/../../linux/src/include -DMACH -DCMU -DMACH_KERNEL
-DKERNEL -DLINUX_DEV -DCONTINUATIONS -D__ELF__ -Di386 -I. -I..
-I../../../i386/linux/.. -I../.. -I../../../i386/linux/../..
-I../../../i386/linux/../../include -I../../../i386/linux/../../bogus
-I../../../i386/linux/../../util -I../../../i386/linux/../../kern
-I../../../i386/linux/../../device -I../../../i386/linux/../i386at
-I../../../i386/linux/../i386 -I../../../i386/linux/../include
-I../../../i386/linux/../include/mach/sa -I../../../i386/linux/../bogus
-I../../../i386/linux/.. -Wall -c -o vsprintf.o
../../../i386/linux/../../linux/dev/lib/vsprintf.c
../../../i386/linux/../../linux/dev/lib/vsprintf.c: In function
simple_strtoul':
../../../i386/linux/../../linux/dev/lib/vsprintf.c:32: warning: subscript
has type char'
../../../i386/linux/../../linux/dev/lib/vsprintf.c:39: warning: subscript
has type char'
../../../i386/linux/../../linux/dev/lib/vsprintf.c:40: warning: subscript
has type char'
../../../i386/linux/../../linux/dev/lib/vsprintf.c:41: warning: subscript
has type char'
../../../i386/linux/../../linux/dev/lib/vsprintf.c:41: warning: subscript
has type char'
../../../i386/linux/../../linux/dev/lib/vsprintf.c: In function number':
../../../i386/linux/../../linux/dev/lib/vsprintf.c:133: warning: suggest
explicit braces to avoid ambiguous else'
../../../i386/linux/../../linux/dev/lib/vsprintf.c: In function
linux_vsprintf':
../../linux/dev/include/asm/string.h:551: Invalid asm' statement:
../../linux/dev/include/asm/string.h:551: fixed or forbidden register 1 (dx)
was spilled for class DREG.
make[3]: *** [vsprintf.o] Error 1
make[3]: Leaving directory /home/ogi/gnumach-1.2/build/i386/linux'
make[2]: *** [linux/linux.o] Error 2
make[2]: Leaving directory /home/ogi/gnumach-1.2/build/i386'
make[1]: *** [i386/sysdep.o] Error 2
make[1]: Leaving directory /home/ogi/gnumach-1.2/build'
make: *** [stamp-build] Error 2
I look at string.h, but asm syntax of GCC is too cryptic for me ;-)
--
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
- Bug#78990: Cannot compile gnumach because of asm/string.h,
Ognyan Kulev <=