Face A Problem compiling on FreeBSD. Gives mistake ../../lib/Xm/.libs/libXm.so undefined reference to `getpwuid_r` thank for help |
|||
|
User login |
|
|
All trademarks and copyrights on this page are properties of their respective owners. The rest is copyright © Integrated Computer Solutions Inc., 2003 - 2012 |
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
setenv CPPFLAGS '-DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI'
./configure
gmake
gmake install
The necessary fixes are already included in source code of next version of OpenMotif.