Submitted by KloN on Tue, 02/08/2005 - 11:36.
Hi,
when I try to compile OpenMotif (both 2.2.2 and 2.2.3) finally I get a following error:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I./.. -DXMBINDDIR_FALLBACK=\"/usr/X11R6/lib/X11/bindings\" -DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\" -I/usr/X11R6/include -g -O2 -Wall -Wno-unused -Wno-comment -c Xmos.c -fPIC -DPIC -o .libs/Xmos.lo
Xmos.c:275:50: macro "_XGetpwnam" requires 3 arguments, but only 2 given
Xmos.c: In function `GetQualifiedDir':
Xmos.c:275: error: `_XGetpwnam' undeclared (first use in this function)
Xmos.c:275: error: (Each undeclared identifier is reported only once
Xmos.c:275: error: for each function it appears in.)
Xmos.c:1033:48: macro "_XGetpwnam" requires 3 arguments, but only 2 given
Xmos.c: In function `XmeGetHomeDirName':
Xmos.c:1033: error: `_XGetpwnam' undeclared (first use in this function)
Xmos.c:1037:50: macro "_XGetpwuid" requires 3 arguments, but only 2 given
Xmos.c:1037: error: `_XGetpwuid' undeclared (first use in this function)
Any suggestions?
Thanks in advance.
Thu, 11/03/2005 - 14:14#1
soban
motif compile error
Hi,I have the same problem but I haven't found solution yet. Did you fix that,can you,please,tell me what to do? thx
compiled on debian /sarge/, openmotif2.2.2, openmotif2.2.3
errors:
Xmos.c:275:50: macro "_XGetpwnam" requires 3 arguments, but only 2 given
Xmos.c: In function `GetQualifiedDir':
Xmos.c:275: error: `_XGetpwnam' undeclared (first use in this function)
Xmos.c:275: error: (Each undeclared identifier is reported only once
Xmos.c:275: error: for each function it appears in.)
Xmos.c:1033:48: macro "_XGetpwnam" requires 3 arguments, but only 2 given
Xmos.c: In function `XmeGetHomeDirName':
Xmos.c:1033: error: `_XGetpwnam' undeclared (first use in this function)
Xmos.c:1037:50: macro "_XGetpwuid" requires 3 arguments, but only 2 given
Xmos.c:1037: error: `_XGetpwuid' undeclared (first use in this function)
make[2]: *** [Xmos.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thu, 12/08/2005 - 13:39#2
Yuriy Syrota
Open Motif 2.2 compile error
It seems the issue appeared because an extra argument was added in XFree86 4.3. See http://bugs.debian.org/194466 for details.
The solution could be to define NEED_XOS_R_H in config.h. In this case OpenMotif will be built with internal Xmos_r.h
Wed, 12/21/2005 - 08:54#3
Yuriy Syrota
Open Motif 2.2 compile error
I additionally investigated this issue and came to the decision that the issue caused by a change of public header file Xos_r.h from Debian developers. So, I believe this is obliviously bug of Debian.
Sat, 02/11/2006 - 02:43#4
einarabelc5
OPen MOtiff for DEbian Woody on IA 64
So if it is a DEbian bug what do we do to fix it... PLz I need help ASAP...
NTW that NEDD fix on include/config.h doesnt work
Mon, 10/23/2006 - 10:11#5
mami_hacky
Open Motif 2.2 compile error
Note:
#define HAVE_X11_XOS_R_H
should also be commented