Hi Mark, Can you list all the flags you've passed to aimk?? I mainly develop & build SGE on Fedora 13.
Rayson On Tue, Apr 5, 2011 at 1:33 PM, Mark Suhovecky <[email protected]> wrote: > > > I'm trying to build SGE from source on a RHEL5.5 system. I'm using the gcc > 4.1.2 compiler > > I obtained the tarball SGE6.2u5p1.tar.gz from sourceforge, and am following > the instructions in README.BUILD. > > I make it to step 6, run aimk, and eventually get many variants of the > following error: > > > _________C_O_R_E__S_Y_S_T_E_M_____________ > gcc -DSGE_ARCH_STRING=\"lx26-amd64\" -O3 -Wall -Werror -Wstrict-prototypes > -DUSE_POLL -DLINUX -DLINUXAMD64 -DLINUXAMD64_26 -D_GNU_SOURCE > -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8 -DLOAD_OPENSSL > -I/opt/berkdb-5.1.25/include//opt/berkdb-5.1.25/include -DTARGET_64BIT > -DSPOOLING_berkeleydb -DSECURE > -I/off_home/gridengine/openssl-0.9.8h-origin/lx26-amd64/include > -Wno-strict-aliasing -DPLPA -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__ > -D__SGE_NO_USERMAPPING__ -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/opt/SGE6.2u5p1/source/3rdparty/plpa/plpa-1.3.1/src/libplpa -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: expected declaration specifiers or ‘...’ > before ‘size_t’ > /usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’ > before ‘size_t’ > /usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’ > before ‘size_t’ > /usr/include/gconv.h:174: error: expected specifier-qualifier-list before > ‘size_t’ > > > Looking at these, it looks like the stddef.h being picked up is not what's > expected (that's where size_t is defined). > > Optionally, I could try building against gcc 4.4.4, which is also available > on our systems, but first I figured I'd ask > here to see if anyone else has built SGE with gcc 4.1 on RHEL5, and if so did > they encounter this problem. > > Thanks for any advice, > > Mark > > > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
