Thierry Iceta wrote: > Hi > > I am working with > Red Hat Enterprise Linux Server release 5.1 (Tikanga) > Linux version 2.6.18-53.el5 > Hw arch arch=x86_64 > using systemimager.spec > %define ver 4.0.2 > %define rel 1 > %define packager Bernard Li <[EMAIL PROTECTED]> > > And I got this error > may be due to something wrond with architecture (-c > kexec/arch/i386/kexec-nbi.c) > why i386 something to be added in rule file > help will be appreciated Thanks > Thierry >
And does this happen also if you try to compile kexec standalone? (http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-testing-20061214.tar.bz2) -Andrea > > gcc -g -O2 -Wall -g -fno-strict-aliasing -I./include > -I./util_lib/include -DVERSION='"20061214"' -DRELEASE_ > DATE='"14th December 2006"' -DPACKAGE='"kexec-tools-testing"' > -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DP > ACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH > AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H= > 1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ZLIB_H=1 -Wall -g > -fno-strict-aliasing -Ikexec/arch/x86_64/in > clude -o > /usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i386/ke > xec-nbi.o -c kexec/arch/i386/kexec-nbi.c > kexec/arch/i386/kexec-beoboot-x86.c: In function 'beoboot_load': > kexec/arch/i386/kexec-beoboot-x86.c:125: warning: pointer targets in > assignment differ in signedness > kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in > passing argument 2 of 'do_bzImage_load' > differ in signedness > kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in > passing argument 4 of 'do_bzImage_load' > differ in signedness > kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in > passing argument 6 of 'do_bzImage_load' > differ in signedness > kexec/arch/i386/kexec-multiboot-x86.c: In function 'multiboot_x86_load': > kexec/arch/i386/kexec-multiboot-x86.c:217: warning: pointer targets in > passing argument 3 of 'elf_rel_build_ > load' differ in signedness > kexec/arch/i386/kexec-multiboot-x86.c:346: error: 'PAGE_SIZE' undeclared > (first use in this function) > kexec/arch/i386/kexec-multiboot-x86.c:346: error: (Each undeclared > identifier is reported only once > kexec/arch/i386/kexec-multiboot-x86.c:346: error: for each function it > appears in.) > make[1]: *** > [/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i3 > 86/kexec-multiboot-x86.o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make[1]: Leaving directory > `/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214' > make: *** > [/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/build/sbin/kexec > ] Error 2 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sisuite-devel mailing list sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel