Monic Polynomial wrote:
> (detected by Todai’s build logs)
> 
> mtools-4.0.1-1 fails to build on Intel OS 10.5.6.
[]
> gcc -L/sw/lib   floppyd.o -o floppyd  -L/usr/X11/lib -R/usr/X11/lib - 
> lSM -lICE -lX11
> Undefined symbols:
>    "_XauFileName", referenced from:
>        _alarm_signal in floppyd.o
>        _cleanup in floppyd.o
>        _serve_client in floppyd.o
>        _serve_client in floppyd.o
>        _serve_client in floppyd.o
>        _serve_client in floppyd.o
> ld: symbol(s) not found
[]
> Adding
> 
> SetLDFLAGS: -L/usr/X11/lib -lXau
> 
> to mtools.info fixes the build error.

Ripping out the patch that introduces this bug fixes the build error, 
too :-)

According to the cvs logs, the removal of -lXau was placed into the 
patch file (in 2005) as a "Minor build cleanup". On Tiger, one gets a 
"warning multiple definitions of symbol _XauFileName", because the 
symbol is also in libX11, which is not the case on Leopard.

Since I first thought this was an upstream bug, I updated the package 
also to the most recent version 4.1.10.

-- 
Martin

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to