ArchiveOrangemail archive

For discussion of Syslinux and tftp-hpa


syslinux.zytor.com
(List home) (Recent threads) (6 other Zytor lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Moderate traffic list: up to 30 messages per day
  • This list contains about 21,866 messages, beginning Jan 2002
  • 1 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

Build failure for isohybrid

Ad
Tim Fletcher 1339271840Sat, 09 Jun 2012 19:57:20 +0000 (UTC)
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@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@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

tim@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@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@fedora utils]# gcc --version
gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
Copyright (C) 2012 Free Software Foundation, Inc.-- 
Tim Fletcher<
Gene Cumm 1339275659Sat, 09 Jun 2012 21:00:59 +0000 (UTC)
On Sat, Jun 9, 2012 at 2:45 PM, Tim Fletcher  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@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@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.soThat should cover the obvious one.  What version of Syslinux?> tim@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@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@fedora utils]# gcc --version
> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
> Copyright (C) 2012 Free Software Foundation, Inc.-- 
-Gene
Tim Fletcher 1339276831Sat, 09 Jun 2012 21:20:31 +0000 (UTC)
On 09/06/12 22:00, Gene Cumm wrote:
> On Sat, Jun 9, 2012 at 2:45 PM, Tim Fletcher<  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@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@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?
>Apologies forgot to mention that part, it's current git.

tim@oxygen:/usr/src/git/syslinux$ git describe
syslinux-4.06-pre5-4-g269ebc8-- 
Tim Fletcher<
H. Peter Anvin 1339299335Sun, 10 Jun 2012 03:35:35 +0000 (UTC)
On 06/09/2012 11:45 AM, Tim Fletcher wrote:
> 
> tim@oxygen:/usr/src/git/syslinux/utils$ make
> gcc -O2 -luuid -o isohybrid isohybrid.o isohdpfx.oHumm... typically the library should be listed last on the command line.

	-hpa-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.
Geert Stappers 1339301893Sun, 10 Jun 2012 04:18:13 +0000 (UTC)
On Sat, Jun 09, 2012 at 08:34:50PM -0700, H. Peter Anvin wrote:
> On 06/09/2012 11:45 AM, Tim Fletcher wrote:
> > 
> > tim@oxygen:/usr/src/git/syslinux/utils$ make
> > gcc -O2 -luuid -o isohybrid isohybrid.o isohdpfx.o
> 
> Humm... typically the library should be listed last on the command line.
>Find attached a patch.


Groeten
Geert Stappers
Tim Fletcher 1339318666Sun, 10 Jun 2012 08:57:46 +0000 (UTC)
On 10/06/12 05:17, Geert Stappers wrote:
> On Sat, Jun 09, 2012 at 08:34:50PM -0700, H. Peter Anvin wrote:
>> On 06/09/2012 11:45 AM, Tim Fletcher wrote:
>>> tim@oxygen:/usr/src/git/syslinux/utils$ make
>>> gcc -O2 -luuid -o isohybrid isohybrid.o isohdpfx.o
>> Humm... typically the library should be listed last on the command line.
>>
> Find attached a patch.
>Patch confirmed as working, full make clean ; make all works-- 
Tim Fletcher<
Geert Stappers 1339302833Sun, 10 Jun 2012 04:33:53 +0000 (UTC)
On Sat, Jun 09, 2012 at 07:45:40PM +0100, Tim Fletcher 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@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.From http://bugs.debian.org/cgi-bin/bugreport.cgi?... I do
understand that Ubuntu allready provided a patch for it.

I think the patch is also available in Ubuntu,
but for some reason it was not applied during Tims rebuild attempt.


Groeten
Geert Stappers-- 
> And is there a policy on top-posting vs. bottom-posting?
Yes.
Home | About | Privacy