Hi,

I am trying to compile grid engine form source but I am getting compilation
error when it started Core system. Any help appreciated.

Terminal Output :

_________C_O_R_E__S_Y_S_T_E_M_____________
gcc -DSGE_ARCH_STRING=\"linux-x86\" -O3 -Wall -Wstrict-prototypes
-DUSE_POLL -DLINUX -DLINUX_NATIVE -DLINUX86 -DLINUX86 -D_GNU_SOURCE
-DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8 -DHAS_VSNPRINTF  -DLOAD_OPENSSL
-I/build/berkeleydb/include/ -DTARGET_32BIT  -DSPOOLING_dynamic
-DSECURE -I/build/openssl-install/include -Wno-strict-aliasing
-D_FILE_OFFSET_BITS=64 -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__
-D__SGE_NO_USERMAPPING__ -DTHREADBINDING -DHWLOC -I../common -I../libs
-I../libs/uti -I../libs/juti -I../libs/gdi -I../libs/japi
-I../libs/sgeobj -I../libs/cull -I../libs/rmon -I../libs/comm
-I../libs/comm/lists -I../libs/sched -I../libs/evc -I../libs/evm
-I../libs/mir -I../libs/lck -I../daemons/common -I../daemons/qmaster
-I../daemons/execd -I../daemons/schedd -I../clients/common -I.
-I/usr/include -I/usr/include/linux
-I/opt/gridscheduler/source/3rdparty/hwloc/hwloc-1.2.2/include/
-I/opt/gridscheduler/source/3rdparty/hwloc/hwloc-1.2.2/LINUX86/include
-fPIC -c ../libs/sgeobj/config.c
In file included from /usr/include/stdio.h:75,
                 from ../libs/sgeobj/config.c:33:
/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:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_IO_sgetn’
In file included from ../libs/sgeobj/config.c:33:
/usr/include/stdio.h:318: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:324: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:336: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:343: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:385: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:387: error: format string argument not a string type
/usr/include/stdio.h:389: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:661: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:664: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:674: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:704: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘fread’
/usr/include/stdio.h:710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘fwrite’
/usr/include/stdio.h:732: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘fread_unlocked’
/usr/include/stdio.h:734: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘fwrite_unlocked’
In file included from /usr/include/stdio.h:929,
                 from ../libs/sgeobj/config.c:33:
/usr/include/bits/stdio.h:116: error: expected declaration specifiers
or ‘...’ before ‘size_t’
/usr/include/bits/stdio.h: In function ‘getline’:
/usr/include/bits/stdio.h:118: error: ‘__n’ undeclared (first use in
this function)
/usr/include/bits/stdio.h:118: error: (Each undeclared identifier is
reported only once
/usr/include/bits/stdio.h:118: error: for each function it appears in.)
/usr/include/bits/stdio.h:118: error: too many arguments to function
‘__getdelim’
In file included from ../libs/sgeobj/config.c:35:
/usr/include/strings.h: At top level:
/usr/include/strings.h:41: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/strings.h:45: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/strings.h:48: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/strings.h:118: error: expected declaration specifiers or
‘...’ before ‘size_t’
In file included from ../libs/sgeobj/config.c:35:
/usr/include/strings.h:134: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/strings.h:135: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
In file included from ../libs/sgeobj/config.c:37:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘__ctype_get_mb_cur_max’
In file included from /usr/include/sys/select.h:46,
                 from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ../libs/sgeobj/config.c:37:
/usr/include/bits/time.h:76: error: redefinition of ‘struct timeval’
In file included from ../libs/sgeobj/config.c:37:
/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 ../libs/sgeobj/config.c:37:
/usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’
In file included from ../libs/sgeobj/config.c:37:
/usr/include/stdlib.h:503: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:508: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:508: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:757: error: nonnull argument with out-of-range
operand number (argument 1, operand 5)
/usr/include/stdlib.h:761: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:761: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:762: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:764: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:764: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:766: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:840: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:843: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:847: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:851: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:860: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:863: error: expected ‘)’ before ‘*’ token
/usr/include/stdlib.h:867: error: expected declaration specifiers or
‘...’ before ‘wchar_t’
/usr/include/stdlib.h:871: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘mbstowcs’
/usr/include/stdlib.h:874: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘wcstombs’
/usr/include/stdlib.h:937: error: expected declaration specifiers or
‘...’ before ‘size_t’
In file included from ../libs/comm/lists/cl_lists.h:39,
                 from ../libs/comm/cl_commlib.h:39,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
