Re: Fail to compile ModemManager
- From: Jirka Klimes <jklimes redhat com>
- To: networkmanager-list gnome org
- Cc: Haind6 viettel com vn
- Subject: Re: Fail to compile ModemManager
- Date: Tue, 9 Mar 2010 09:33:12 +0100
On Tuesday 09 of March 2010 05:13:08 Nguyen Canh Toan wrote:
> Hi,
>
> I am trying to recompile ModemManager.
>
> My workstation:
> Linux vt_ttpm_rd_toannc5 2.6.28-18-generic #59-Ubuntu SMP Thu Jan 28
> 01:23:03 UTC 2010 i686 GNU/Linux
>
> Make process output the following error and exit:
> ...........
> -lglib-2.0 ../marshallers/libmarshallers.la ./libmodem-helpers.la
> libtool: link: gcc -Wall -Werror -std=gnu89 -g -O2 -Wshadow
> -Wmissing-declarations -Wmissing-prototypes
> -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter
> -Wno-sign-compare -fno-strict-aliasing -o modem-manager
> modem_manager-main.o modem_manager-mm-callback-info.o
> modem_manager-mm-manager.o modem_manager-mm-modem.o
> modem_manager-mm-port.o modem_manager-mm-modem-base.o
> modem_manager-mm-serial-port.o modem_manager-mm-serial-parsers.o
> modem_manager-mm-generic-cdma.o modem_manager-mm-generic-gsm.o
> modem_manager-mm-modem-cdma.o modem_manager-mm-modem-gsm-card.o
> modem_manager-mm-modem-gsm-network.o modem_manager-mm-modem-gsm-sms.o
> modem_manager-mm-modem-simple.o modem_manager-mm-options.o
> modem_manager-mm-plugin.o modem_manager-mm-plugin-base.o
> modem_manager-mm-properties-changed-signal.o -Wl,--export-dynamic
> -L//lib -lgudev-1.0 ../marshallers/.libs/libmarshallers.a -ldbus-glib-1
> -ldbus-1 /usr/lib/libgmodule-2.0.so /usr/lib/libgobject-2.0.so
> /usr/lib/libglib-2.0.so ./.libs/libmodem-helpers.a
> /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libgudev-1.0.so:
> undefined reference to `udev_monitor_filter_add_match_subsystem_devtype'
> collect2: ld returned 1 exit status
> make[4]: *** [modem-manager] Error 1
> make[4]: Leaving directory `/home/toannc/Desktop/ModemManager-0.3/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/toannc/Desktop/ModemManager-0.3/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/toannc/Desktop/ModemManager-0.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/toannc/Desktop/ModemManager-0.3'
> make: *** [all] Error 2
>
> Currently, I am using udev-143
> toannc vt_ttpm_rd_toannc5:~/Desktop/ModemManager-0.3$ udevadm -V
> 143
>
You should probably upgrade udev as
udev_monitor_filter_add_match_subsystem_devtype was not found on your system.
You can look at https://bugs.launchpad.net/ubuntu/+source/udev/+bug/427672 ,
last comment suggest udev - 147-1.
Problems in compiling due to udev was also discussed on this list
some time ago:
http://www.mail-archive.com/networkmanager-list gnome org/msg13072.html
Jirka
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]