hns - 日記自動生成システム - Version 2.19.9

先月 2006年01月 来月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2006年01月10日(火) 旧暦 [n年日記] [更新:"2006/01/10 12:22:25"]

#1 [NetBSD][pkgsrc] Xmos.c:279: error: too few arguments to function `getpwnam_r'

Xmos.c: In function `GetQualifiedDir':
Xmos.c:279: error: too few arguments to function `getpwnam_r'
Xmos.c: In function `XmeGetHomeDirName':
Xmos.c:1037: error: too few arguments to function `getpwnam_r'
Xmos.c:1041: error: too few arguments to function `getpwuid_r'
gmake[2]: *** [Xmos.lo] Error 1
gmake[2]: Leaving directory `/export/pkgsrc/x11/openmotif/work/openMotif-2.2.3/lib/Xm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/pkgsrc/x11/openmotif/work/openMotif-2.2.3/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /export/pkgsrc/x11/openmotif
/usr/pkgsrc/x11/openmotif/work/openMotif-2.2.3/lib/Xm/Xmos.c
	    pwd_value = _XGetpwnam(ptr, pwd_buf);
so many #ifdefs in:
/usr/pkgsrc/x11/openmotif/work/openMotif-2.2.3/lib/Xm/Xmos_r.h
# if defined(_POSIX_REENTRANT_FUNCTIONS) || !defined(SVR4) || defined(Lynx)
#  ifndef Lynx
lib/Xm/Xmos_r.h:332:((getpwnam_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws)
#  else /* Lynx */
lib/Xm/Xmos_r.h:337:((getpwnam_r(&(p).pws,(u),(p).pwbuf,sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws)
#  endif
# else /* SVR4 */
lib/Xm/Xmos_r.h:343:((getpwnam_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == NULL) ? NULL : &(p).pws)
# endif /* SVR4 */
lib/Xm/Xmos_r.h:363:((getpwnam_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf),&(p).pwp) == -1) ? \
 NULL : (p).pwp)
src/include/pwd.h
int		 getpwnam_r(const char *, struct passwd *, char *, size_t,
				struct passwd **);
#define _XGetpwnam(u,p) の引数は、最後の場合を除いて次の通り。

openMotif-2.2.3/lib/Xm/Xmos.csrc/include/pwd.h
1(u)const char *
2&(p).pwsstruct passwd *
3(p).pwbufchar *
4sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws)size_t
5
struct passwd **
しかし最後のを選んでいれば、5 つある ?



最近の日記
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)