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

sparc64 CIPE build error (LD Relocatable Linking)



Hi All,

I installed Sarge on an UltraSparcII-i. When i was following the
instructions (README.Debian) buidling CIPE(`make-kpkg --revision
Custom.1 modules_image', after successfully done `make-kpkg --revision
Custom.1 kernel_image' ), i got the following errors:
--
gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__
-I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc
-mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7
-Wno-sign-compare -Wa,--undeclared-regs -finline-limit=100000 -DMODULE
-DMODVERSIONS -include
/usr/src/kernel-source-2.4.27/include/linux/modversions.h -o module.o
-c ../cipe/module.c
make[4]: Leaving directory
`/usr/src/kernel-source-2.4.27/debian/cipe-tmp/2.4.27-sparc64-cb'
make[4]: Entering directory
`/usr/src/kernel-source-2.4.27/debian/cipe-tmp/2.4.27-sparc64-cb'
ld -r -S -o cipcb.o module.o device.o sock.o output.o encaps.o bf.o  crc32.o
ld: Relocatable linking with relocations from format elf64-sparc
(module.o) to format elf32-sparc (cipcb.o) is not supported
make[4]: *** [cipcb.o] Error 1
make[4]: Leaving directory
`/usr/src/kernel-source-2.4.27/debian/cipe-tmp/2.4.27-sparc64-cb'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.27/debian/cipe-tmp'
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.27/debian/cipe-tmp'
make[1]: *** [build_it] Error 2
make[1]: Leaving directory `/usr/src/modules/cipe'
Module /usr/src/modules/cipe failed.
Hit return to Continue
---

Please help me solve this problem.

Enviroment:
kernel-source-2.4.27
cipe-source 1.5.4free-9
Linux localhost 2.4.27-1-sparc64 #1 Mon Aug 23 23:59:55 PDT 2004
sparc64 GNU/Linux
gcc gcc version 3.3.4 (Debian 1:3.3.4-13)
GNU ld version 2.15

Thanks and happy new year!

dangli



Reply to: