bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error_at_line, request to add


From: Eric Blake
Subject: Re: error_at_line, request to add
Date: Mon, 09 Mar 2015 09:46:03 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/09/2015 09:22 AM, Mohammad Akhlaghi wrote:
> Oh! In the 2014-11-03 version of the manual it doesn't have any name infront 
> of it. 
> 
> I had included the error module but on a Mac OS X (a friend of mine who is 
> testing) got this ld error:
> 
> -------------
> Undefined symbols for architecture x86_64:
>   "_program_name", referenced from:
>       _error in libgnu.a(error.o)
>       _error_at_line in libgnu.a(error.o)
> -------------
> 
> This is why I suspected in the first place. Am I doing something wrongly?

'error' is one of the few modules where we don't include a full
dependency chain (and I'm still not exactly sure why, but the archives
of this list document past discussions on the topic); you'll need to
manually pull in the 'progname' module to keep things happy.  That is,
your link failure is not due to a lack of 'error_at_line', but due to a
lack of 'program_name'.

Meanwhile, I'll patch the error_at_line.texi file to point to the error
module.

Also, we tend to avoid top-posting on this list.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]