include/X11/Xos_r.h and NetBSD
Jeremy C. Reed
reed at reedmedia.net
Sat Oct 15 15:46:34 PDT 2005
I was building libX11-0.99.0 on NetBSD/i386 3.0_BETA and it failed with
cc -DHAVE_CONFIG_H -I. -I../include/X11
-I/tmp/pkgsrc/wip/libX11/work.glacier/.buildlink/include -I../include
-I../src/xcms -I../src/xkb -I../src/xlibi18n -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -DX11_t -DTRANS_CLIENT -O2 -MT GetDflt.lo -MD -MP -MF
.deps/GetDflt.Tpo -c GetDflt.c -fPIC -DPIC -o .libs/GetDflt.o
GetDflt.c: In function `GetHomeDir':
GetDflt.c:133: error: too few arguments to function `getpwnam_r'
GetDflt.c:135: error: too few arguments to function `getpwuid_r'
gmake[3]: *** [GetDflt.lo] Error 1
My xproto is from xproto-7.0. Both from X11R7.0-RC0.
NetBSD's GETPWENT(3) Man page says:
getpwnam_r(const char *name, struct passwd *pw, char *buffer,
size_t buflen, struct passwd **result);
getpwuid_r(uid_t uid, struct passwd *pw, char *buffer, size_t buflen,
struct passwd **result);
I see changes to lib/X11/configure.ac and others.
When will a release candidate download be available for these?
I also had the following when I attempt to run autoconf:
configure.ac:2284: error: m4_defn: undefined macro: _m4_divert_diversion
So I have not tested yet whether new xorg/lib/X11 cvs works on NetBSD yet.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/
More information about the xorg-modular
mailing list