Subject: Re: your mail
To: Fr3aK3r <fr3ak3rman@zonnet.nl>
From: Andrey Petrov <petrov@netbsd.org>
List: port-sparc64
Date: 01/20/2004 12:02:42
On Sun, Jan 18, 2004 at 03:40:54PM +0100, Fr3aK3r wrote:
> Hi,
> 
> My ultra10 is now running netbsd 1.6.1 for a little while and i've tried to 
> get X running.
> 
> Downloaded Xfree 4.3.0 and compiled it, but now when it tried to start xdm it 
Xfree from xfree86.org doesn't support it yet, i did some work but havn't
completed it yet. I'll try to update patches for recent -current and to
build GENERIC kernel from that over coming weekend. 

> shows me the following error :
> 
> /usr/X11R6/lib/libXpm.so.4: Undefined symbol "" (reloc type = 12, symnum = 11)
> 

What compiler did you use? What 'ldd /usr/X11R6/bin/xdm' reports?

I saw similar problem when when used homebuilt gcc with shared libgcc.
In my case it was gcc emitting unsupported relocations types when app
used c++ exceptions. I posted patch for ld.elf_so quite some time ago
but a) don't know if that a correct way to fix a problem, b) in-tree
gcc generated programs work correctly.

	Andrey