Re: Error while building seamonkey

Jean-François Mertens <[email protected]>
Newsgroups gmane.os.apple.fink.devel,gmane.os.apple.fink.gnome
Message-ID <[email protected]>
On 28 Oct 2008, at 17:30, Pierre-Henri Lavigne wrote:

> Seems the beginning ....
> Error with the new test rebuild
> http://paste.lisp.org/display/69344

I'll commit soon a fix for the first problem; but this one seems
to point to an earlier, different problem :

 From your log :
> -L../../../dist/bin -L../../../dist/lib -lxlibrgb -lxprintutil - 
> lgfxshared_s -lgkgfx -L../../../dist/bin -lxpcom -lxpcom_core - 
> L../../../dist/bin -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -L/sw/ 
> lib/pango-ft219/lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/ 
> lib -L/usr/X11R6/lib -ldl -lXp -lXext -lX11 ../../../dist/lib/ 
> libunicharutil_s.a  -lm
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> _XpuCompoundTextToXmb
> _XpuFindColorspaceByName
> _XpuFindResolutionByName
> _XpuFreeColorspaceList
> _XpuFreeXmbString
> _XpuGetColorspaceList
> _XpuSetEnableFontDownload
> collect2: ld returned 1 exit status
> make[4]: *** [libgfxxprint.dylib] Error 1
> make[4]: Leaving directory `/sw/src/fink.build/seamonkey-1.1.12-2/ 
> mozilla/gfx/src/xprint'

So you are in gfx/src/xprint ; hence the flags on the link line "- 
L../../../dist/lib -lxprintutil"
should have allowed to find dist/lib/libxprintutil.a  _ else the  
linker would have complained.
And I get :
> # nm -mgf dist/lib/libxprintutil.a |fgrep '_XpuCompoundTextToXmb
> > _XpuFindColorspaceByName
> > _XpuFindResolutionByName
> > _XpuFreeColorspaceList
> > _XpuFreeXmbString
> > _XpuGetColorspaceList
> > _XpuSetEnableFontDownload'
> 00001a25 (__TEXT,__text) external _XpuCompoundTextToXmb
> 0000169f (__TEXT,__text) external _XpuFindColorspaceByName
> 00000dd8 (__TEXT,__text) external _XpuFindResolutionByName
> 00001666 (__TEXT,__text) external _XpuFreeColorspaceList
> 00001bb3 (__TEXT,__text) external _XpuFreeXmbString
> 0000139f (__TEXT,__text) external _XpuGetColorspaceList
> 00001770 (__TEXT,__text) external _XpuSetEnableFontDownload

So all those symbols should have been found, except if something went  
badly wrong
much before, in your build of  libxprintutil.a  ..
Could you check this ?

JF Mertens



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.