LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] compiling ancient kernels

[ILUG] compiling ancient kernels

Stephen Shirley diamond at skynet.ie
Tue Jul 9 11:40:30 IST 2002


Mornin' all,
	I'm trying to compile kernel 1.2.13 for a 386 i have at home. The
build machine i'm using is a p166 running slackware 8.1. The problem i'm
having is when i run 'make zImage', i get the following errors:

diamond at derek:~/kernel/linux$ make zImage
gcc -D__KERNEL__ -I/home/diamond/kernel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386  -c -o init/main.o init/main.c
In file included from init/main.c:11:
/home/diamond/kernel/linux/include/asm/io.h: In function `__inbc':
/home/diamond/kernel/linux/include/asm/io.h:78: warning: asm operand 0 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__inbc_p':
/home/diamond/kernel/linux/include/asm/io.h:78: warning: asm operand 0 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__inwc':
/home/diamond/kernel/linux/include/asm/io.h:79: warning: asm operand 0 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__inwc_p':
/home/diamond/kernel/linux/include/asm/io.h:79: warning: asm operand 0 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__inlc':
/home/diamond/kernel/linux/include/asm/io.h:80: warning: asm operand 0 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__inlc_p':
/home/diamond/kernel/linux/include/asm/io.h:80: warning: asm operand 0 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__outbc':
/home/diamond/kernel/linux/include/asm/io.h:82: warning: asm operand 1 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__outbc_p':
/home/diamond/kernel/linux/include/asm/io.h:82: warning: asm operand 1 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__outwc':
/home/diamond/kernel/linux/include/asm/io.h:83: warning: asm operand 1 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__outwc_p':
/home/diamond/kernel/linux/include/asm/io.h:83: warning: asm operand 1 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__outlc':
/home/diamond/kernel/linux/include/asm/io.h:84: warning: asm operand 1 probably doesn't match constraints
/home/diamond/kernel/linux/include/asm/io.h: In function `__outlc_p':
/home/diamond/kernel/linux/include/asm/io.h:84: warning: asm operand 1 probably doesn't match constraints
In file included from /home/diamond/kernel/linux/include/linux/string.h:38,
                 from /home/diamond/kernel/linux/include/linux/time.h:19,
                 from /home/diamond/kernel/linux/include/linux/sched.h:58,
                 from init/main.c:16:
/home/diamond/kernel/linux/include/asm/string.h: In function `__constant_memcpy':
/home/diamond/kernel/linux/include/asm/string.h:398: warning: control reaches end of non-void function
/home/diamond/kernel/linux/include/asm/string.h: In function `__constant_c_and_count_memset':
/home/diamond/kernel/linux/include/asm/string.h:516: warning: control reaches end of non-void function
init/main.c: In function `get_options':
init/main.c:120: warning: subscript has type `char'
/home/diamond/kernel/linux/include/asm/string.h:139: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:139: fixed or forbidden register 4 (si) was spilled for class SIREG.
init/main.c: In function `checksetup':
/home/diamond/kernel/linux/include/asm/string.h:274: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:274: fixed or forbidden register 5 (di) was spilled for class DIREG.
/home/diamond/kernel/linux/include/asm/string.h:121: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:121: fixed or forbidden register 2 (cx) was spilled for class CREG.
init/main.c: In function `calibrate_delay':
/home/diamond/kernel/linux/include/asm/delay.h:12: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/delay.h:12: fixed or forbidden register 0 (ax) was spilled for class AREG.
init/main.c: In function `parse_options':
/home/diamond/kernel/linux/include/asm/string.h:139: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:139: fixed or forbidden register 4 (si) was spilled for class SIREG.
/home/diamond/kernel/linux/include/asm/string.h:121: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:121: fixed or forbidden register 2 (cx) was spilled for class CREG.
/home/diamond/kernel/linux/include/asm/string.h:121: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:121: fixed or forbidden register 2 (cx) was spilled for class CREG.
/home/diamond/kernel/linux/include/asm/string.h:121: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:121: fixed or forbidden register 2 (cx) was spilled for class CREG.
/home/diamond/kernel/linux/include/asm/string.h:100: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:100: fixed or forbidden register 4 (si) was spilled for class SIREG.
/home/diamond/kernel/linux/include/asm/string.h:100: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:100: fixed or forbidden register 4 (si) was spilled for class SIREG.
/home/diamond/kernel/linux/include/asm/string.h:100: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:100: fixed or forbidden register 4 (si) was spilled for class SIREG.
/home/diamond/kernel/linux/include/asm/string.h:139: Invalid `asm' statement:
/home/diamond/kernel/linux/include/asm/string.h:139: fixed or forbidden register 4 (si) was spilled for class SIREG.
make: *** [init/main.o] Error 1
diamond at derek:~/kernel/linux$


Anyone got any suggestions? Do i need to switch to an older version of gcc?

Steve
-- 
"Oh look, it's the Pigeon of Love."




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell