On Tue, 2014-04-22 at 07:12 +0200, Milan Crha wrote:
> On Sat, 2014-04-19 at 01:06 +0000, Reid Thompson wrote:
> > Tried to build from git head and was getting build failures, so I
> > downloaded the latest stable .xz files -- getting the same failure.  Can
> > someone point me to what I may have wrong/missing?
> > 
> > Haven't built evo et al for several months; old system was blocked at <
> > gnome-3.8.  Got a new system and trying to start building again
> >
> > >> undefined reference to `e_timeout_add_seconds_with_name'
> > >> ...
> 
>       Hi,
> all those functions are provided by latest evolution-data-server. It
> seems your evolution build picks wrong libedataserver-1.2.pc.
> Verify that `pkg-config --cflags libedataserver-1.2` returns one of the
> -I paths pointing to your $PREFIX/include/evolution-data-server, where
> the latest evolution-data-server had been built.
>       Bye,
>       Milan
> 
> _______________________________________________
> evolution-hackers mailing list
> evolution-hackers@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-hackers


Looks like the configure script may be slightly off.... in some of the
makefiles, it's putting the required evo libraries before the -L/opt/evo/lib in 
the declaration...

[08:49:53][2s] rthompso@raker3> ~/evogit/obj/evolution
$ env|grep PKG
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/

[08:50:03][0s] rthompso@raker3> ~/evogit/obj/evolution
$ pkg-config --libs libedataserver-1.2
-ledataserver-1.2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/opt/evo/lib 
-lcamel-1.2 -lsqlite3 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 
-lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0  

[08:50:12][0s] rthompso@raker3> ~/evogit/obj/evolution
$ pkg-config --cflags libedataserver-1.2
-I/opt/evo/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr 
-I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -pthread 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2  

[08:50:16][0s] rthompso@raker3> ~/evogit/obj/evolution                          
                                                                                
                                                              
$ ../../evolution/configure --prefix=/opt/evo --disable-spamassassin 
--disable-pst-import


[08:58:07][0s] rthompso@raker3> /opt/evo/lib
$ nm libedataserver-1.2.so |grep e_timeout_add_seconds_with_name
0000000000063770 T e_timeout_add_seconds_with_name

looks like the problem is in the Makefiles for some of the subdirs...  the 
-L/opt/evo/lib is after the evolution specific libraries.  If I move the 
-L/opt/evo/lib from the middle of the declaration below to the beginning, then 
compilation succeeds, otherwise I think it's finding the distribution /usr/* 
versions of the evo libraries

EVOLUTION_DATA_SERVER_LIBS = -lebook-1.2 -ledata-book-1.2 -lebook-contacts-1.2 
-lecal-1.2 -L/usr/lib -lical -licalss -licalvcal -lpthread -lebackend-1.2 
-ledataserver-1.2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/opt/evo/lib 
-lcamel-1.2 -lsqlite3 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 
-lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0

the -L/opt/evo/lib should be before the evo libraries right???

$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-4.8.2/configure --disable-libssp --enable-multilib 
--enable-version-specific-runtime-libs --enable-libmudflap --prefix=/usr 
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2 
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include 
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2 
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man 
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info 
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4.8 
--enable-libstdcxx-time --enable-__cxa_atexit --enable-clocale=gnu 
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-ppl 
--disable-cloog --with-system-zlib --enable-obsolete --disable-werror 
--enable-secureplt --enable-lto --with-bugurl=http://bugs.funtoo.org 
--with-pkgversion='Funtoo 4.8.2-r2' 
--with-mpfr-include=/var/tmp/portage/sys-devel/gcc-4.8.2-r2/work/gcc-4.8.2/mpfr/src
 
--with-mpfr-lib=/var/tmp/portage/sys-devel/gcc-4.8.2-r2/work/objdir/mpfr/src/.libs
 -
 -disable-libquadmath --enable-libgomp --enable-languages=c,c++ 
--disable-libgcj --disable-esp
Thread model: posix
gcc version 4.8.2 (Funtoo 4.8.2-r2) 



e-util, shell, mail, etc fail unless I alter the declaration

[08:50:16][0s] rthompso@raker3> ~/evogit/obj/evolution                          
                                                                                
                                                              
make

...snip....


../../../evolution/e-util/gal-a11y-e-table-item.c: In function 
'eti_a11y_reset_focus_object':
../../../evolution/e-util/gal-a11y-e-table-item.c:227:3: warning: 
'atk_focus_tracker_notify' is deprecated (declared at 
/usr/include/atk-1.0/atk/atkutil.h:176) [-Wdeprecated-declarations]
   atk_focus_tracker_notify (cell);
   ^
  CC       libevolution_util_la-gal-a11y-e-table.lo
  CC       libevolution_util_la-gal-a11y-e-text-factory.lo
  CC       libevolution_util_la-gal-a11y-e-text.lo
  CC       libevolution_util_la-gal-a11y-e-tree-factory.lo
  CC       libevolution_util_la-gal-a11y-e-tree.lo
  CC       libevolution_util_la-gal-a11y-util.lo
  CC       libevolution_util_la-gal-view-collection.lo
  CC       libevolution_util_la-gal-view-etable.lo
  CC       libevolution_util_la-gal-view-instance-save-as-dialog.lo
  CC       libevolution_util_la-gal-view-instance.lo
  CC       libevolution_util_la-gal-view.lo
  CCLD     libevolution-util.la
.libs/libevolution_util_la-e-activity-bar.o: In function 
`activity_bar_feedback':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-activity-bar.c:75:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-activity-proxy.o: In function 
`activity_proxy_feedback':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-activity-proxy.c:78:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-alert.o: In function `e_alert_start_timer':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-alert.c:974:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-attachment.o: In function 
`attachment_cancelled_cb':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-attachment.c:613:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-calendar.o: In function 
`e_calendar_start_auto_move_year':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-calendar.c:603:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-calendar.o: In function 
`e_calendar_start_auto_move':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-calendar.c:588:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-canvas-utils.o: In function 
`e_canvas_item_show_area_delayed':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-canvas-utils.c:220:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-canvas.o: In function `e_canvas_item_grab':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-canvas.c:850:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-categories-config.o: In function 
`e_categories_config_get_icon_for':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-categories-config.c:87:
 undefined reference to `e_categories_dup_icon_file_for'
