[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gfarm-discuss-ja:00272] Re: solaris10上でのgfarm-1.2.9のコンパイル



曽田 様

パッチの作成ありがとうございます。
今度はこのようなエラーでした。

gmake[3]: Entering directory `/opt/gfarm-1.2.9/lib/libgfarm/gfarm'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/opt/gfarm-1.2.9/lib/libgfarm/gfarm'
gmake[2]: Leaving directory `/opt/gfarm-1.2.9/lib/libgfarm'
[ making gfs_hook ]
gmake[2]: Entering directory `/opt/gfarm-1.2.9/lib/gfs_hook'
[ making sysdep/default ]
gmake[3]: Entering directory `/opt/gfarm-1.2.9/lib/gfs_hook/sysdep/ default'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/opt/gfarm-1.2.9/lib/gfs_hook/sysdep/ default'
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -I. -I../../lib/ libgfarm/gfutil -I../../lib/libgfarm/gfarm -I../../include -I../../ include -o gfs_hook.o lib_tmp_gfs_hook.la
libtool: link: warning: `-l' and `-L' are ignored for objects
/usr/ccs/bin/ld -r -o gfs_hook.o -z allextract,./.libs/ lib_tmp_gfs_hook.a -z defaultextract
ld: fatal: option -z has illegal argument `allextract,./.libs/ lib_tmp_gfs_hook.a'
ld: fatal: no files on input command line
gmake[2]: *** [gfs_hook.o] Error 1
gmake[2]: Leaving directory `/opt/gfarm-1.2.9/lib/gfs_hook'
gmake[1]: *** [subdir-all] Error 1
gmake[1]: Leaving directory `/opt/gfarm-1.2.9/lib'
gmake: *** [subdir-all] Error 1

On 2006/03/06, at 16:43, SODA Noriyuki wrote:

>>>>>> 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)
> <xstat64.patch>

-------------------------------------------------
(独)理化学研究所 横浜研究所
ゲノム科学総合研究センター(GSC)
ゲノム情報先端技術研究グループ
広域分散情報統合研究チーム
大木 真吾
Mail: ohki@xxxxxxxxxxxx
Tel: 045-503-9111(内線:8271)
-------------------------------------------------