Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#233 closed defect (invalid)

mondo won't compile on IBM P-series ppc64 architecturre

Reported by: lenwoodgay Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.5
Component: mondo Version: 2.2.4
Severity: normal Keywords:
Cc:

Description

[root@pseries4 mondo-2.2.5]# make make all-recursive make[1]: Entering directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mond' Making all in src make[2]: Entering directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mond' Making all in common make[3]: Entering directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mond' gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-archive.Tpo .deps/libmondo-archive.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-devices.Tpo .deps/libmondo-devices.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-fifo.Tpo .deps/libmondo-fifo.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c libmondo-filelist.c: In function `mondo_makefilelist': libmondo-filelist.c:1757: warning: zero-length printf format string mv -f .deps/libmondo-filelist.Tpo .deps/libmondo-filelist.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-files.Tpo .deps/libmondo-files.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-fork.Tpo .deps/libmondo-fork.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-mountlist.Tpo .deps/libmondo-mountlist.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-raid.Tpo .deps/libmondo-raid.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-stream.Tpo .deps/libmondo-stream.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-string.Tpo .deps/libmondo-string.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-tools.Tpo .deps/libmondo-tools.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/libmondo-verify.Tpo .deps/libmondo-verify.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c newt-specific.c: In function `popup_and_OK': newt-specific.c:795: warning: comparison is always true due to limited range ofe mv -f .deps/newt-specific.Tpo .deps/newt-specific.Po gcc -DHAVE_CONFIG_H -I. -I../.. -DMONDO_SHARE=\"/usr/local/share/mondo\" -g c mv -f .deps/mr_string.Tpo .deps/mr_string.Po rm -f libmondo.a ar cru libmondo.a libmondo-archive.o libmondo-devices.o libmondo-fifo.o libmond ranlib libmondo.a make[3]: Leaving directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo' Making all in mondoarchive make[3]: Entering directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mond' gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -Wall -Wno-return-type -D_GNU_SOURCEc In file included from ../common/my-stuff.h:169,

from main.c:115:

../../config.h:37:1: warning: "HAVE_MALLOC" redefined In file included from main.c:115: ../common/my-stuff.h:142:1: warning: this is the location of the previous definn main.c: In function `main': main.c:284: warning: implicit declaration of function `rpl_malloc' main.c:284: warning: assignment makes pointer from integer without a cast mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -Wall -Wno-return-type -D_GNU_SOURCEc In file included from ../common/my-stuff.h:169,

from mondo-cli.c:164:

../../config.h:37:1: warning: "HAVE_MALLOC" redefined In file included from mondo-cli.c:164: ../common/my-stuff.h:142:1: warning: this is the location of the previous definn mv -f .deps/mondo-cli.Tpo .deps/mondo-cli.Po gcc -g -O2 -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGd main.o(.text+0x610): In function `main': /tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo-2.2.5/src/mondoarchive/main' main.o(.text+0x638):/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo-2.2.5/s' main.o(.text+0x654):/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo-2.2.5/s' mondo-cli.o(.text+0x2fc): In function `process_switches': /tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo-2.2.5/src/mondoarchive/mond' mondo-cli.o(.text+0x314):/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo-2.' mondo-cli.o(.text+0x21f0):/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo-2w collect2: ld returned 1 exit status make[3]: * [mondoarchive] Error 1 make[3]: Leaving directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo' make[2]: * [all-recursive] Error 1 make[2]: Leaving directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mondo_deve_depot/mondo_depot/mondo-2.2.5/mondo' make: * [all] Error 2 [root@pseries4 mondo-2.2.5]#

Change History (2)

comment:1 by lenwoodgay, 16 years ago

Resolution: invalid
Status: newclosed

reading the documentation, mondo rescue doesn't support the P-series ppc64 hardware. thus, this case can be closed, we will look for another bare metal solution.

comment:2 by Bruno Cornec, 16 years ago

The tool is able to support multiple architectures, even if only x386, x86_64 and ia64 are indeed supported yet.

If you're interested and want to contribute, I'd be hapy to integrate any patch to make it work on ppc. But not having the hardware, I rely on you to provide me what needs to be done for your platform.

Note: See TracTickets for help on using tickets.