[GE users] 60u7 compile error

Ron Chen ron_chen_123 at yahoo.com
Mon Mar 6 06:38:12 GMT 2006


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Yes, I looked into your error messages, seems like a gcc bug to
me. Did you try to compile it with gcc 3.4.x?

 -Ron


--- V01D <phreakuencies at gmail.com> wrote:
> Hi,
> I tried to compile 6.0u7 on Slackware 10.2 (first with a 2.4
> kernel, 
> then with a 2.6, both with corresponding headers) and I got a
> wierd 
> error inside standard headers. I googled for it and other
> projects got 
> the same error, so I'm suspecting that maybe there's a bug on
> my gcc or 
> set of headers or something like that. The error is as
> follows:
> 
> _________C_O_R_E__S_Y_S_T_E_M_____________
> gcc -O3 -Wall -Werror -Wstrict-prototypes
> -D__GRIDENGINE_FD_SETSIZE=8192 
> -DLINUX -DLINUX86 -DLINUX86_26 -D_GNU_SOURCE
> -DGETHOSTBYNAME_R6 
> -DGETHOSTBYADDR_R8  -DHAS_IN_PORT_T -DLOAD_OPENSSL
> -I/usr/include/ 
> -DTARGET_32BIT -DQCONF_FLATFILE  -DSPOOLING_dynamic -DSECURE 
> -I/usr/include -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__ 
> -D__SGE_NO_USERMAPPING__ -I../common -I../libs -I../libs/uti 
> -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 -fPIC -c ../libs/sgeobj/config.c
> In file included from /usr/include/_G_config.h:44,
>                   from /usr/include/libio.h:32,
>                   from /usr/include/stdio.h:72,
>                   from ../libs/sgeobj/config.c:33:
> /usr/include/gconv.h:72: error: syntax error before "size_t"
> /usr/include/gconv.h:88: error: syntax error before "size_t"
> /usr/include/gconv.h:97: error: syntax error before "size_t"
> /usr/include/gconv.h:174: error: syntax error before "size_t"
> /usr/include/gconv.h:177: error: syntax error before '}' token
> In file included from /usr/include/libio.h:32,
>                   from /usr/include/stdio.h:72,
>                   from ../libs/sgeobj/config.c:33:
> /usr/include/_G_config.h:47: error: field `__cd' has
> incomplete type
> /usr/include/_G_config.h:50: error: field `__cd' has
> incomplete type
> In file included from /usr/include/stdio.h:72,
>                   from ../libs/sgeobj/config.c:33:
> /usr/include/libio.h:354: error: syntax error before "size_t"
> /usr/include/libio.h:363: error: syntax error before "size_t"
> /usr/include/libio.h:479: error: syntax error before
> "_IO_sgetn"
> /usr/include/libio.h:479: error: syntax error before "size_t"
> In file included from ../libs/sgeobj/config.c:33:
> /usr/include/stdio.h:284: error: syntax error before "size_t"
> /usr/include/stdio.h:290: error: syntax error before "size_t"
> /usr/include/stdio.h:302: error: syntax error before "size_t"
> /usr/include/stdio.h:309: error: syntax error before "size_t"
> /usr/include/stdio.h:351: error: syntax error before "size_t"
> /usr/include/stdio.h:355: error: syntax error before "size_t"
> /usr/include/stdio.h:560: error: syntax error before "size_t"
> /usr/include/stdio.h:563: error: syntax error before "size_t"
> /usr/include/stdio.h:573: error: syntax error before "size_t"
> /usr/include/stdio.h:603: error: syntax error before "fread"
> /usr/include/stdio.h:603: error: syntax error before "size_t"
> /usr/include/stdio.h:609: error: syntax error before "fwrite"
> /usr/include/stdio.h:609: error: syntax error before "size_t"
> /usr/include/stdio.h:631: error: syntax error before
> "fread_unlocked"
> /usr/include/stdio.h:631: error: syntax error before "size_t"
> /usr/include/stdio.h:633: error: syntax error before
> "fwrite_unlocked"
> /usr/include/stdio.h:633: error: syntax error before "size_t"
> In file included from /usr/include/stdio.h:828,
>                   from ../libs/sgeobj/config.c:33:
> /usr/include/bits/stdio.h:102: error: syntax error before
> "size_t"
> /usr/include/bits/stdio.h: In function `getline':
> /usr/include/bits/stdio.h:104: error: `__lineptr' undeclared
> (first use 
> in this function)
> /usr/include/bits/stdio.h:104: error: (Each undeclared
> identifier is 
> reported only once
> /usr/include/bits/stdio.h:104: error: for each function it
> appears in.)
> /usr/include/bits/stdio.h:104: error: `__n' undeclared (first
> use in 
> this function)
> /usr/include/bits/stdio.h:104: error: `__stream' undeclared
> (first use 
> in this function)
> In file included from ../libs/sgeobj/config.c:35:
> /usr/include/strings.h: At top level:
> /usr/include/strings.h:34: error: syntax error before "size_t"
> /usr/include/strings.h:38: error: syntax error before "size_t"
> /usr/include/strings.h:41: error: syntax error before "size_t"
> /usr/include/strings.h:58: error: syntax error before "size_t"
> In file included from ../libs/sgeobj/config.c:37:
> /usr/include/stdlib.h:140: error: syntax error before 
> "__ctype_get_mb_cur_max"
> In file included from /usr/include/sys/types.h:133,
>                   from /usr/include/stdlib.h:433,
>                   from ../libs/sgeobj/config.c:37:
> /usr/include/linux/time.h:13: error: syntax error before
> "time_t"
> /usr/include/linux/time.h:15: error: syntax error before '}'
> token
> /usr/include/linux/time.h:19: error: syntax error before
> "time_t"
> /usr/include/linux/time.h:135: error: field `it_interval' has
> incomplete 
> type
> /usr/include/linux/time.h:136: error: field `it_value' has
> incomplete type
> /usr/include/linux/time.h:140: error: field `it_interval' has
> incomplete 
> type
> /usr/include/linux/time.h:141: error: field `it_value' has
> incomplete type
> In file included from /usr/include/sys/types.h:266,
>                   from /usr/include/stdlib.h:433,
>                   from ../libs/sgeobj/config.c:37:
> /usr/include/bits/pthreadtypes.h:48: error: syntax error
> before "size_t"
> /usr/include/bits/pthreadtypes.h:51: error: syntax error
> before 
> "__stacksize"
> In file included from ../libs/sgeobj/config.c:37:
> /usr/include/stdlib.h:450: error: syntax error before "size_t"
> /usr/include/stdlib.h:480: error: syntax error before "size_t"
> /usr/include/stdlib.h:584: error: syntax error before "__size"
> /usr/include/stdlib.h:586: error: syntax error before
> "__nmemb"
> /usr/include/stdlib.h:595: error: syntax error before "size_t"
> In file included from /usr/include/stdlib.h:606,
>                   from ../libs/sgeobj/config.c:37:
> /usr/include/alloca.h:33: error: syntax error before "__size"
> In file included from ../libs/sgeobj/config.c:37:
> /usr/include/stdlib.h:611: error: syntax error before "__size"
> /usr/include/stdlib.h:616: error: syntax error before "size_t"
> /usr/include/stdlib.h:768: error: syntax error before "size_t"
> /usr/include/stdlib.h:773: error: syntax error before "size_t"
> /usr/include/stdlib.h:846: error: syntax error before "size_t"
> /usr/include/stdlib.h:849: error: syntax error before "size_t"
> /usr/include/stdlib.h:853: error: syntax error before "size_t"
> /usr/include/stdlib.h:857: error: syntax error before "size_t"
> /usr/include/stdlib.h:866: error: syntax error before "size_t"
> /usr/include/stdlib.h:869: error: syntax error before '*'
> token
> /usr/include/stdlib.h:873: error: syntax error before
> "wchar_t"
> /usr/include/stdlib.h:877: error: syntax error before
> "mbstowcs"
> /usr/include/stdlib.h:877: error: syntax error before '*'
> token
> /usr/include/stdlib.h:880: error: syntax error before
> "wcstombs"
> /usr/include/stdlib.h:881: error: syntax error before '*'
> token
> /usr/include/stdlib.h:943: error: syntax error before "size_t"
> In file included from ../libs/cull/cull_list.h:40,
>                   from ../libs/cull/cull_listP.h:35,
>                   from ../libs/cull/cull.h:36,
>                   from ../libs/sgeobj/config.c:39:
> ../libs/cull/pack.h:101: error: syntax error before "size_t"
> ../libs/cull/pack.h:101: warning: no semicolon at end of
> struct or union
> ../libs/cull/pack.h:102: warning: type defaults to `int' in
> declaration 
> of `bytes_used'
> ../libs/cull/pack.h:102: warning: data definition has no type
> or storage 
> class
> ../libs/cull/pack.h:105: error: syntax error before '}' token
> ../libs/cull/pack.h:105: warning: type defaults to `int' in
> declaration 
> of `sge_pack_buffer'
> ../libs/cull/pack.h:105: warning: data definition has no type
> or storage 
> class
> ../libs/cull/pack.h:108: error: syntax error before '*' token
> ../libs/cull/pack.h:108: warning: function declaration isn't a
> prototype
> ../libs/cull/pack.h:111: error: syntax error before '*' token
> ../libs/cull/pack.h:111: warning: function declaration isn't a
> prototype
> ../libs/cull/pack.h:114: error: syntax error before '*' token
> ../libs/cull/pack.h:114: warning: function declaration isn't a
> prototype
> ../libs/cull/pack.h:116: error: syntax error before '*' token
> ../libs/cull/pack.h:116: warning: function declaration isn't a
> prototype
> ../libs/cull/pack.h:117: error: syntax error before '*' token
> ../libs/cull/pack.h:117: warning: function declaration isn't a
> prototype
> ../libs/cull/pack.h:118: error: syntax error before '*' token
> ../libs/cull/pack.h:118: warning: function declaration isn't a
> prototype
> ../libs/cull/pack.h:120: error: syntax error before '*' token
> ../libs/cull/pack.h:120: warning: function declaration isn't a
> prototype
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list