>>>>> On Mon, 6 Mar 2006 15:36:00 +0900, Shingo OHKI <ohki@xxxxxxxxxxxx> said: > ありがとうございます。 > 少し先に進みましたが、今度はこんな感じのエラーでした。 > gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/libgfarm/ > gfarm -I../../include -I../../include -D_LARGEFILE64_SOURCE - > D_LARGEFILE64_SOURCE -c ./hooks_64.c -fPIC -DPIC -o .libs/hooks_64.o > ./hooks_64.c: In function `gfs_hook_syscall_xstat64': > ./hooks_64.c:188: error: `_STAT64_VER' undeclared (first use in this > function) > ./hooks_64.c:188: error: (Each undeclared identifier is reported only > once > ./hooks_64.c:188: error: for each function it appears in.) > ./hooks_64.c:188: warning: passing arg 3 of `gfs_hook_syscall_xstat' > from incompatible pointer type > ./hooks_64.c:188: error: too many arguments to function > `gfs_hook_syscall_xstat' > ./hooks_64.c: In function `gfs_hook_syscall_lxstat64': > ./hooks_64.c:198: error: `_STAT64_VER' undeclared (first use in this > function) > ./hooks_64.c:198: warning: passing arg 3 of `gfs_hook_syscall_lxstat' > from incompatible pointer type > ./hooks_64.c:198: error: too many arguments to function > `gfs_hook_syscall_lxstat' > ./hooks_64.c: In function `gfs_hook_syscall_fxstat64': > ./hooks_64.c:208: error: `_STAT64_VER' undeclared (first use in this > function) > ./hooks_64.c:208: warning: passing arg 3 of `gfs_hook_syscall_fxstat' > makes pointer from integer without a cast > ./hooks_64.c:208: error: too many arguments to function > `gfs_hook_syscall_fxstat' 今度も実機がないため、実際にコンパイルして確認してないのですが、 ディレクトリ lib/gfs_hook/ で、添付したパッチファイルを、 patch -p0 < xstat64.patch のように当てて、試していただけないでしょうか? -- <soda@xxxxxxxxx> (株)SRA ReSIC中部システムサービス部 曽田哲之 (SODA Noriyuki)
Attachment:
xstat64.patch
Description: Binary data