/usr/include/pthread.h:297: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:298: error: nonnull argument with out-of-range
operand number (argument 1, operand 2)
/usr/include/pthread.h:302: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:361: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:362: error: nonnull argument with out-of-range
operand number (argument 1, operand 2)
/usr/include/pthread.h:368: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:375: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:376: error: nonnull argument with out-of-range
operand number (argument 1, operand 3)
/usr/include/pthread.h:382: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:389: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:390: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/pthread.h:396: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:397: error: expected declaration specifiers or
‘...’ before ‘cpu_set_t’
/usr/include/pthread.h:398: error: nonnull argument with out-of-range
operand number (argument 1, operand 3)
/usr/include/pthread.h:431: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:458: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:459: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/pthread.h:463: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/pthread.h:464: error: expected declaration specifiers or
‘...’ before ‘cpu_set_t’
/usr/include/pthread.h:465: error: nonnull argument with out-of-range
operand number (argument 1, operand 3)
In file included from ../libs/comm/lists/cl_list_types.h:36,
                 from ../libs/comm/lists/cl_lists.h:42,
                 from ../libs/comm/cl_commlib.h:39,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
/usr/include/sys/time.h:58: error: redefinition of ‘struct timezone’
/usr/include/sys/time.h:96: error: expected identifier before numeric constant
/usr/include/sys/time.h:110: error: redefinition of ‘struct itimerval’
In file included from /usr/include/sys/uio.h:29,
                 from /usr/include/sys/socket.h:28,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from ../libs/comm/cl_xml_parsing.h:36,
                 from ../libs/comm/cl_data_types.h:42,
                 from ../libs/comm/cl_commlib.h:40,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
/usr/include/bits/uio.h:47: error: expected specifier-qualifier-list
before ‘size_t’
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from ../libs/comm/cl_xml_parsing.h:36,
                 from ../libs/comm/cl_data_types.h:42,
                 from ../libs/comm/cl_commlib.h:40,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
/usr/include/bits/socket.h:253: error: expected
specifier-qualifier-list before ‘size_t’
/usr/include/bits/socket.h:276: error: expected
specifier-qualifier-list before ‘size_t’
/usr/include/bits/socket.h: In function ‘__cmsg_nxthdr’:
/usr/include/bits/socket.h:313: error: ‘size_t’ undeclared (first use
in this function)
/usr/include/bits/socket.h:313: error: expected ‘)’ before ‘__cmsg’
/usr/include/bits/socket.h:318: error: ‘struct cmsghdr’ has no member
named ‘cmsg_len’
/usr/include/bits/socket.h:318: error: expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:319: error: ‘struct msghdr’ has no member
named ‘msg_control’
/usr/include/bits/socket.h:320: error: ‘struct msghdr’ has no member
named ‘msg_controllen’
/usr/include/bits/socket.h:321: error: ‘struct cmsghdr’ has no member
named ‘cmsg_len’
/usr/include/bits/socket.h:321: error: expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:322: error: ‘struct msghdr’ has no member
named ‘msg_control’
/usr/include/bits/socket.h:322: error: ‘struct msghdr’ has no member
named ‘msg_controllen’
In file included from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from ../libs/comm/cl_xml_parsing.h:36,
                 from ../libs/comm/cl_data_types.h:42,
                 from ../libs/comm/cl_commlib.h:40,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:141: error: expected declaration specifiers
or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:148: error: expected declaration specifiers
or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:155: error: expected declaration specifiers
or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:166: error: expected declaration specifiers
or ‘...’ before ‘size_t’
In file included from ../libs/comm/cl_xml_parsing.h:36,
                 from ../libs/comm/cl_data_types.h:42,
                 from ../libs/comm/cl_commlib.h:40,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
