[GE users] Problems compiling SGE62u1 in SL4

goncalo goncalo at lip.pt
Tue Dec 16 17:44:51 GMT 2008


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

Hi All...

I've been trying to compile SGE62u1 in SL4 without many success and I 
need some help. It is not the first time I'm doing this. Indeed, I just 
checked that my previous instructions to compile SGE61u3 still work fine 
in the same machine, but something is now different in SGE62u1. If you 
are not able to answer, please redirect me to somone who can help me, 
because I already spent a lot of time in this. Here are my problems:

1) My first compilation failed with the message:

[root at ui02 source]# ./aimk -no-dump -no-java
(...)
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/local/BerkeleyDB.4.2/include/ -DSGE_ARCH_STRING=lx26-x86 
-DTARGET_32BIT  -DSPOOLING_dynamic -DSECURE -I/usr/include 
-Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -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/usr/java/latest/include -I/usr/java/latest/include/linux 
-Wno-strict-prototypes -fPIC -ULOAD_OPENSSL -c 
../libs/comm/cl_ssl_framework.c -o cl_ssl_framework_static.o
../libs/comm/cl_ssl_framework.c: In function 
`cl_com_ssl_build_symbol_table':
../libs/comm/cl_ssl_framework.c:1861: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1883: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1884: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1885: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1886: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1887: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1890: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1893: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1896: warning: assignment from 
incompatible pointer type
../libs/comm/cl_ssl_framework.c:1897: warning: assignment from 
incompatible pointer type
make: *** [cl_ssl_framework_static.o] Error 1
not done

Something is not OK with openssl. These are the openssl packages I'm using:

[root at ui02 source]# rpm -qa | grep openssl
openssl-devel-0.9.7a-43.17.el4_6.1
xmlsec1-openssl-1.2.6-3
openssl-0.9.7a-43.17.el4_6.1

I checked that a compilation with  "./aimk -no-dump -no-java -no-secure" 
indeed works. Nevertheless, I DO WANT to compile with OPENSSL support.
After searching a while, I saw that someone suggested to remove the 
"-Werror" option in aimk. I don't know why I I'm suppose to do it since 
before it wasn't needed and I'm using gcc 3.4.6.

[root at ui02 source]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk 
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)

---*--

2) The compilation without the "-Werror" switch in aimk also failed with:
(...)
[root at ui02 source]# ./aimk -no-dump -no-java
gcc -I../daemons/shepherd -O3 -Wall  -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/local/BerkeleyDB.4.2/include/ 
-DSGE_ARCH_STRING=lx26-x86 -DTARGET_32BIT  -DSPOOLING_berkeleydb 
-DSECURE -I/usr/include -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 
-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/usr/java/latest/include 
-I/usr/java/latest/include/linux -L/usr/local/BerkeleyDB.4.2/lib/ -L. 
-Wl,-rpath,\$ORIGIN/../../lib/lx26-x86 -L/usr/lib -o sge_shepherd 
shepherd.o builtin_starter.o setrlimits.o signal_queue.o sge_shepconf.o 
setjoblimit.o sge_pset.o sge_fileio.o sge_shepherd_ijs.o sge_ijs_comm.o 
sge_ijs_threads.o config_file.o err_trace.o execution_states.o 
qlogin_starter.o setosjobid.o sge_parse_num_par.o pdc.o procfs.o 
sge_mt_init.o sge_processes_irix.o  -lgdi -lsgeobj -lsgeobjd  -lcull 
-lcomm_static -lcommlists -luti  -llck -lrmon -ldl /usr/lib/libssl.a 
/usr/lib/libcrypto.a  -lm -lpthread
/usr/lib/libssl.a(kssl.o)(.text+0x170): In function 
`populate_cksumlens':: undefined reference to `valid_cksumtype'
/usr/lib/libssl.a(kssl.o)(.text+0x18b): In function 
`populate_cksumlens':: undefined reference to `krb5_checksum_size'
(...)
/usr/lib/libssl.a(kssl.o)(.text+0x1e1b): In function 
`kssl_validate_times':: undefined reference to `krb5_free_context'
collect2: ld returned 1 exit status
make: *** [sge_shepherd] Error 1
not done

I'm more or less stuck here...

Cheers
Gon?alo

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=92837

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list