.libs/libevolution_util_la-e-categories-selector.o: In function 
`categories_selector_build_model':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-categories-selector.c:74:
 undefined reference to `e_categories_dup_list'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-categories-selector.c:90:
 undefined reference to `e_categories_dup_icon_file_for'
.libs/libevolution_util_la-e-category-completion.o: In function 
`category_completion_build_model':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-category-completion.c:64:
 undefined reference to `e_categories_dup_list'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-category-completion.c:80:
 undefined reference to `e_categories_dup_icon_file_for'
.libs/libevolution_util_la-e-category-editor.o: In function 
`e_category_editor_edit_category':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-category-editor.c:317:
 undefined reference to `e_categories_dup_icon_file_for'
.libs/libevolution_util_la-e-cell-text.o: In function `ect_enter_edit':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-cell-text.c:1123:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-cell-tree.o: In function `ect_event':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-cell-tree.c:464:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-map.o: In function `e_map_start_tweening':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-map.c:205:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-misc-utils.o: In function 
`window_delayed_update_settings':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-misc-utils.c:125:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-misc-utils.o: In function 
`e_util_get_category_filter_options':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-misc-utils.c:1913:
 undefined reference to `e_categories_dup_list'
.libs/libevolution_util_la-e-misc-utils.o: In function 
`e_util_dup_searchable_categories':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-misc-utils.c:1949:
 undefined reference to `e_categories_dup_list'
.libs/libevolution_util_la-e-name-selector-dialog.o: In function 
`name_selector_dialog_populate_categories':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-name-selector-dialog.c:131:
 undefined reference to `e_categories_dup_list'
.libs/libevolution_util_la-e-name-selector-entry.o: In function 
`user_delete_text':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-name-selector-entry.c:1575:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-name-selector-entry.o: In function 
`ensure_type_ahead_complete_on_timeout':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-name-selector-entry.c:2191:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-name-selector-entry.o: In function 
`user_insert_text':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-name-selector-entry.c:1525:
 undefined reference to `e_timeout_add_with_name'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-name-selector-entry.c:1529:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-proxy-combo-box.o: In function 
`e_proxy_combo_box_refresh':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-combo-box.c:330:
 undefined reference to `e_source_registry_ref_builtin_proxy'
.libs/libevolution_util_la-e-proxy-editor.o: In function `proxy_editor_load':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:90:
 undefined reference to `e_proxy_method_get_type'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:91:
 undefined reference to `e_source_proxy_get_method'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:99:
 undefined reference to `e_source_proxy_dup_autoconfig_url'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:105:
 undefined reference to `e_source_proxy_dup_ignore_hosts'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:116:
 undefined reference to `e_source_proxy_dup_http_host'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:122:
 undefined reference to `e_source_proxy_get_http_port'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:127:
 undefined reference to `e_source_proxy_dup_https_host'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:133:
 undefined reference to `e_source_proxy_get_https_port'
