Problem running X11 on PPC Mac

Gregory Wright gwright at comcast.net
Wed Nov 15 11:00:21 EST 2006


Hi Christian,

On Nov 15, 2006, at 9:14 AM, Christian Maeder wrote:

> Gregory Wright schrieb:
>>> /opt/local/lib/ghc-6.6/HSX11_cbits.o: unknown symbol `_printf 
>>> $LDBLStub'
>>
>> I think I remember seeing something like this.  I'll look into it  
>> some
>> more.
>
> That's a gcc problem. I think, HSX11_cbits.o should be built with
> gcc-3.3. (I assume your default is gcc-4.0.)
>
> Try adding "-pgmc /usr/bin/gcc-3.3" to ghc's command-line.
>

It may be possible to keep gcc 4.0 and just link in -lSystemStubs.
That were the undefined symbol lives.

> Christian
>
> P.S. I had to set DYLIB_LIBRARY_PATH, before it worked for me
>
Yes, it looks like I'll have to patch up the ghc script some more
find find X11 properly.

Greg

> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list