[Libosinfo] Can't build due to ld option --no-undefined

Fabiano Fidêncio fidencio at redhat.com
Wed May 11 22:19:41 UTC 2016


On Thu, May 12, 2016 at 12:16 AM, Programmingkid
<programmingkidx at gmail.com> wrote:
>
> On May 11, 2016, at 6:01 PM, Fabiano Fidêncio wrote:
>
>> On Wed, May 11, 2016 at 11:46 PM, Programmingkid
>> <programmingkidx at gmail.com> wrote:
>>>
>>> On May 11, 2016, at 5:31 PM, Fabiano Fidêncio wrote:
>>>
>>>> On Wed, May 11, 2016 at 11:26 PM, Programmingkid
>>>> <programmingkidx at gmail.com> wrote:
>>>>>
>>>>> On May 11, 2016, at 5:21 PM, Fabiano Fidêncio wrote:
>>>>>
>>>>>> On Wed, May 11, 2016 at 10:26 PM, Programmingkid
>>>>>> <programmingkidx at gmail.com> wrote:
>>>>>>>
>>>>>>> On May 11, 2016, at 12:05 PM, Fabiano Fidêncio wrote:
>>>>>>>
>>>>>>>> On Wed, May 11, 2016 at 4:39 PM, Programmingkid
>>>>>>>> <programmingkidx at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> On May 11, 2016, at 9:56 AM, Fabiano Fidêncio wrote:
>>>>>>>>>
>>>>>>>>>> On Wed, May 11, 2016 at 3:47 PM, Programmingkid
>>>>>>>>>> <programmingkidx at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> On May 11, 2016, at 2:27 AM, Fabiano Fidêncio wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On Tue, May 10, 2016 at 11:31 PM, Programmingkid
>>>>>>>>>>>> <programmingkidx at gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> On May 10, 2016, at 5:06 PM, Fabiano Fidêncio wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, May 10, 2016 at 10:24 PM, Programmingkid
>>>>>>>>>>>>>> <programmingkidx at gmail.com> 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?
>>>>>>>>>>
>>>>>>>>>> ./autogen.sh
>>>>>>>>>
>>>>>>>>> Thanks for the help. After installing gnome-common 3.18.0, I ran ./autogen.sh. It says to run make. When I do it looks like the configure script runs over and over again in an infinite loop. I see "checking" a lot. Here is an example:
>>>>>>>>>
>>>>>>>>> cd . && /bin/sh /Users/me/Desktop/libosinfo-master-c4d379042f57f0512ba3fb5fea2109acc941b460/build-aux/missing automake-1.15 --foreign
>>>>>>>>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/me/Desktop/libosinfo-master-c4d379042f57f0512ba3fb5fea2109acc941b460/build-aux/missing autoconf
>>>>>>>>> /bin/sh ./config.status --recheck
>>>>>>>>> running CONFIG_SHELL=/bin/sh /bin/sh ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig --no-create --no-recursion
>>>>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>>>>> checking whether build environment is sane... yes
>>>>>>>>> checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
>>>>>>>>> checking for gawk... gawk
>>>>>>>>> checking whether make sets $(MAKE)... yes
>>>>>>>>> checking whether make supports nested variables... yes
>>>>>>>>> checking whether UID '501' is supported by ustar format... yes
>>>>>>>>> checking whether GID '20' is supported by ustar format... yes
>>>>>>>>> checking how to create a ustar tar archive... gnutar
>>>>>>>>> checking for gcc... gcc
>>>>>>>>
>>>>>>>> I can't tell for sure what's going on ... but if what you're trying to
>>>>>>>> achieve is just test that patch I pointed to you, why not backporting
>>>>>>>> it?
>>>>>>>
>>>>>>> I found out that gnome-common 3.18.0 was causing the infinite loop behavior. When I installed gnome-common 3.14.0, the ./autogen.sh and ./configure commands worked just fine. Make did unfortunately stop at this message:
>>>>>>>
>>>>>>> /usr/local/Cellar/glib/2.46.2/include/glib-2.0/gio/gliststore.h:36: warning: 'g_list_store_get_type' is deprecated (declared at /usr/local/Cellar/glib/2.46.2/include/glib-2.0/gio/gliststore.h:36) [-Wdeprecated-declarations]
>>>>>>> CCLD     libosinfo-1.0.la
>>>>>>> ld: unknown option: --no-undefined
>>>>>>>
>>>>>>> I think the patch needs to added to the other makefiles in this project.
>>>>>>
>>>>>> What do you mean?
>>>>> I think there are more --no-undefined in the make files that make up this project.
>>>>>
>>>>>> Please, attach the whole log or put it into a pastebin and share the link.
>>>>>
>>>>> I think this is what you want:
>>>>>
>>>>> $ LD=gcc-4.9 CCLD=gcc-4.9 CC=gcc-4.9 ./configure
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking whether build environment is sane... yes
>>>>> checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
>>>>> checking for gawk... gawk
>>>>> checking whether make sets $(MAKE)... yes
>>>>> checking whether make supports nested variables... yes
>>>>> checking whether UID '501' is supported by ustar format... yes
>>>>> checking whether GID '20' is supported by ustar format... yes
>>>>> checking how to create a ustar tar archive... gnutar
>>>>> checking for gcc... gcc-4.9
>>>>> checking whether the C compiler works... yes
>>>>> checking for C compiler default output file name... a.out
>>>>> checking for suffix of executables...
>>>>> checking whether we are cross compiling... no
>>>>> checking for suffix of object files... o
>>>>> checking whether we are using the GNU C compiler... yes
>>>>> checking whether gcc-4.9 accepts -g... yes
>>>>> checking for gcc-4.9 option to accept ISO C89... none needed
>>>>> checking whether gcc-4.9 understands -c and -o together... yes
>>>>> checking for style of include used by make... GNU
>>>>> checking dependency style of gcc-4.9... gcc3
>>>>> checking whether ln -s works... yes
>>>>> checking build system type... x86_64-apple-darwin10.8.0
>>>>> checking host system type... x86_64-apple-darwin10.8.0
>>>>> checking how to print strings... printf
>>>>> checking for a sed that does not truncate output... /opt/local/bin/gsed
>>>>> checking for grep that handles long lines and -e... /usr/bin/grep
>>>>> checking for egrep... /usr/bin/grep -E
>>>>> checking for fgrep... /usr/bin/grep -F
>>>>> checking for ld used by gcc-4.9... gcc-4.9
>>>>> checking if the linker (gcc-4.9) is GNU ld... no
>>>>> checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
>>>>> checking the name lister (/opt/local/bin/nm) interface... BSD nm
>>>>> checking the maximum length of command line arguments... 196608
>>>>> checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop
>>>>> checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
>>>>> checking for gcc-4.9 option to reload object files... -r
>>>>> checking for objdump... no
>>>>> checking how to recognize dependent libraries... pass_all
>>>>> checking for dlltool... no
>>>>> checking how to associate runtime and link libraries... printf %s\n
>>>>> checking for ar... ar
>>>>> checking for archiver @FILE support... no
>>>>> checking for strip... strip
>>>>> checking for ranlib... ranlib
>>>>> checking command to parse /opt/local/bin/nm output from gcc-4.9 object... ok
>>>>> checking for sysroot... no
>>>>> checking for a working dd... /bin/dd
>>>>> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
>>>>> checking for mt... no
>>>>> checking if : is a manifest tool... no
>>>>> checking for dsymutil... dsymutil
>>>>> checking for nmedit... nmedit
>>>>> checking for lipo... lipo
>>>>> checking for otool... otool
>>>>> checking for otool64... no
>>>>> checking for -single_module linker flag... yes
>>>>> checking for -exported_symbols_list linker flag... yes
>>>>> checking for -force_load linker flag... yes
>>>>> checking how to run the C preprocessor... gcc-4.9 -E
>>>>> checking for ANSI C header files... yes
>>>>> checking for sys/types.h... yes
>>>>> checking for sys/stat.h... yes
>>>>> checking for stdlib.h... yes
>>>>> checking for string.h... yes
>>>>> checking for memory.h... yes
>>>>> checking for strings.h... yes
>>>>> checking for inttypes.h... yes
>>>>> checking for stdint.h... yes
>>>>> checking for unistd.h... yes
>>>>> checking for dlfcn.h... yes
>>>>> checking for objdir... .libs
>>>>> checking if gcc-4.9 supports -fno-rtti -fno-exceptions... no
>>>>> checking for gcc-4.9 option to produce PIC... -fno-common -DPIC
>>>>> checking if gcc-4.9 PIC flag -fno-common -DPIC works... yes
>>>>> checking if gcc-4.9 static flag -static works... no
>>>>> checking if gcc-4.9 supports -c -o file.o... yes
>>>>> checking if gcc-4.9 supports -c -o file.o... (cached) yes
>>>>> checking whether the gcc-4.9 linker (gcc-4.9) supports shared libraries... yes
>>>>> checking dynamic linker characteristics... darwin10.8.0 dyld
>>>>> checking how to hardcode library paths into programs... immediate
>>>>> checking whether stripping libraries is possible... yes
>>>>> checking if libtool supports shared libraries... yes
>>>>> checking whether to build shared libraries... yes
>>>>> checking whether to build static libraries... no
>>>>> checking whether C compiler handles -Werror -Wunknown-warning-option... no
>>>>> checking whether -Wno-missing-field-initializers is supported... yes
>>>>> checking whether -Wno-missing-field-initializers is needed... no
>>>>> checking whether -Wuninitialized is supported... yes
>>>>> checking whether C compiler handles -W... yes
>>>>> checking whether C compiler handles -Waddress... yes
>>>>> checking whether C compiler handles -Waggressive-loop-optimizations... yes
>>>>> checking whether C compiler handles -Wall... yes
>>>>> checking whether C compiler handles -Warray-bounds... yes
>>>>> checking whether C compiler handles -Wattributes... yes
>>>>> checking whether C compiler handles -Wbuiltin-macro-redefined... yes
>>>>> checking whether C compiler handles -Wcast-align... yes
>>>>> checking whether C compiler handles -Wchar-subscripts... yes
>>>>> checking whether C compiler handles -Wclobbered... yes
>>>>> checking whether C compiler handles -Wcomment... yes
>>>>> checking whether C compiler handles -Wcomments... yes
>>>>> checking whether C compiler handles -Wcoverage-mismatch... yes
>>>>> checking whether C compiler handles -Wcpp... yes
>>>>> checking whether C compiler handles -Wdate-time... yes
>>>>> checking whether C compiler handles -Wdeprecated-declarations... yes
>>>>> checking whether C compiler handles -Wdisabled-optimization... yes
>>>>> checking whether C compiler handles -Wdiv-by-zero... yes
>>>>> checking whether C compiler handles -Wdouble-promotion... yes
>>>>> checking whether C compiler handles -Wempty-body... yes
>>>>> checking whether C compiler handles -Wendif-labels... yes
>>>>> checking whether C compiler handles -Wenum-compare... yes
>>>>> checking whether C compiler handles -Wextra... yes
>>>>> checking whether C compiler handles -Wformat-contains-nul... yes
>>>>> checking whether C compiler handles -Wformat-extra-args... yes
>>>>> checking whether C compiler handles -Wformat-nonliteral... yes
>>>>> checking whether C compiler handles -Wformat-security... yes
>>>>> checking whether C compiler handles -Wformat-y2k... yes
>>>>> checking whether C compiler handles -Wformat-zero-length... yes
>>>>> checking whether C compiler handles -Wfree-nonheap-object... yes
>>>>> checking whether C compiler handles -Wignored-qualifiers... yes
>>>>> checking whether C compiler handles -Wimplicit... yes
>>>>> checking whether C compiler handles -Wimplicit-function-declaration... yes
>>>>> checking whether C compiler handles -Wimplicit-int... yes
>>>>> checking whether C compiler handles -Winit-self... yes
>>>>> checking whether C compiler handles -Winline... yes
>>>>> checking whether C compiler handles -Wint-to-pointer-cast... yes
>>>>> checking whether C compiler handles -Winvalid-memory-model... yes
>>>>> checking whether C compiler handles -Winvalid-pch... yes
>>>>> checking whether C compiler handles -Wjump-misses-init... yes
>>>>> checking whether C compiler handles -Wlogical-op... yes
>>>>> checking whether C compiler handles -Wmain... yes
>>>>> checking whether C compiler handles -Wmaybe-uninitialized... yes
>>>>> checking whether C compiler handles -Wmissing-braces... yes
>>>>> checking whether C compiler handles -Wmissing-declarations... yes
>>>>> checking whether C compiler handles -Wmissing-field-initializers... yes
>>>>> checking whether C compiler handles -Wmissing-include-dirs... yes
>>>>> checking whether C compiler handles -Wmissing-parameter-type... yes
>>>>> checking whether C compiler handles -Wmissing-prototypes... yes
>>>>> checking whether C compiler handles -Wmultichar... yes
>>>>> checking whether C compiler handles -Wnarrowing... yes
>>>>> checking whether C compiler handles -Wnested-externs... yes
>>>>> checking whether C compiler handles -Wnonnull... yes
>>>>> checking whether C compiler handles -Wold-style-declaration... yes
>>>>> checking whether C compiler handles -Wold-style-definition... yes
>>>>> checking whether C compiler handles -Wopenmp-simd... yes
>>>>> checking whether C compiler handles -Woverflow... yes
>>>>> checking whether C compiler handles -Woverlength-strings... yes
>>>>> checking whether C compiler handles -Woverride-init... yes
>>>>> checking whether C compiler handles -Wpacked... yes
>>>>> checking whether C compiler handles -Wpacked-bitfield-compat... yes
>>>>> checking whether C compiler handles -Wparentheses... yes
>>>>> checking whether C compiler handles -Wpointer-arith... yes
>>>>> checking whether C compiler handles -Wpointer-sign... yes
>>>>> checking whether C compiler handles -Wpointer-to-int-cast... yes
>>>>> checking whether C compiler handles -Wpragmas... yes
>>>>> checking whether C compiler handles -Wreturn-local-addr... yes
>>>>> checking whether C compiler handles -Wreturn-type... yes
>>>>> checking whether C compiler handles -Wsequence-point... yes
>>>>> checking whether C compiler handles -Wshadow... yes
>>>>> checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
>>>>> checking whether C compiler handles -Wstack-protector... yes
>>>>> checking whether C compiler handles -Wstrict-aliasing... yes
>>>>> checking whether C compiler handles -Wstrict-overflow... yes
>>>>> checking whether C compiler handles -Wstrict-prototypes... yes
>>>>> checking whether C compiler handles -Wsuggest-attribute=const... yes
>>>>> checking whether C compiler handles -Wsuggest-attribute=format... yes
>>>>> checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
>>>>> checking whether C compiler handles -Wsuggest-attribute=pure... yes
>>>>> checking whether C compiler handles -Wswitch... yes
>>>>> checking whether C compiler handles -Wsync-nand... yes
>>>>> checking whether C compiler handles -Wtrampolines... yes
>>>>> checking whether C compiler handles -Wtrigraphs... yes
>>>>> checking whether C compiler handles -Wtype-limits... yes
>>>>> checking whether C compiler handles -Wuninitialized... yes
>>>>> checking whether C compiler handles -Wunknown-pragmas... yes
>>>>> checking whether C compiler handles -Wunsafe-loop-optimizations... yes
>>>>> checking whether C compiler handles -Wunused... yes
>>>>> checking whether C compiler handles -Wunused-but-set-parameter... yes
>>>>> checking whether C compiler handles -Wunused-but-set-variable... yes
>>>>> checking whether C compiler handles -Wunused-function... yes
>>>>> checking whether C compiler handles -Wunused-label... yes
>>>>> checking whether C compiler handles -Wunused-local-typedefs... yes
>>>>> checking whether C compiler handles -Wunused-parameter... yes
>>>>> checking whether C compiler handles -Wunused-result... yes
>>>>> checking whether C compiler handles -Wunused-value... yes
>>>>> checking whether C compiler handles -Wunused-variable... yes
>>>>> checking whether C compiler handles -Wvarargs... yes
>>>>> checking whether C compiler handles -Wvariadic-macros... yes
>>>>> checking whether C compiler handles -Wvector-operation-performance... yes
>>>>> checking whether C compiler handles -Wvla... yes
>>>>> checking whether C compiler handles -Wvolatile-register-var... yes
>>>>> checking whether C compiler handles -Wwrite-strings... yes
>>>>> checking whether C compiler handles -Wnormalized=nfc... yes
>>>>> checking whether C compiler handles -Wno-sign-compare... yes
>>>>> checking whether C compiler handles -Wno-sign-conversion... yes
>>>>> checking whether C compiler handles -Wno-conversion... yes
>>>>> checking whether C compiler handles -Wno-unused-parameter... yes
>>>>> checking whether C compiler handles -Wjump-misses-init... (cached) yes
>>>>> checking whether C compiler handles -Wframe-larger-than=4096... yes
>>>>> checking whether C compiler handles -Wno-overlength-strings... yes
>>>>> checking whether C compiler handles -fexceptions... yes
>>>>> checking whether C compiler handles -fasynchronous-unwind-tables... yes
>>>>> checking whether C compiler handles -fdiagnostics-show-option... yes
>>>>> checking whether C compiler handles -funit-at-a-time... yes
>>>>> checking whether C compiler handles -fipa-pure-const... yes
>>>>> checking whether C compiler handles -Wno-suggest-attribute=pure... yes
>>>>> checking whether C compiler handles -Wno-suggest-attribute=const... yes
>>>>> checking whether to enable maintainer-specific portions of Makefiles... no
>>>>> checking whether to enable maintainer-specific portions of Makefiles... yes
>>>>> checking whether NLS is requested... yes
>>>>> checking for intltool >= 0.40.0... 0.50.2 found
>>>>> checking for intltool-update... /opt/local/bin/intltool-update
>>>>> checking for intltool-merge... /opt/local/bin/intltool-merge
>>>>> checking for intltool-extract... /opt/local/bin/intltool-extract
>>>>> checking for xgettext... /opt/local/bin/xgettext
>>>>> checking for msgmerge... /opt/local/bin/msgmerge
>>>>> checking for msgfmt... /opt/local/bin/msgfmt
>>>>> checking for gmsgfmt... /opt/local/bin/msgfmt
>>>>> checking whether make supports nested variables... (cached) yes
>>>>> checking for pkg-config... /opt/local/bin/pkg-config
>>>>> checking pkg-config is at least version 0.9.0... yes
>>>>> checking for LIBXML... yes
>>>>> checking for LIBXSLT... yes
>>>>> checking for GLIB... yes
>>>>> checking for SOUP... yes
>>>>> checking for gtk-doc... yes
>>>>> checking for gtkdoc-check... gtkdoc-check.test
>>>>> checking for gtkdoc-check... /opt/local/bin/gtkdoc-check
>>>>> checking for gtkdoc-rebase... /opt/local/bin/gtkdoc-rebase
>>>>> checking for gtkdoc-mkpdf... /opt/local/bin/gtkdoc-mkpdf
>>>>> checking whether to build gtk-doc documentation... no
>>>>> checking for GTKDOC_DEPS... yes
>>>>> checking for CHECK... yes
>>>>> checking for gobject-introspection... yes
>>>>> checking for vapigen... /opt/local/bin/vapigen
>>>>> checking location of usb.ids database... <built-in>
>>>>> checking location of pci.ids database... <built-in>
>>>>> checking that generated files are newer than configure... done
>>>>> configure: creating ./config.status
>>>>> config.status: creating Makefile
>>>>> config.status: creating libosinfo.spec
>>>>> config.status: creating mingw-libosinfo.spec
>>>>> config.status: creating osinfo/Makefile
>>>>> config.status: creating osinfo/libosinfo-1.0.pc
>>>>> config.status: creating osinfo/osinfo_version.h
>>>>> config.status: creating data/Makefile
>>>>> config.status: creating data/datamap/Makefile
>>>>> config.status: creating data/datamap/microsoft.com/Makefile
>>>>> config.status: creating data/datamap/x.org/Makefile
>>>>> config.status: creating data/device/Makefile
>>>>> config.status: creating data/device/ibasetechnologies.net/Makefile
>>>>> config.status: creating data/device/ibm.com/Makefile
>>>>> config.status: creating data/device/pcisig.com/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1000-0012.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1013-00b8.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1022-2000.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-10ec-8029.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-10ec-8139.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1234-1111.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1274-5000.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-15ad-0710.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1af4-1000.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1af4-1001.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1af4-1002.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1af4-1003.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1af4-1009.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-1b36-0100.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-8086-100e.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-8086-2415.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-8086-25ab.d/Makefile
>>>>> config.status: creating data/device/pcisig.com/pci-8086-2668.d/Makefile
>>>>> config.status: creating data/device/usb.org/Makefile
>>>>> config.status: creating data/device/usb.org/usb-80ee-0021.d/Makefile
>>>>> config.status: creating data/device/xen.org/Makefile
>>>>> config.status: creating data/platform/Makefile
>>>>> config.status: creating data/platform/linux-kvm.org/Makefile
>>>>> config.status: creating data/platform/qemu.org/Makefile
>>>>> config.status: creating data/platform/redhat.com/Makefile
>>>>> config.status: creating data/platform/xen.org/Makefile
>>>>> config.status: creating data/install-script/Makefile
>>>>> config.status: creating data/install-script/debian.org/Makefile
>>>>> config.status: creating data/install-script/fedoraproject.org/Makefile
>>>>> config.status: creating data/install-script/microsoft.com/Makefile
>>>>> config.status: creating data/install-script/opensuse.org/Makefile
>>>>> config.status: creating data/install-script/redhat.com/Makefile
>>>>> config.status: creating data/install-script/ubuntu.com/Makefile
>>>>> config.status: creating data/os/Makefile
>>>>> config.status: creating data/os/altlinux.org/Makefile
>>>>> config.status: creating data/os/apple.com/Makefile
>>>>> config.status: creating data/os/centos.org/Makefile
>>>>> config.status: creating data/os/debian.org/Makefile
>>>>> config.status: creating data/os/fedoraproject.org/Makefile
>>>>> config.status: creating data/os/freebsd.org/Makefile
>>>>> config.status: creating data/os/gnome.org/Makefile
>>>>> config.status: creating data/os/mageia.org/Makefile
>>>>> config.status: creating data/os/mandriva.com/Makefile
>>>>> config.status: creating data/os/microsoft.com/Makefile
>>>>> config.status: creating data/os/netbsd.org/Makefile
>>>>> config.status: creating data/os/novell.com/Makefile
>>>>> config.status: creating data/os/openbsd.org/Makefile
>>>>> config.status: creating data/os/opensuse.org/Makefile
>>>>> config.status: creating data/os/oracle.com/Makefile
>>>>> config.status: creating data/os/redhat.com/Makefile
>>>>> config.status: creating data/os/sun.com/Makefile
>>>>> config.status: creating data/os/suse.com/Makefile
>>>>> config.status: creating data/os/ubuntu.com/Makefile
>>>>> config.status: creating data/schemas/Makefile
>>>>> config.status: creating tools/Makefile
>>>>> config.status: creating test/Makefile
>>>>> config.status: creating docs/Makefile
>>>>> config.status: creating docs/reference/Makefile
>>>>> config.status: creating examples/Makefile
>>>>> config.status: creating po/Makefile.in
>>>>> config.status: creating config.h
>>>>> config.status: config.h is unchanged
>>>>> config.status: executing depfiles commands
>>>>> config.status: executing libtool commands
>>>>> config.status: executing po/stamp-it commands
>>>>> me-Ahmeds-MacBook-Pro:libosinfo-master-c4d379042f57f0512ba3fb5fea2109acc941b460 me$ make
>>>>> make  all-recursive
>>>>> Making all in osinfo
>>>>> make  all-am
>>>>> CC       libosinfo_1_0_la-osinfo_avatar_format.lo
>>>>> CC       libosinfo_1_0_la-osinfo_datamap.lo
>>>>> CC       libosinfo_1_0_la-osinfo_datamaplist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_entity.lo
>>>>> CC       libosinfo_1_0_la-osinfo_filter.lo
>>>>> CC       libosinfo_1_0_la-osinfo_list.lo
>>>>> CC       libosinfo_1_0_la-osinfo_device.lo
>>>>> CC       libosinfo_1_0_la-osinfo_devicelink.lo
>>>>> CC       libosinfo_1_0_la-osinfo_devicelist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_devicelinklist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_devicelinkfilter.lo
>>>>> CC       libosinfo_1_0_la-osinfo_device_driver.lo
>>>>> CC       libosinfo_1_0_la-osinfo_device_driverlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_install_config.lo
>>>>> CC       libosinfo_1_0_la-osinfo_install_config_param.lo
>>>>> CC       libosinfo_1_0_la-osinfo_install_config_paramlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_install_script.lo
>>>>> CC       libosinfo_1_0_la-osinfo_install_scriptlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_product.lo
>>>>> CC       libosinfo_1_0_la-osinfo_productfilter.lo
>>>>> CC       libosinfo_1_0_la-osinfo_productlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_platform.lo
>>>>> CC       libosinfo_1_0_la-osinfo_platformlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_oslist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_os.lo
>>>>> CC       libosinfo_1_0_la-osinfo_os_variant.lo
>>>>> CC       libosinfo_1_0_la-osinfo_os_variantlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_deployment.lo
>>>>> CC       libosinfo_1_0_la-osinfo_deploymentlist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_media.lo
>>>>> CC       libosinfo_1_0_la-osinfo_medialist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_resources.lo
>>>>> CC       libosinfo_1_0_la-osinfo_resourceslist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_tree.lo
>>>>> CC       libosinfo_1_0_la-osinfo_treelist.lo
>>>>> CC       libosinfo_1_0_la-osinfo_db.lo
>>>>> CC       libosinfo_1_0_la-osinfo_loader.lo
>>>>> CC       libosinfo_1_0_la-osinfo_enum_types.lo
>>>>> CCLD     libosinfo-1.0.la
>>>>> ld: unknown option: --no-undefined
>>>>> collect2: error: ld returned 1 exit status
>>>>> make[3]: *** [libosinfo-1.0.la] Error 1
>>>>> make[2]: *** [all] Error 2
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make: *** [all] Error 2
>>>>>
>>>>>
>>>>
>>>> I'd like to see your config.log and the output of make using: "make v=1".
>>>> Those files are expected to be quite big. So, attach the file or use
>>>> pastebing for sharing those.
>>>>
>>>> Best Regards,
>>>> --
>>>> Fabiano Fidêncio
>>>
>>> It is attached to this email.
>>>
>>
>> Please, can you also attach the config.log?
>
> The config.log file is attached to this email.
>

I can see, on the config.log:

NO_UNDEFINED_FLAGS='-Wl,--no-undefined'

Are you sure you're trying to build a version that has the patches
that I pointed out applied? Because it doesn't seem so.

>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
>




More information about the Libosinfo mailing list