Hi,
I have another problem with gt4.2.1. If I compile gridway I get the
following error:
----------------------------------------------------------------------------------------------------
/usr/local/globus-4.2.1//sbin/gpt-build -srcdir=source-trees/gridway
gcc32dbg
gpt-build ====> CHECKING BUILD DEPENDENCIES FOR gridway
gpt-build ====> Changing to
/root/software/gt4.2.1-all-source-installer/source-trees/gridway
gpt-build ====> BUILDING FLAVOR gcc32dbg
/usr/bin/make
make[1]: Entering directory
`/root/software/gt4.2.1-all-source-installer/source-trees/gridway'
Making all in src
make[2]: Entering directory
`/root/software/gt4.2.1-all-source-installer/source-trees/gridway/src'
Makefile:1282: Warnung: Die Befehle für das Ziel »drmaa/.dirstamp«
werden überschrieben
Makefile:1238: Warnung: Alte Befehle für das Ziel »drmaa/.dirstamp«
werden ignoriert
Makefile:1410: Warnung: Die Befehle für das Ziel »cmds/.dirstamp« werden
überschrieben
Makefile:1393: Warnung: Alte Befehle für das Ziel »cmds/.dirstamp«
werden ignoriert
Makefile:1465: Warnung: Die Befehle für das Ziel »em_mad/.dirstamp«
werden überschrieben
Makefile:1456: Warnung: Alte Befehle für das Ziel »em_mad/.dirstamp«
werden ignoriert
Makefile:1589: Warnung: Die Befehle für das Ziel »gwd/.dirstamp« werden
überschrieben
Makefile:1569: Warnung: Alte Befehle für das Ziel »gwd/.dirstamp« werden
ignoriert
Makefile:1603: Warnung: Die Befehle für das Ziel »scheduler/.dirstamp«
werden überschrieben
Makefile:1595: Warnung: Alte Befehle für das Ziel »scheduler/.dirstamp«
werden ignoriert
Makefile:1617: Warnung: Die Befehle für das Ziel »test/.dirstamp« werden
überschrieben
Makefile:1613: Warnung: Alte Befehle für das Ziel »test/.dirstamp«
werden ignoriert
Makefile:1628: Warnung: Die Befehle für das Ziel »tm_mad/.dirstamp«
werden überschrieben
Makefile:1623: Warnung: Alte Befehle für das Ziel »tm_mad/.dirstamp«
werden ignoriert
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc
-DPACKAGE_NAME=\"GridWay\" -DPACKAGE_TARNAME=\"gridway\"
-DPACKAGE_VERSION=\"5.4.0\" -DPACKAGE_STRING=\"GridWay\ 5.4.0\"
-DPACKAGE_BUGREPORT=\"[email protected]\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DPACKAGE=\"gw\" -DVERSION=\"5.4.0\" -DHAVE_LIBPTHREAD=1
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_LIMITS_H=1
-DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_MBSTATE_T=1
-DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1
-DHAVE_WORKING_FORK=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1
-DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\)
-DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\)
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1 -DHAVE_DUP2=1
-DHAVE_GETCWD=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTNAME=1
-DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_REALPATH=1 -DHAVE_SELECT=1
-DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1
-DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -I. -I. -I../include
-I/usr/include -I/usr/include/linux -I/usr/local/globus-4.2.1//include
-I/usr/local/globus-4.2.1//include/gcc32dbg -g -Wall -DGW_GLOBUS_DIRS
-c -o
./common/__srcdir__drmaa_libdrmaa___GLOBUS_FLAVOR_NAME__la-gw_file_parser.lo
`test -f './common/gw_file_parser.c' || echo './'`./common/gw_file_parser.c
mkdir ./common/.libs
/usr/bin/gcc -DPACKAGE_NAME=\"GridWay\" -DPACKAGE_TARNAME=\"gridway\"
-DPACKAGE_VERSION=\"5.4.0\" "-DPACKAGE_STRING=\"GridWay 5.4.0\""
-DPACKAGE_BUGREPORT=\"[email protected]\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DPACKAGE=\"gw\" -DVERSION=\"5.4.0\" -DHAVE_LIBPTHREAD=1
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_LIMITS_H=1
-DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_MBSTATE_T=1
-DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1
-DHAVE_WORKING_FORK=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1
-DSELECT_TYPE_ARG1=int "-DSELECT_TYPE_ARG234=(fd_set *)"
"-DSELECT_TYPE_ARG5=(struct timeval *)"
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1 -DHAVE_DUP2=1
-DHAVE_GETCWD=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTNAME=1
-DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_REALPATH=1 -DHAVE_SELECT=1
-DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1
-DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -I. -I. -I../include
-I/usr/include -I/usr/include/linux -I/usr/local/globus-4.2.1//include
-I/usr/local/globus-4.2.1//include/gcc32dbg -g -Wall -DGW_GLOBUS_DIRS -c
./common/gw_file_parser.c -fPIC -DPIC -o
./common/.libs/__srcdir__drmaa_libdrmaa___GLOBUS_FLAVOR_NAME__la-gw_file_parser.o
In file included from /usr/include/stdio.h:75,
from ./common/gw_file_parser.c:18:
/usr/include/libio.h:332: error: expected specifier-qualifier-list
before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/libio.h:493: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '_IO_sgetn'
In file included from ./common/gw_file_parser.c:18:
/usr/include/stdio.h:312: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdio.h:319: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdio.h:361: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:365: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdio.h:678: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fread'
/usr/include/stdio.h:684: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fwrite'
/usr/include/stdio.h:706: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:708: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fwrite_unlocked'
In file included from ./common/gw_file_parser.c:20:
/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__ctype_get_mb_cur_max'
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:320,
from ./common/gw_file_parser.c:20:
/usr/include/linux/time.h:10: error: expected specifier-qualifier-list
before 'time_t'
/usr/include/linux/time.h:16: error: expected specifier-qualifier-list
before 'time_t'
In file included from /usr/include/sys/select.h:46,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from ./common/gw_file_parser.c:20:
/usr/include/bits/time.h:70: error: redefinition of 'struct timeval'
In file included from ./common/gw_file_parser.c:20:
/usr/include/stdlib.h:337: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:367: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:471: error: expected ')' before '__size'
/usr/include/stdlib.h:473: error: expected ')' before '__nmemb'
/usr/include/stdlib.h:485: error: expected declaration specifiers or
'...' before 'size_t'
In file included from /usr/include/stdlib.h:497,
from ./common/gw_file_parser.c:20:
/usr/include/alloca.h:33: error: expected ')' before '__size'
In file included from ./common/gw_file_parser.c:20:
/usr/include/stdlib.h:502: error: expected ')' before '__size'
/usr/include/stdlib.h:507: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:507: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:681: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:681: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:682: error: nonnull argument with out-of-range
operand number (argument 1, operand 5)
/usr/include/stdlib.h:686: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:686: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:687: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:759: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:762: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:766: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:770: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:779: error: expected declaration specifiers or
'...' before 'size_t'
/usr/include/stdlib.h:782: error: expected ')' before '*' token
/usr/include/stdlib.h:786: error: expected declaration specifiers or
'...' before 'wchar_t'
/usr/include/stdlib.h:790: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'mbstowcs'
/usr/include/stdlib.h:793: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'wcstombs'
./common/gw_file_parser.c: In function 'gw_parse_line':
./common/gw_file_parser.c:32: warning: implicit declaration of function
'strdup'
./common/gw_file_parser.c:32: warning: incompatible implicit declaration
of built-in function 'strdup'
./common/gw_file_parser.c:34: warning: implicit declaration of function
'strtok_r'
./common/gw_file_parser.c:34: warning: assignment makes pointer from
integer without a cast
./common/gw_file_parser.c:38: warning: implicit declaration of function
'strcasecmp'
./common/gw_file_parser.c:40: warning: implicit declaration of function
'strchr'
./common/gw_file_parser.c:40: warning: incompatible implicit declaration
of built-in function 'strchr'
./common/gw_file_parser.c: In function 'gw_parse_file':
./common/gw_file_parser.c:74: warning: incompatible implicit declaration
of built-in function 'strchr'
make[2]: ***
[common/__srcdir__drmaa_libdrmaa___GLOBUS_FLAVOR_NAME__la-gw_file_parser.lo]
Fehler 1
make[2]: Leaving directory
`/root/software/gt4.2.1-all-source-installer/source-trees/gridway/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/root/software/gt4.2.1-all-source-installer/source-trees/gridway'
ERROR: Build has failed
make: *** [gridway] Fehler 2
----------------------------------------------------------------------------------------------------
Is it possible, that gridway has a problem with GCC 4.3.2 and Debian
5.0.4 (Lenny)?
Regards
Nicolas