RE: [Redhat-s390-list] building the kernel

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

 



Todd,

You're not doing anything wrong.  There is a problem with the current
(November 23) kernel-source RPM on the ftp.redhat.de site.  I downloaded the
vanilla source from ftp.kernel.org, and the linux/include/math-emu/
directory is there, with the proper contents:
double.h
extended.h
op-1.h
op-2.h
op-4.h
op-8.h
op-common.h
quad.h
single.h
soft-fp.h

Florian or someone will need to put up a new kernel source RPM to correct
this.

In the short term, you might try taking a look at the kernel SRPM.  I'm
downloading it now to see if the proper subdirectories are in that.

Mark Post

-----Original Message-----
From: Todd Blevins [mailto:tblevins@cisco.com]
Sent: Friday, December 14, 2001 9:22 AM
To: redhat-s390-list@redhat.com
Subject: [Redhat-s390-list] building the kernel



Ok, I've started over once again, this time (reinstalled fresh).

I'm trying to build a kernel with all the defaults just to make sure i can
(eventually, i would like to get tux working).  So i copied
/usr/src/linux-2.4/configs/kernel-2.4.9-s390.config to
/usr/src/linux-2.4/.config.

Then i did a make oldconfig.  Then i
updated the Makefile in
/usr/src/linux-2.4/arch/s390/math-emu with the change suggested by Karsten
Hopp.
The make dep worked fine.  BUT, the make image fails in math.c.  So,
question
is, what am I doing wrong?  Is my procedure incorrect?  I figure i should be
able to build a new kernel w/out modifications using the config supplied in
../configs (I assume its the one used to build the kernel that was
installed).

Here are the errors for make image that i'm getting;

make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.9-17/arch/s390/math-emu'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-17/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-Wno-unused -pipe -fno-strength-reduce  -I.   -c -o math.o math.c
math.c:19: math-emu/soft-fp.h: No such file or directory
math.c:20: math-emu/single.h: No such file or directory
math.c:21: math-emu/double.h: No such file or directory
math.c:22: math-emu/quad.h: No such file or directory
math.c: In function `emu_set_CC_cs':
math.c:135: `FP_CLS_NORMAL' undeclared (first use in this function)
math.c:135: (Each undeclared identifier is reported only once
math.c:135: for each function it appears in.)
math.c:136: `FP_CLS_INF' undeclared (first use in this function)
math.c:139: `FP_CLS_ZERO' undeclared (first use in this function)
math.c:142: `FP_CLS_NAN' undeclared (first use in this function)
math.c:137: warning: unreachable code at beginning of switch statement
math.c: In function `emu_axbr':
math.c:150: warning: implicit declaration of function `FP_DECL_Q'
math.c:150: `QA' undeclared (first use in this function)
math.c:150: `QB' undeclared (first use in this function)
math.c:150: `QR' undeclared (first use in this function)
math.c:151: `FP_DECL_EX' undeclared (first use in this function)
math.c:152: parse error before `cvt'
math.c:155: `mode' undeclared (first use in this function)
math.c:156: `cvt' undeclared (first use in this function)
math.c:158: warning: implicit declaration of function `FP_UNPACK_QP'
math.c:162: warning: implicit declaration of function `FP_ADD_Q'
math.c:166: `QR_c' undeclared (first use in this function)
math.c:166: `QR_s' undeclared (first use in this function)
math.c:167: `_fex' undeclared (first use in this function)
math.c:168: warning: control reaches end of non-void function
math.c: In function `emu_adbr':
math.c:172: warning: implicit declaration of function `FP_DECL_D'
math.c:172: `DA' undeclared (first use in this function)
math.c:172: `DB' undeclared (first use in this function)
math.c:172: `DR' undeclared (first use in this function)
math.c:173: `FP_DECL_EX' undeclared (first use in this function)
math.c:174: parse error before `int'
math.c:176: `mode' undeclared (first use in this function)
math.c:177: warning: implicit declaration of function `FP_UNPACK_DP'
math.c:179: warning: implicit declaration of function `FP_ADD_D'
math.c:180: warning: implicit declaration of function `FP_PACK_DP'
math.c:181: `DR_c' undeclared (first use in this function)
math.c:181: `DR_s' undeclared (first use in this function)
math.c:182: `_fex' undeclared (first use in this function)
math.c:183: warning: control reaches end of non-void function
math.c: In function `emu_adb':
math.c:187: `DA' undeclared (first use in this function)
math.c:187: `DB' undeclared (first use in this function)
math.c:187: `DR' undeclared (first use in this function)
math.c:188: `FP_DECL_EX' undeclared (first use in this function)
math.c:189: parse error before `int'
math.c:191: `mode' undeclared (first use in this function)
math.c:196: `DR_c' undeclared (first use in this function)
math.c:196: `DR_s' undeclared (first use in this function)
math.c:197: `_fex' undeclared (first use in this function)
math.c:198: warning: control reaches end of non-void function
math.c: In function `emu_aebr':
math.c:202: warning: implicit declaration of function `FP_DECL_S'
math.c:202: `SA' undeclared (first use in this function)
math.c:202: `SB' undeclared (first use in this function)
math.c:202: `SR' undeclared (first use in this function)
math.c:203: `FP_DECL_EX' undeclared (first use in this function)
math.c:204: parse error before `int'
math.c:206: `mode' undeclared (first use in this function)
math.c:207: warning: implicit declaration of function `FP_UNPACK_SP'
math.c:209: warning: implicit declaration of function `FP_ADD_S'
math.c:210: warning: implicit declaration of function `FP_PACK_SP'
math.c:211: `SR_c' undeclared (first use in this function)
math.c:211: `SR_s' undeclared (first use in this function)
math.c:212: `_fex' undeclared (first use in this function)
math.c:213: warning: control reaches end of non-void function
math.c: In function `emu_aeb':
math.c:217: `SA' undeclared (first use in this function)
math.c:217: `SB' undeclared (first use in this function)
math.c:217: `SR' undeclared (first use in this function)
math.c:218: `FP_DECL_EX' undeclared (first use in this function)
math.c:219: parse error before `int'
math.c:221: `mode' undeclared (first use in this function)
math.c:226: `SR_c' undeclared (first use in this function)
math.c:226: `SR_s' undeclared (first use in this function)

etc...



-- 
Todd Blevins





_______________________________________________
Redhat-s390-list mailing list
Redhat-s390-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-s390-list



[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux