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
signature.asc
Description: OpenPGP digital signature