* [gentoo-user] Networkmanager-9999 won't compile
@ 2011-10-19 9:30 99% Nilesh Govindarajan
0 siblings, 0 replies; 1+ results
From: Nilesh Govindarajan @ 2011-10-19 9:30 UTC (permalink / raw
To: Gentoo User Mailing List
This is what I get when I try to install networkmanager-9999 which is
required by gnome-3.2.0
# source='nm-session-monitor.c'
object='NetworkManager-nm-session-monitor.o' libtool=no
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-I../marshallers -I../src/logging -I../src/dns-manager
-I../src/vpn-manager -I../src/dhcp-manager -I../src/ip6-manager
-I../src/supplicant-manager -I../src/dnsmasq-manager
-I../src/modem-manager -I../src/bluez-manager -I../src/settings
-I../libnm-util -I../callouts -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gudev-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
-I/usr/include/polkit-1 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DG_DISABLE_DEPRECATED
-DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"
-DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\"
-DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var\"
-DNM_RUN_DIR=\"/var/run/NetworkManager\"
-DNMLOCALEDIR=\"/usr/share/locale\" -DARP_DEBUG -O3 -march=native
-mtune=native -pipe -msse -msse2 -mmmx -c -o
NetworkManager-nm-session-monitor.o `test -f 'nm-session-monitor.c' ||
echo './'`nm-session-monitor.c
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O3
-march=native -mtune=native -pipe -msse -msse2 -mmmx -rdynamic -Wl,-O1
-Wl,--as-needed -o NetworkManager NetworkManager-nm-call-store.o
NetworkManager-nm-device.o NetworkManager-nm-device-interface.o
NetworkManager-nm-device-ethernet.o NetworkManager-nm-device-wifi.o
NetworkManager-nm-device-olpc-mesh.o NetworkManager-nm-device-bt.o
NetworkManager-nm-device-modem.o NetworkManager-nm-wifi-ap.o
NetworkManager-nm-wifi-ap-utils.o NetworkManager-nm-dbus-manager.o
NetworkManager-nm-udev-manager.o NetworkManager-nm-hostname-provider.o
NetworkManager-nm-ip4-config.o NetworkManager-nm-ip6-config.o
NetworkManager-nm-active-connection.o NetworkManager-nm-config.o
NetworkManager-main.o NetworkManager-nm-policy.o
NetworkManager-nm-policy-hosts.o NetworkManager-nm-policy-hostname.o
NetworkManager-NetworkManagerUtils.o NetworkManager-nm-system.o
NetworkManager-nm-manager.o NetworkManager-nm-manager-auth.o
NetworkManager-nm-netlink-monitor.o NetworkManager-nm-netlink-utils.o
NetworkManager-nm-netlink-compat.o
NetworkManager-nm-activation-request.o
NetworkManager-nm-properties-changed-signal.o NetworkManager-wpa.o
NetworkManager-nm-dhcp4-config.o NetworkManager-nm-dhcp6-config.o
NetworkManager-nm-session-monitor.o ../marshallers/libmarshallers.la
./logging/libnm-logging.la ./dns-manager/libdns-manager.la
./vpn-manager/libvpn-manager.la ./dhcp-manager/libdhcp-manager.la
./ip6-manager/libip6-manager.la
./supplicant-manager/libsupplicant-manager.la
./dnsmasq-manager/libdnsmasq-manager.la ./ppp-manager/libppp-manager.la
./modem-manager/libmodem-manager.la ./bluez-manager/libbluez-manager.la
./settings/libsettings.la ./backends/libnmbackend.la
../libnm-util/libnm-util.la -ldbus-glib-1 -ldbus-1 -lpthread -lrt
-lgobject-2.0 -lglib-2.0 -pthread -lgthread-2.0 -lrt -lgobject-2.0
-lglib-2.0 -lgudev-1.0 -lgobject-2.0 -lglib-2.0 -lnl
-Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0 -pthread
-lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0
-lm -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -O3 -march=native -mtune=native
-pipe -msse -msse2 -mmmx -rdynamic -Wl,-O1 -o .libs/NetworkManager
NetworkManager-nm-call-store.o NetworkManager-nm-device.o
NetworkManager-nm-device-interface.o NetworkManager-nm-device-ethernet.o
NetworkManager-nm-device-wifi.o NetworkManager-nm-device-olpc-mesh.o
NetworkManager-nm-device-bt.o NetworkManager-nm-device-modem.o
NetworkManager-nm-wifi-ap.o NetworkManager-nm-wifi-ap-utils.o
NetworkManager-nm-dbus-manager.o NetworkManager-nm-udev-manager.o
NetworkManager-nm-hostname-provider.o NetworkManager-nm-ip4-config.o
NetworkManager-nm-ip6-config.o NetworkManager-nm-active-connection.o
NetworkManager-nm-config.o NetworkManager-main.o
NetworkManager-nm-policy.o NetworkManager-nm-policy-hosts.o
NetworkManager-nm-policy-hostname.o NetworkManager-NetworkManagerUtils.o
NetworkManager-nm-system.o NetworkManager-nm-manager.o
NetworkManager-nm-manager-auth.o NetworkManager-nm-netlink-monitor.o
NetworkManager-nm-netlink-utils.o NetworkManager-nm-netlink-compat.o
NetworkManager-nm-activation-request.o
NetworkManager-nm-properties-changed-signal.o NetworkManager-wpa.o
NetworkManager-nm-dhcp4-config.o NetworkManager-nm-dhcp6-config.o
NetworkManager-nm-session-monitor.o -pthread -Wl,--export-dynamic
-pthread -pthread -Wl,--as-needed ../marshallers/.libs/libmarshallers.a
./logging/.libs/libnm-logging.a ./dns-manager/.libs/libdns-manager.a
./vpn-manager/.libs/libvpn-manager.a
./dhcp-manager/.libs/libdhcp-manager.a
./ip6-manager/.libs/libip6-manager.a
./supplicant-manager/.libs/libsupplicant-manager.a
./dnsmasq-manager/.libs/libdnsmasq-manager.a
./ppp-manager/.libs/libppp-manager.a
./modem-manager/.libs/libmodem-manager.a
./bluez-manager/.libs/libbluez-manager.a ./settings/.libs/libsettings.a
/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-9999/work/networkmanager-9999/libnm-util/.libs/libnm-util.so
./backends/.libs/libnmbackend.a ../libnm-util/.libs/libnm-util.so -luuid
-lssl3 -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4 -ldbus-glib-1
-ldbus-1 -lpthread /usr/lib64/libgudev-1.0.so -L/usr/lib64
/usr/lib64/libudev.so -lgthread-2.0 -lnl -lpolkit-gobject-1 -lgio-2.0
-lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lm -ldl -pthread
NetworkManager-main.o: In function `main':
main.c:(.text+0xa63): undefined reference to `g_thread_supported'
collect2: ld returned 1 exit status
make[4]: *** [NetworkManager] Error 1
make[4]: Leaving directory
`/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-9999/work/networkmanager-9999/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-9999/work/networkmanager-9999/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-9999/work/networkmanager-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-9999/work/networkmanager-9999'
make: *** [all] Error 2
The error is g_thread_supported is an undefined reference. This seems to
be related to glib. Anybody has a solution? I tried masking
networkmanager, but emerge won't allow me to do that when I try to
install gnome-base/gnome-3.2.0 (layman overlay)
--
Nilesh Govindarajan
http://nileshgr.com
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-10-19 9:30 99% [gentoo-user] Networkmanager-9999 won't compile Nilesh Govindarajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox