[syslinux] [gPXE-devel] GPXE arch/i386/scripts/i386.lds:1: undefined symbol `_max_align' referenced in expression

Stefan Hajnoczi stefanha at gmail.com
Wed Jun 23 22:22:19 PDT 2010


On Thu, Jun 24, 2010 at 1:26 AM, Michael Brown <mbrown at fensystems.co.uk> wrote:
> On Wednesday 23 Jun 2010 18:50:58 H. Peter Anvin wrote:
>> On 06/23/2010 10:25 AM, Miller, Shao wrote:
>> > Hard-coded Perl path?  That would be commit
>> > 0ff80b477dcff0726ebdbed95e8a93971e59e82b  - Shao
>>
>> That looks like a mega-commit and the hardcoded path is probably
>> accidental.  (Michael might disagree...)
>
> The hardcoded path wasn't actually introduced by that commit; it merely moved
> from src/Config to src/Makefile.
>
> It looks as though we've had that hardcoded path in place since at least
> Etherboot 5.1.  I have no idea why it's there.
>
> Fixed in http://git.ipxe.org/ipxe.git/commitdiff/ea12dc0

Unfortunately this change breaks the build on my Debian testing box:

$ git checkout ipxe/master
$ make --version
GNU Make 3.81
$ make
rm -f  bin/*.*  bin/NIC  ./util/nrv2b ./util/zbin ./util/elf2efi32
./util/elf2efi64 ./util/efirom ./util/iccfix ./util/einfo TAGS
bin/symtab
  [MEDIADEPS] raw
  [MEDIADEPS] hd
  [MEDIADEPS] nbi
  [MEDIADEPS] dsk
  [MEDIADEPS] lkrn
  [MEDIADEPS] kkpxe
  [MEDIADEPS] kpxe
  [MEDIADEPS] pxe
  [MEDIADEPS] mrom
  [MEDIADEPS] rom
  [AR] bin/blib.a
ar: creating bin/blib.a
  [HOSTCC] util/zbin
  [LD] bin/ipxe.dsk.tmp
arch/i386/scripts/i386.lds:1: undefined symbol `_max_align' referenced
in expression
make: *** [bin/ipxe.dsk.tmp] Error 1

I'm not sure why dependencies aren't being generated and object files
aren't being compiled.  Instead it is trying to build blib.a early and
link the floppy image.

Changing back to the absolute path gets the build working again.
Looks like there is more to this problem than just the PERL absolute
path.

Stefan




More information about the Syslinux mailing list