Subject: Re: problems building openmotif on 2.0
To: None <tech-pkg@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: tech-pkg
Date: 12/18/2005 15:47:42
joerg@britannica.bec.de wrote:
> On Sun, Dec 18, 2005 at 10:04:33AM -0500, Steven M. Bellovin wrote:
[...]
>> ../../lib/Xm/.libs/libXm.so: undefined reference to `getpwuid_r'
>> ../../lib/Xm/.libs/libXm.so: undefined reference to `getpwnam_r'

> Can you try the attached replacement for patch-ae?
[...]
> +#if defined(__NetBSD__) && (__NetBSD_version >= 299001100) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS)
> +#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
> +#endif

Hi Joerg,

I see similar errors on DragonFly.  On the other hand, I notice that
the only reason I have openmotif installed on my DF box is that jdk14
requires it.

Which brings up the question of jdk on DragonFly... ;o)  I know
you are very busy with many different projects, but is anything
happening with jdk at the moment?  pkg_chk keeps nagging me to
upgrade my jdk14, but the new version won't build on DF without
your (updated) patches.

Thanks!