Am Montag, den 06.09.2010, 08:18 +0200 schrieb Milan Crha:
> On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
> > .libs/libebook_1_2_la-e-book.o: In function
> > `e_book_new_default_addressbook':
> > /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
> >  undefined reference to `e_source_list_peek_default_source'
>       Hi,
> I suppose you do not have latest master sources of the
> evolution-data-server. The "missing" function is part of
> libedataserver/e-source-list.c and it links to,
> which I see it used in the in addressbook/libebook. The
> function was added just recently.
>       Bye,
>       Milan
> _______________________________________________
> evolution-hackers mailing list
> To change your list options or unsubscribe, visit ...

Indeed I did not have the latest sources even though I switched branches
> git branch master
followed by a 
git pull origing master

I probably misread the message saying something like "... your tree is
ahead by xxx commits". 
git reset --hard origin/master
fixed it.

But still, evolution-data-server/addressbook/libebook does not install:

make[1]: Verlasse Verzeichnis
make install
make  install-am
make[1]: Betrete Verzeichnis
make[2]: Betrete Verzeichnis
test -z "/opt/evo/lib" || /bin/mkdir -p "/opt/evo/lib"
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c '/opt/evo/lib'
libtool: install: warning: relinking `'
libtool: install:
(cd /home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook; 
/bin/bash /home/tom/src/evolution/obj/evolution-data-server/libtool  --silent 
--tag CC --mode=relink ccache gcc -g -version-info 13:1:3 -Wl,--no-undefined -o -rpath /opt/evo/lib libebook_1_2_la-e-book-marshal.lo 
libebook_1_2_la-e-address-western.lo libebook_1_2_la-e-book-query.lo 
libebook_1_2_la-e-book-view.lo libebook_1_2_la-e-book.lo 
libebook_1_2_la-e-contact.lo libebook_1_2_la-e-destination.lo 
libebook_1_2_la-e-name-western.lo libebook_1_2_la-e-vcard.lo 
../../addressbook/libegdbus/ ../../camel/ 
../../libedataserver/ -pthread -lgio-2.0 -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lgconf-2 -lglib-2.0 -pthread -lgio-2.0 
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnss3 -lnssutil3 
-lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lsqlite3 -lz )
.libs/libebook_1_2_la-e-book.o: In function
 undefined reference to `e_source_list_peek_default_source'
collect2: ld returned 1 exit status
libtool: install: error: relink `' with the above command
before installing it
make[2]: *** [install-libLTLIBRARIES] Fehler 1
make[2]: Verlasse Verzeichnis
make[1]: *** [install-am] Fehler 2
make[1]: Verlasse Verzeichnis

Looking at the installed libraries, nm tells me that the function indeed
is undefined:
t...@ubuntu:~/src/evolution/obj/evolution-data-server/addressbook/libebook$ nm 
/opt/evo/lib/ /opt/evo/lib/ |grep peek_def
         U e_source_list_peek_default_source
00015eed T e_source_list_peek_default_source

But there are more functions like e_source_list... which are undefined
according to nm, but about which the linker does not complain.


evolution-hackers mailing list
To change your list options or unsubscribe, visit ...

Reply via email to