[syslinux] Build failure for isohybrid

Gene Cumm gene.cumm at gmail.com
Sat Jun 9 14:00:01 PDT 2012


On Sat, Jun 9, 2012 at 2:45 PM, Tim Fletcher <tim at night-shade.org.uk> wrote:
> Dear list,
>
> I have been trying to debug a build failure for a while in the utils
> directory on isohybrid which seems to be distro specific.
>
> On Fedora 17 64bit the build completes without problems, but under both
> Ubuntu 32/64bit 11.10 and 12.04 I get the following:
>
> tim at oxygen:/usr/src/git/syslinux/utils$ make
> gcc -O2 -luuid -o isohybrid isohybrid.o isohdpfx.o
> isohybrid.o: In function `initialise_gpt':
> isohybrid.c:(.text+0xc42): undefined reference to `uuid_generate'
> isohybrid.c:(.text+0xd20): undefined reference to `uuid_generate'
> isohybrid.c:(.text+0xd2d): undefined reference to `uuid_generate'
> collect2: ld returned 1 exit status
> make: *** [isohybrid] Error 1
>
> I've done the normal googling and checking that I have the devel packages
> installed and as much debugging as I can think of.
>
> I've tested this on 32bit Ubuntu too but I can't get access to the machine I
> tested in to remotely atm.
>
> These are the reports from my Ubuntu 64bit 12.04 machine:
>
> tim at oxygen:/usr/src/git/syslinux/utils$ nm -D
> /usr/lib/x86_64-linux-gnu/libuuid.so |grep uuid_generate
> 0000000000002600 T __uuid_generate_random
> 0000000000001ee0 T __uuid_generate_time
> 00000000000026f0 T uuid_generate
> 00000000000026d0 T uuid_generate_random
> 00000000000025e0 T uuid_generate_time
> 00000000000025f0 T uuid_generate_time_safe
>
> dpkg-query -S /usr/lib/x86_64-linux-gnu/libuuid.so
> uuid-dev: /usr/lib/x86_64-linux-gnu/libuuid.so

That should cover the obvious one.  What version of Syslinux?

> tim at oxygen:/usr/src/git/syslinux/utils$ gcc --version
> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>
> on Fedora 17 64bit I get
>
> [root at fedora utils]# nm -D /usr/lib64/libuuid.so |grep uuid_generate
> 0000000000002790 T __uuid_generate_random
> 0000000000002070 T __uuid_generate_time
> 0000000000002880 T uuid_generate
> 0000000000002860 T uuid_generate_random
> 0000000000002770 T uuid_generate_time
> 0000000000002780 T uuid_generate_time_safe
>
> [root at fedora utils]# gcc --version
> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
> Copyright (C) 2012 Free Software Foundation, Inc.

-- 
-Gene



More information about the Syslinux mailing list