#3036: libproxy-0.2.3 will not compile with NetworkManager installed
---------------------+------------------------------------------------------
Reporter: ringlis | Owner: blfs-b...@…
Type: task | Status: new
Priority: normal | Milestone: future
Component: BOOK | Version: SVN
Severity: normal | Keywords:
---------------------+------------------------------------------------------
gcc -DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\"
-DPACKAGE_VERSION=\"0.2.3\" "-DPACKAGE_STRING=\"libproxy 0.2.3\""
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"libproxy\"
-DVERSION=\"0.2.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I. -I../../src/lib
-I/usr/include/NetworkManager -g -std=c99 -g -O2
-DPLUGINDIR=\"/usr/lib/libproxy/0.2.3/plugins\" -DSYSCONFDIR=\"/usr/etc\"
-D_POSIX_C_SOURCE=1 -MT networkmanager_la-networkmanager.lo -MD -MP -MF
.deps/networkmanager_la-networkmanager.Tpo -c networkmanager.c -fPIC
-DPIC -o .libs/networkmanager_la-networkmanager.o
networkmanager.c:27:23: error: dbus/dbus.h: No such file or directory
networkmanager.c: In function 'nm_on_get_proxy':
networkmanager.c:34: error: 'DBusConnection' undeclared (first use in this
function)
networkmanager.c:34: error: (Each undeclared identifier is reported only
once
networkmanager.c:34: error: for each function it appears in.)
networkmanager.c:34: error: 'conn' undeclared (first use in this function)
networkmanager.c:35: warning: implicit declaration of function
'dbus_connection_get_is_connected'
networkmanager.c:41: warning: implicit declaration of function
'dbus_connection_close'
networkmanager.c:42: warning: implicit declaration of function
'dbus_connection_read_write'
networkmanager.c:43: error: 'DBusMessage' undeclared (first use in this
function)
networkmanager.c:43: error: 'msg' undeclared (first use in this function)
networkmanager.c:43: warning: implicit declaration of function
'dbus_connection_pop_message'
networkmanager.c:43: warning: implicit declaration of function
'dbus_message_unref'
networkmanager.c:47: warning: implicit declaration of function
'dbus_bus_get_private'
networkmanager.c:47: error: 'DBUS_BUS_SYSTEM' undeclared (first use in
this function)
networkmanager.c:51: warning: implicit declaration of function
'dbus_connection_set_exit_on_disconnect'
networkmanager.c:52: warning: implicit declaration of function
'dbus_bus_add_match'
networkmanager.c:53: warning: implicit declaration of function
'dbus_connection_flush'
networkmanager.c:72: warning: implicit declaration of function
'dbus_message_get_args'
networkmanager.c:72: error: 'DBUS_TYPE_UINT32' undeclared (first use in
this function)
networkmanager.c:72: error: 'DBUS_TYPE_INVALID' undeclared (first use in
this function)
networkmanager.c: In function 'on_proxy_factory_destantiate':
networkmanager.c:94: error: 'DBusConnection' undeclared (first use in this
function)
networkmanager.c:94: error: 'conn' undeclared (first use in this function)
make[3]: *** [networkmanager_la-networkmanager.lo] Error 1
make[3]: Leaving directory
`/mnt/sources/sources/gnome2/src/libproxy-0.2.3/src/plugins'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/mnt/sources/sources/gnome2/src/libproxy-0.2.3/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/sources/sources/gnome2/src/libproxy-0.2.3/src'
make: *** [all-recursive] Error 1
ringlis [ /mnt/sources/sources/gnome2/src/libproxy-0.2.3 ]$
I have compiled this library without NetworkManager on a previous gnome2
blfs-svn 201001xx build w/o an issue. I downloaded and compiled
libproxy-0.3.0 and it does compile against NetworkManager. Maybe update
this package to the newer version?
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3036>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page