Re: Can't build due to ld option --no-undefined

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

 



On May 11, 2016, at 2:27 AM, Fabiano Fidêncio wrote:

> On Tue, May 10, 2016 at 11:31 PM, Programmingkid
> <programmingkidx@xxxxxxxxx> wrote:
>> 
>> On May 10, 2016, at 5:06 PM, Fabiano Fidêncio wrote:
>> 
>>> On Tue, May 10, 2016 at 10:24 PM, Programmingkid
>>> <programmingkidx@xxxxxxxxx> wrote:
>>>> When I try to build libosinfo-0.3.0, I see this error message: ld: unknown option: --no-undefined. What is the gcc version requirement for libosinfo 0.3.0? I am currently using gcc 4.2.1.
>>> 
>>> Seems the same as reported here:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1305016
>>> 
>>> Are you building on OSX?
>> Yes. Mac OS 10.6.
>> 
>>> If yes, can you try the attached patch there?
>> 
>> It does allow me to go past the configure stage, but during the make stage, I see this error:
>> 
>> n file included from ../osinfo/osinfo_os.h:30,
>>                 from ../osinfo/osinfo.h:55,
>>                 from osinfo_avatar_format.c:28:
>> ../osinfo/osinfo_media.h:68: error: redefinition of typedef 'OsinfoMedia'
>> ../osinfo/osinfo_install_script.h:43: error: previous declaration of 'OsinfoMedia' was here
>> make[3]: *** [libosinfo_1_0_la-osinfo_avatar_format.lo] Error 1
> 
> Firstly, can you check if it also occurs with upstream code?
> Our code is hosted here: https://gitlab.com/libosinfo/libosinfo/ and
> you can checkout our repo by:
> https://gitlab.com/libosinfo/libosinfo.git
> 
>> 
>> Thank you.
> 
> Best Regards,
> -- 
> Fabiano Fidêncio


I went to the gitlab page and downloaded the zip file. The file's name is libosinfo-master-c4d379042f57f0512ba3fb5fea2109acc941b460. When I went to "configure" libosinfo, an error said the configure command could not be found. How do I start building this code?


_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux