[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 04:02:30 PDT 2010


On Wed, Jun 23, 2010 at 11:34 AM, Gabor Z. Papp <gzp at papp.hu> wrote:
> * Stefan Hajnoczi <stefanha at gmail.com>:
>
> | > In this case the patches should modify something, because I'm using
> | > the unmodified binutils 2.20.1 version. Have you any idea which one
> | > could be?
>
> | No sorry.  Like you say, the fix is probably in the patches.
>
> Seems like binutils not really involved. First compiled myself the
> patched debian source even not all patches applied cleanly, but that
> doesn't solved the problem.
>
> Finally replaced binutils with:
>
> ftp://ftp.debian.org/debian/pool/main/b/binutils/binutils_2.20.51.20100617-1_i386.deb
>
> $ ar --version
> GNU ar (GNU Binutils for Debian) 2.20.51-system.20100617
>
> but the problem still exist:
>
> make[2]: Entering directory
> `/home/gzp/src/syslinux-4.00-pre55/gpxe/src'
>  [LD] bin/undionly.kkpxe.tmp arch/i386/scripts/i386.lds:1: undefined symbol `_max_align' referenced in expression
> make[2]: *** [bin/undionly.kkpxe.tmp] Error 1

If the linker is not involved it should be possible to take a tree,
build on a machine where it completes successfully, and then run just
the bin/undionly.kkpxe.tmp link step with your unmodified GNU ld.  I'm
suggesting this in order to double-check that the Linker really isn't
involved.

Stefan




More information about the Syslinux mailing list