Fail to compile ModemManager



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

Please help!




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