Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] thunderbird1.5 : undefined reference
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Thu Jan 12, 2006 10:46 pm    Post subject: [Solved] thunderbird1.5 : undefined reference Reply with quote

Hi
Thunderbird 1.5 is now released and it is still not even ~ppc ;-)
I tried the "bare" 1.5rc2 ebuild but I get quite early problem that I can not figure out
how to correct it., even manually I was not lucky googling :(
Any idea, tip ?

Code:

powerpc-unknown-linux-gnu-gcc  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"   -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -mcpu=7450 -pipe -mabi=altivec -Wno-return-type -w -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -o xpt_dump xpt_dump.o    -Wl,-R/usr/lib/mozilla-thunderbird  -L../../../../dist/bin -L../../../../dist/lib ../../../../dist/lib/libxpt.a -ldl -lm
../../../../dist/lib/libxpt.a(xpt_arena.o): In function `XPT_ArenaStrDup':
xpt_arena.c:(.text.XPT_ArenaStrDup+0x54): undefined reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_struct.o): In function `XPT_InterfaceDescriptorAddTypes':
xpt_struct.c:(.text.XPT_InterfaceDescriptorAddTypes+0xa8): undefined reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_struct.o): In function `XPT_InterfaceDescriptorAddMethods':
xpt_struct.c:(.text.XPT_InterfaceDescriptorAddMethods+0xa8): undefined reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_struct.o): In function `XPT_InterfaceDescriptorAddConsts':
xpt_struct.c:(.text.XPT_InterfaceDescriptorAddConsts+0xa8): undefined reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_xdr.o): In function `GrowPool':
xpt_xdr.c:(.text.GrowPool+0xa4): undefined reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_xdr.o):xpt_xdr.c:(.text.XPT_NewString+0x68): more undefined references to `memcpy@@GLIBC_2.0' follow
collect2: ld a retourné 1 code d'état d'exécution
gmake[2]: *** [xpt_dump] Erreur 1


for the point that shows failure and, for the may be offending compilation option :

Code:

powerpc-unknown-linux-gnu-gcc -o xpt_arena.o -c -I../../../../dist/include/system_wrappers -include ../../../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DEXPORT_XPT_API   -I../../../../dist/include/xpcom -I../../../../dist/include -I../../../../dist/include/nspr    -I../../../../dist/sdk/include    -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"   -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -mcpu=7450 -pipe -mabi=altivec -Wno-return-type -w -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/xpt_arena.pp xpt_arena.c
xpt_struct.c
powerpc-unknown-linux-gnu-gcc -o xpt_struct.o -c -I../../../../dist/include/system_wrappers -include ../../../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DEXPORT_XPT_API   -I../../../../dist/include/xpcom -I../../../../dist/include -I../../../../dist/include/nspr    -I../../../../dist/sdk/include    -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"   -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -mcpu=7450 -pipe -mabi=altivec -Wno-return-type -w -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/xpt_struct.pp xpt_struct.c
xpt_xdr.c
powerpc-unknown-linux-gnu-gcc -o xpt_xdr.o -c -I../../../../dist/include/system_wrappers -include ../../../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DEXPORT_XPT_API   -I../../../../dist/include/xpcom -I../../../../dist/include -I../../../../dist/include/nspr    -I../../../../dist/sdk/include    -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"   -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -mcpu=7450 -pipe -mabi=altivec -Wno-return-type -w -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/xpt_xdr.pp xpt_xdr.c
rm -f libxpt.a
ar cr libxpt.a xpt_arena.o xpt_struct.o xpt_xdr.o
ranlib libxpt.a


Regards


Last edited by sno35 on Sun Jan 15, 2006 12:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Fri Jan 13, 2006 12:12 am    Post subject: had not seen the ebuild from janauary 12 Reply with quote

that apply patches from firefox1.5 I spotted was to be used, but did not know how apply them in the chain.
emerging --sync ...
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Fri Jan 13, 2006 12:30 am    Post subject: much better [update] not so much better Reply with quote

now the bad part is passed compiled.
Will see tomorrow if we get smth usable :)

tomorrow has become today and even yesterday.
ebuild compile install qmerge
and I got

Code:
/usr/lib/mozilla-thunderbird/thunderbird-bin: symbol lookup error: /usr/lib/mozilla-thunderbird/components/libxremote_client.so: undefined symbol: _Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule
thunderbird-bin exited with non-zero status (127)


google is still not my friend :(


update : solved
before installing thunderbird, get rid of old /usr/lib/mozilla-thunderbird directory
And then it works OK :)

PS: I could not edit the subject of my first post to indicate solved problem :(
PPS: it seems I (or one ?) can not change subject length to a higher number of character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum