[GE users] Problems compiling SGE62u1 in SL4

goncalo goncalo at lip.pt
Tue Dec 16 18:20:18 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. ]

I reply to myself here...

> 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
>   
This was fixed setting the following flag in aimk:

                set SECLIBS_STATIC    = "-L/usr/lib -lkrb5 -lz 
$OPENSSL_HOME/lib/libssl.a $OPENSSL_HOME/lib/libcrypto.a"

with $OPENSSL_HOME=/usr.

Then I had a problem with java compilation... and I had to change the 
/usr/local/sge/gridengine/source/libs/jgdi/build.xml and change

                    <arg line="@{args}"/>

to

                    <arg line="-no-dump @{args}"/>

Cheers
Gon?alo

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

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



More information about the gridengine-users mailing list