Re: git current compile error
- From: Dan Williams <dcbw redhat com>
- To: Bryan Duff <duff0097 gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: git current compile error
- Date: Wed, 26 Aug 2009 11:33:00 -0500
On Mon, 2009-08-24 at 10:01 -0500, Bryan Duff wrote:
> $ ./configure && make
> ...
> 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 .libs/test-settings-defaults
> test_settings_defaults-test-settings-defaults.o
> -pthread ../../libnm-util/.libs/libnm-util.so -L/usr/lib64/nss
> -L/usr/lib64/nspr /usr/lib64/libgthread-2.0.so
> -lrt /usr/lib64/libdbus-glib-1.so /usr/lib64/libdbus-1.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -luuid -lssl3 -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -pthread
> ../../libnm-util/.libs/libnm-util.so: undefined reference to
> `nm_setting_olpc_mesh_error_quark'
> ../../libnm-util/.libs/libnm-util.so: undefined reference to
> `nm_setting_olpc_mesh_get_type'
We use symbol visibility to ensure that private functions don't leak
out, and it appears I forgot at least the
nm_setting_olpc_mesh_error_quark one. But nm_setting_olpc_mesh_get_type
should already be there? Can you try to 'make clean' and rebuild and
see if that fixes it? Sometimes stale stuff can trigger weird link
failures.
Pushed the error_quark fix as 0097628a7b8b7b1f4bf401a52a83077bf5f989f5
Thanks!
Dan
> Not sure what the issue is here:
> $ grep -Rni nm_setting_olpc_mesh_get_type *
> ...
> libnm-util/nm-setting-olpc-mesh.h:10:#define NM_TYPE_SETTING_OLPC_MESH
> (nm_setting_olpc_mesh_get_type ())
> libnm-util/nm-setting-olpc-mesh.h:44:GType
> nm_setting_olpc_mesh_get_type (void);
> libnm-util/libnm-util.ver:306: nm_setting_olpc_mesh_get_type;
>
> I'm not really sure what to look for in this case.
>
> Thanks.
>
> -Bryan
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]