[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gfarm-discuss-ja:00268] Re: [gfarm-discuss-ja:00267] Re: Re: [gfarm-discuss-ja:00265] Re: solaris10上でのgfarm-1.2.9のコンパイル
- From: Shingo OHKI <ohki@xxxxxxxxxxxx>
- Date: Mon, 6 Mar 2006 14:55:19 +0900
曽田 様
お手数をおかけいたします。
On 2006/03/06, at 14:47, SODA Noriyuki wrote:
>>>>>> On Mon, 6 Mar 2006 14:43:08 +0900, Shingo OHKI
>>>>>> <ohki@xxxxxxxxxxxx> said:
>
>> /usr/ccs/bin にパスを通したところ、先の問題は解消しましたが、
>> 今度は新たに別の場所でコンパイルに失敗してしまいました。
>
>> まだ何か設定が抜けておりますでしょうか?
>
>> gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/
>> libgfarm/
>> gfarm -I../../include -I../../include -c ./getcwd.c -fPIC -DPIC -
>> o .libs/getcwd.o
>> ./getcwd.c: In function `gfs_hook_syscall_getcwd':
>> ./getcwd.c:62: error: `PATH_MAX' undeclared (first use in this
>> function)
>> ./getcwd.c:62: error: (Each undeclared identifier is reported only
>> once
>> ./getcwd.c:62: error: for each function it appears in.)
>
> これは、gfarm 側の問題のように思います。
> lib/gfs_hook/getcwd.c の先頭に
> #include <limits.h>
> を加えるといかがでしょうか?
今度は、以下のエラーになりました。
--
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=compile gcc -g -O2 -Wall -I. -I../../
lib/libgfarm/gfutil -I../../lib/libgfarm/gfarm -I../../include -
I../../include -c ./getcwd.c
gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/libgfarm/
gfarm -I../../include -I../../include -c ./getcwd.c -fPIC -DPIC -
o .libs/getcwd.o
gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/libgfarm/
gfarm -I../../include -I../../include -c ./getcwd.c -o getcwd.o >/dev/
null 2>&1
/bin/sh ../../libtool --mode=compile gcc -g -O2 -Wall -I. -I../../
lib/libgfarm/gfutil -I../../lib/libgfarm/gfarm -I../../include -
I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o
hooks_subr.lo -c ./hooks_subr.c
gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/libgfarm/
gfarm -I../../include -I../../include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -c ./hooks_subr.c -fPIC -DPIC -o .libs/
hooks_subr.o
gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/libgfarm/
gfarm -I../../include -I../../include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -c ./hooks_subr.c -o hooks_subr.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile gcc -g -O2 -Wall -I. -I../../
lib/libgfarm/gfutil -I../../lib/libgfarm/gfarm -I../../include -
I../../include -c ./hooks.c
gcc -g -O2 -Wall -I. -I../../lib/libgfarm/gfutil -I../../lib/libgfarm/
gfarm -I../../include -I../../include -c ./hooks.c -fPIC -DPIC -
o .libs/hooks.o
./hooks.c:1818: error: conflicting types for '_xmknod'
/usr/include/sys/stat_impl.h:67: error: previous declaration of
'_xmknod' was here
./hooks.c:1818: error: conflicting types for '_xmknod'
/usr/include/sys/stat_impl.h:67: error: previous declaration of
'_xmknod' was here
gmake[2]: *** [hooks.lo] 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