partitions.cc:14:0: warning: "_LARGEFILE_SOURCE" redefined :0:0: note: this is the location of the previous definition /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c ideraid.cc -o ideraid.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c pcmcia.cc -o pcmcia.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c volumes.cc -o volumes.o volumes.cc:6:0: warning: "_LARGEFILE_SOURCE" redefined :0:0: note: this is the location of the previous definition /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c mounts.cc -o mounts.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c smp.cc -o smp.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c abi.cc -o abi.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c jedec.cc -o jedec.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os -c dump.cc -o dump.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-ar rs liblshw.a hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia-legacy.o scsi.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o partitions.o blockio.o lvm.o ideraid.o pcmcia.o volumes.o mounts.o smp.o abi.o jedec.o dump.o /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-ar: creating liblshw.a make[2]: Leaving directory `/home/test/test/output1/build/lshw-B.02.16/src/core' /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv make[1]: Leaving directory `/home/test/test/output1/build/lshw-B.02.16/src' >>> lshw B.02.16 Installing to target LIBS="" /usr/bin/make -j8 -C /home/test/test/output1/build/lshw-B.02.16/src DESTDIR=/home/test/test/output1/target CC="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-gcc" CXX="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++" AR="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-ar" RPM_OPT_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os " all install make[1]: Entering directory `/home/test/test/output1/build/lshw-B.02.16/src' make -C core all make[2]: Entering directory `/home/test/test/output1/build/lshw-B.02.16/src/core' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/test/test/output1/build/lshw-B.02.16/src/core' /home/test/test/output1/host/usr/bin/powerpc-linux-gnu-g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv install -p -d -m 0755 /home/test/test/output1/target//usr/sbin install -p -m 0755 lshw /home/test/test/output1/target//usr/sbin install -p -d -m 0755 /home/test/test/output1/target//usr/share/man/man1 install -p -m 0644 lshw.1 /home/test/test/output1/target//usr/share/man/man1 install -p -d -m 0755 /home/test/test/output1/target//usr/share/lshw install -p -m 0644 pci.ids usb.ids oui.txt manuf.txt /home/test/test/output1/target//usr/share/lshw make -C po install make[2]: Entering directory `/home/test/test/output1/build/lshw-B.02.16/src/po' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. install -D fr.mo /home/test/test/output1/target//usr/share/locale/fr/LC_MESSAGES/lshw.mo ; make[2]: Leaving directory `/home/test/test/output1/build/lshw-B.02.16/src/po' make[1]: Leaving directory `/home/test/test/output1/build/lshw-B.02.16/src' >>> luajit 2.0.0 Extracting gzip -d -c /home/test/dl/LuaJIT-2.0.0.tar.gz | tar --strip-components=1 -C /home/test/test/output1/build/luajit-2.0.0 -xf - >>> luajit 2.0.0 Patching package//luajit Applying luajit-01-root-path.patch using patch: patching file src/luaconf.h Applying luajit-02-shared-lib.patch using patch: patching file src/Makefile Applying luajit-03-dont-strip.patch using patch: patching file src/Makefile Applying luajit-04-no-bin-symlink.patch using patch: patching file Makefile >>> luajit 2.0.0 Configuring >>> luajit 2.0.0 Building /usr/bin/make -j8 PREFIX="/usr" STATIC_CC="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-gcc" DYNAMIC_CC="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-gcc -fPIC" TARGET_LD="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-gcc" TARGET_AR="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-ar rcus" TARGET_STRIP="/home/test/test/output1/host/usr/bin/powerpc-linux-gnu-strip" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -te500v2 -Os " TARGET_LDFLAGS="" HOST_CC="/usr/bin/gcc -m32" HOST_CFLAGS="-O2 -I/home/test/test/output1/host/usr/include" HOST_LDFLAGS="-L/home/test/test/output1/host/lib -L/home/test/test/output1/host/usr/lib -Wl,-rpath,/home/test/test/output1/host/usr/lib" -C /home/test/test/output1/build/luajit-2.0.0 amalg make[1]: Entering directory `/home/test/test/output1/build/luajit-2.0.0' Building LuaJIT 2.0.0 /usr/bin/make -C src amalg make[2]: Entering directory `/home/test/test/output1/build/luajit-2.0.0/src' +--------------------------------------------------------------------------+ | WARNING: Compiling the amalgamation needs a lot of virtual memory | | (around 200 MB with GCC 4.x)! If you don't have enough physical memory | | your machine will start swapping to disk and the compile will not finish | | within a reasonable amount of time. | | So either compile on a bigger machine or use the non-amalgamated build. | +--------------------------------------------------------------------------+ /usr/bin/make all "LJCORE_O=ljamalg.o" make[3]: Entering directory `/home/test/test/output1/build/luajit-2.0.0/src' HOSTCC host/minilua.o HOSTCC host/buildvm_asm.o HOSTCC host/buildvm_peobj.o HOSTCC host/buildvm_lib.o HOSTCC host/buildvm_fold.o CC luajit.o HOSTLINK host/minilua DYNASM host/buildvm_arch.h HOSTCC host/buildvm.o HOSTLINK host/buildvm BUILDVM lj_vm.s BUILDVM lj_ffdef.h BUILDVM lj_bcdef.h BUILDVM lj_folddef.h BUILDVM lj_libdef.h BUILDVM lj_recdef.h BUILDVM jit/vmdef.lua ASM lj_vm.o CC ljamalg.o AR libluajit.a DYNLINK libluajit.so ljamalg_dyn.o: In function `lj_vm_foldarith': ljamalg.c:(.text+0x106bc): multiple definition of `lj_vm_foldarith' lj_vm_dyn.o:buildvm_ppc.dasc:(.text+0x3964): first defined here collect2: ld returned 1 exit status make[3]: *** [libluajit.so] Error 1 make[3]: Leaving directory `/home/test/test/output1/build/luajit-2.0.0/src' make[2]: *** [amalg] Error 2 make[2]: Leaving directory `/home/test/test/output1/build/luajit-2.0.0/src' make[1]: *** [amalg] Error 2 make[1]: Leaving directory `/home/test/test/output1/build/luajit-2.0.0' make: *** [/home/test/test/output1/build/luajit-2.0.0/.stamp_built] Error 2