.libs/libevolution_util_la-e-proxy-editor.o: In function 
`proxy_editor_constructed':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:302:
 undefined reference to `e_proxy_method_get_type'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:305:
 undefined reference to `e_source_registry_ref_builtin_proxy'
.libs/libevolution_util_la-e-proxy-editor.o: In function `e_proxy_editor_save':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:677:
 undefined reference to `e_proxy_method_get_type'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:682:
 undefined reference to `e_source_proxy_set_method'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:689:
 undefined reference to `e_source_proxy_set_autoconfig_url'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:704:
 undefined reference to `e_source_proxy_set_ignore_hosts'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:712:
 undefined reference to `e_source_proxy_set_http_host'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:716:
 undefined reference to `e_source_proxy_set_http_port'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:722:
 undefined reference to `e_source_proxy_set_https_host'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:726:
 undefined reference to `e_source_proxy_set_https_port'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:732:
 undefined reference to `e_source_proxy_set_socks_host'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-editor.c:736:
 undefined reference to `e_source_proxy_set_socks_port'
.libs/libevolution_util_la-e-proxy-link-selector.o: In function 
`proxy_link_selector_set_source_selected':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-link-selector.c:216:
 undefined reference to `e_source_authentication_get_proxy_uid'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-link-selector.c:219:
 undefined reference to `e_source_authentication_set_proxy_uid'
.libs/libevolution_util_la-e-proxy-link-selector.o: In function 
`proxy_link_selector_get_source_selected':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-link-selector.c:180:
 undefined reference to `e_source_authentication_dup_proxy_uid'
.libs/libevolution_util_la-e-proxy-link-selector.o: In function 
`proxy_link_selector_constructed':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-link-selector.c:131:
 undefined reference to `e_source_registry_ref_builtin_proxy'
.libs/libevolution_util_la-e-proxy-preferences.o: In function 
`proxy_preferences_commit_stash':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-preferences.c:107:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-proxy-selector.o: In function 
`proxy_selector_action_add_cb':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-selector.c:203:
 undefined reference to `e_source_proxy_set_ignore_hosts'
.libs/libevolution_util_la-e-proxy-selector.o: In function 
`e_proxy_selector_ref_selected':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-selector.c:772:
 undefined reference to `e_source_registry_ref_builtin_proxy'
.libs/libevolution_util_la-e-proxy-selector.o: In function 
`e_proxy_selector_set_selected':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-selector.c:807:
 undefined reference to `e_source_registry_ref_builtin_proxy'
.libs/libevolution_util_la-e-proxy-selector.o: In function 
`e_proxy_selector_refresh':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-proxy-selector.c:676:
 undefined reference to `e_source_registry_ref_builtin_proxy'
.libs/libevolution_util_la-e-table-header-item.o: In function `scroll_on':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-table-header-item.c:669:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-table-search.o: In function `add_timeout':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-table-search.c:111:
 undefined reference to `e_timeout_add_seconds_with_name'
.libs/libevolution_util_la-e-table.o: In function `scroll_on':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-table.c:2994:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-text.o: In function `start_editing':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-text.c:1554:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-text.o: In function `e_text_event':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-text.c:1771:
 undefined reference to `e_timeout_add_with_name'
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-text.c:1776:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-timezone-dialog.o: In function 
`on_map_visibility_changed':
/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-timezone-dialog.c:589:
 undefined reference to `e_timeout_add_with_name'
.libs/libevolution_util_la-e-tree.o:/home/rthompso/evogit/obj/evolution/e-util/../../../evolution/e-util/e-tree.c:2552:
 more undefined references to `e_timeout_add_with_name' follow
collect2: error: ld returned 1 exit status
Makefile:1638: recipe for target 'libevolution-util.la' failed
make[3]: *** [libevolution-util.la] Error 1
make[3]: Leaving directory '/home/rthompso/evogit/obj/evolution/e-util'
Makefile:1567: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/rthompso/evogit/obj/evolution/e-util'
Makefile:722: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/rthompso/evogit/obj/evolution'
Makefile:624: recipe for target 'all' failed
make: *** [all] Error 2




_______________________________________________
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers

Reply via email to