kernel24@sparc64 nie buduje sie

Jan Palus jan.palus w student.put.poznan.pl
Nie, 30 Paź 2005, 21:18:05 CET


[...]
+ < /home/users/atler/rpm/SOURCES/linux-2.4.21-ipsec-sparc64.patch 
The text leading up to this was:
--------------------------
|--- linux-2.4.21/crypto/ciphers/des/des_locl.h.orig    2003-08-16
23:32:05.000000000 +0200
|+++ linux-2.4.21/crypto/ciphers/des/des_locl.h 2003-08-16
23:28:11.000000000 +0200
--------------------------
File to patch:
[...]

% find ../BUILD/linux-2.4.31 -name des_locl.h
../BUILD/linux-2.4.31/include/des/des_locl.h

Jak sie sciezki zmieni w patchu to dalej jest:

[...]
BUILDING KERNEL ...
dupa1
37329
37340
dupa2
37340
?
37340
error: Bad exit status from /var/tmp/rpm-tmp.11735 (%build)
[...]

Odpowiedzialne za to jest:
[...]
       echo -e ',s/CONFIG_IPSEC_AUTH_HMAC_SHA1=y/# CONFIG_IPSEC_AUTH_HMAC_SHA1 is not set/g\n,w' | \
       ed arch/%{base_arch}/defconfig
[...]

[atler w sparc ~/rpm/SPECS]% grep CONFIG_IPSEC_AUTH_HMAC_SHA1 ../BUILD/linux-2.4.31/arch/sparc64/defconfig 
[atler w sparc ~/rpm/SPECS]%

Potem jest cos takiego ale przy tym juz dalem sobie spokoj:

[...]
from init/do_mounts.c:3:
/home/users/atler/rpm/BUILD/linux-2.4.31/include/linux/byteorder/swab.h:160:
warning: type qualifiers ignored on function return type
/home/users/atler/rpm/BUILD/linux-2.4.31/include/linux/byteorder/swab.h:173:
warning: type qualifiers ignored on function return type
/home/users/atler/rpm/BUILD/linux-2.4.31/include/linux/byteorder/swab.h:186:
warning: type qualifiers ignored on function return type
/home/users/atler/rpm/BUILD/linux-2.4.31/include/linux/byteorder/swab.h:200:
warning: type qualifiers ignored on function return type
init/do_mounts.c:55: error: static declaration of 'root_device_name'
follows non-static declaration
/home/users/atler/rpm/BUILD/linux-2.4.31/include/linux/fs.h:1580:
error: previous declaration of 'root_device_name' was here
init/do_mounts.c: In function 'identify_ramdisk_image':
init/do_mounts.c:534: warning: pointer targets in passing argument 2
of 'read' differ in signedness
init/do_mounts.c:578: warning: pointer targets in passing argument 2
of 'read' differ in signedness
init/do_mounts.c: At top level:
init/do_mounts.c:1007: warning: conflicting types for built-in
function 'malloc'
init/do_mounts.c: In function 'fill_inbuf':
init/do_mounts.c:1042: warning: pointer targets in passing argument 2
of 'read' differ in signedness
init/do_mounts.c: In function 'flush_window':
init/do_mounts.c:1060: warning: pointer targets in passing argument 2
of 'write' differ in signedness
make: *** [init/do_mounts.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.31272 (%build)
[...]

budowane poprzez:
% rpmbuild --without boot --without doc --without smp --without source -bb -v --target sparc64-pld-linux kernel24.spec

% rpm -q crosssparc64-gcc
crosssparc64-gcc-4.0.2-1

-- 
atler



Więcej informacji o liście dyskusyjnej pld-devel-pl