Comment 56 for bug 1707999

Revision history for this message
Andres Rodriguez (andreserl) wrote :

This is the part of the buildlog... looks like may be unrelated to the change.

arch/x86/drivers/xen/hvm.c arch/x86/drivers/hyperv/hyperv.c arch/i386/drivers/net/undirom.c arch/i386/drivers/net/undinet.c arch/i386/drivers/net/undionly.c arch/i386/drivers/net/undi.c arch/i386/drivers/net/undiload.c arch/i386/drivers/net/undipreload.c arch/i386/drivers/net/undiisr.S > bin/.rom.defs
Can't redeclare "my" in "my" at ./util/parserom.pl line 160, near ", "
Execution of ./util/parserom.pl aborted due to compilation errors.
make[2]: *** Deleting file 'bin/.rom.defs'
gcc -DARCH=i386 -DPLATFORM=pcbios -march=i386 -fomit-frame-pointer -fstrength-reduce -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mpreferred-stack-boundary=2 -mregparm=3 -mrtd -freg-struct-return -m32 -fshort-wchar -Ui386 -Ulinux -DNVALGRIND -Iinclude -I. -Iarch/x86/include -Iarch/i386/include -Iarch/i386/include/pcbios -Os -g -ffreestanding -Wall -W -Wformat-nonliteral -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-address -fno-PIE -no-pie -ffunction-sections -fdata-sections -include include/compiler.h -DOBJECT=version -DBUILD_NAME="\"82540em.rom\"" \
 -DVERSION_MAJOR=1 \
 -DVERSION_MINOR=0 \
 -DVERSION_PATCH=0 \
 -DVERSION="\"1.0.0+git-20150424.a25a16d-1ubuntu2.1\"" \
 -c core/version.c -o bin/version.82540em.rom.o
In file included from ./config/general.h:172:0,
                 from core/version.c:35:
./config/local/general.h:1:0: warning: "ROM_BANNER_TIMEOUT" redefined
 #define ROM_BANNER_TIMEOUT 0

In file included from core/version.c:35:0:
./config/general.h:30:0: note: this is the location of the previous definition
 #define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )

ld -m elf_i386 -N --no-check-sections --gc-sections -static -T arch/i386/scripts/i386.lds -u _rom_start --defsym check__rom_start=_rom_start -u obj_82540em --defsym check_obj_82540em=obj_82540em -u obj_config --defsym check_obj_config=obj_config --defsym pci_vendor_id=0 --defsym pci_device_id=0 -e _rom_start bin/version.82540em.rom.o bin/blib.a -o bin/82540em.rom.tmp \
 --defsym _build_id=`perl -e 'printf "0x%08x", int ( rand ( 0xffffffff ) );'` \
 --defsym _build_timestamp=1511794740 \
 -Map bin/82540em.rom.tmp.map
--defsym:2: undefined symbol `obj_82540em' referenced in expression
Makefile.housekeeping:1100: recipe for target 'bin/82540em.rom.tmp' failed
make[2]: *** [bin/82540em.rom.tmp] Error 1
rm bin/version.82540em.rom.o
make[2]: Leaving directory '/<<BUILDDIR>>/ipxe-1.0.0+git-20150424.a25a16d/src'
debian/rules:18: recipe for target 'src/bin/82540em.rom' failed
make[1]: *** [src/bin/82540em.rom] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/ipxe-1.0.0+git-20150424.a25a16d'
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------