/usr/include/arpa/inet.h:78: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/arpa/inet.h:84: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/arpa/inet.h:90: error: expected declaration specifiers or
‘...’ before ‘size_t’
In file included from ../libs/uti/sge_htable.h:41,
                 from ../libs/comm/cl_connection_list.h:39,
                 from ../libs/comm/cl_communication.h:39,
                 from ../libs/comm/cl_commlib.h:41,
                 from ../libs/rmon/rmon.h:39,
                 from ../libs/rmon/sgermon.h:38,
                 from ../libs/sgeobj/config.c:39:
../libs/uti/sge_dstring.h:66: error: expected specifier-qualifier-list
before ‘size_t’
../libs/uti/sge_dstring.h:72: error: expected declaration specifiers
or ‘...’ before ‘size_t’
../libs/uti/sge_dstring.h:77: error: expected declaration specifiers
or ‘...’ before ‘time_t’
../libs/uti/sge_dstring.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘sge_dstring_strlen’
../libs/uti/sge_dstring.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘sge_dstring_remaining’
In file included from ../libs/cull/cull_list.h:42,
                 from ../libs/cull/cull_listP.h:35,
                 from ../libs/cull/cull.h:37,
                 from ../libs/sgeobj/config.c:41:
../libs/cull/pack.h:101: error: expected specifier-qualifier-list
before ‘size_t’
In file included from ../libs/cull/cull.h:47,
                 from ../libs/sgeobj/config.c:41:
../libs/cull/cull_pack.h:58: error: expected declaration specifiers or
‘...’ before ‘size_t’
../libs/cull/cull_pack.h:58: error: expected declaration specifiers or
‘...’ before ‘size_t’
In file included from ../libs/sgeobj/config.c:44:
../libs/uti/sge_string.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘sge_strlcpy’
../libs/sgeobj/config.c: In function ‘read_config_list’:
../libs/sgeobj/config.c:115: warning: implicit declaration of function ‘strcmp’
../libs/sgeobj/config.c:125: warning: implicit declaration of function ‘strchr’
../libs/sgeobj/config.c:125: warning: incompatible implicit
declaration of built-in function ‘strchr’
../libs/sgeobj/config.c:140: warning: implicit declaration of function ‘strlen’
../libs/sgeobj/config.c:140: warning: incompatible implicit
declaration of built-in function ‘strlen’
../libs/sgeobj/config.c:143: warning: incompatible implicit
declaration of built-in function ‘strchr’
../libs/sgeobj/config.c: In function ‘get_conf_value’:
../libs/sgeobj/config.c:264: warning: implicit declaration of function ‘strcpy’
../libs/sgeobj/config.c:264: warning: incompatible implicit
declaration of built-in function ‘strcpy’
../libs/sgeobj/config.c: In function ‘set_conf_string’:
../libs/sgeobj/config.c:306: warning: incompatible implicit
declaration of built-in function ‘strcpy’
../libs/sgeobj/config.c:310: warning: incompatible implicit
declaration of built-in function ‘strcpy’
../libs/sgeobj/config.c:314: warning: incompatible implicit
declaration of built-in function ‘strcpy’
../libs/sgeobj/config.c: In function ‘set_conf_double’:
../libs/sgeobj/config.c:564: error: too many arguments to function ‘strncasecmp’
../libs/sgeobj/config.c: In function ‘set_conf_list’:
../libs/sgeobj/config.c:837: warning: incompatible implicit
declaration of built-in function ‘strcpy’
../libs/sgeobj/config.c:841: warning: incompatible implicit
declaration of built-in function ‘strcpy’
../libs/sgeobj/config.c:845: warning: incompatible implicit
declaration of built-in function ‘strcpy’
make: *** [config.o] Error 1
not done


-- 
Praveen kumar
Blog: http://kumar-pravin.blogspot.com
http://fedoraproject.org
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to