Compiling on FreeBSD

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Compiling on FreeBSD

Submitted by Anonymous on Sat, 09/06/2003 - 07:06.

Face A Problem compiling on FreeBSD. Gives mistake

../../lib/Xm/.libs/ undefined reference to `getpwuid_r`
../../lib/Xm/.libs/ undefined reference to `getpwnam_r`
gmake[2] *** [wmldbcreate] Error 1
gmake[2] Leaving directory `/usr/src/soft/openMotif-2.2.2/tools/wml`
gmake[1] *** [all-recursive] Error 1
gmake[1] Leaving directory `/usr/src/soft/openMotif-2.2.2/tools`
gmake *** [all-recursive] Error 1

thank for help

Tue, 07/27/2004 - 12:29#1

Tue, 07/27/2004 - 12:29#1

Yuriy Syrota

Re: Compiling on FreeBSD

Set CLAGS enviromnent variable to -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI before calling configure and use gmake.

So, the following should work:

cd openmotif-2.2.3
gmake install

The necessary fixes are already included in source code of next version of OpenMotif.