[gridengine users] Problems building OGS 2011.11

Brian McNally bmcnally at uw.edu
Sat May 12 00:14:31 UTC 2012


Running RHEL 6.2 and following the instructions for no dependencies here:

http://gridscheduler.sourceforge.net/CompileGridEngineSource.html

My build fails on:

gcc -DSGE_ARCH_STRING=\"linux-x64\" -O3 -Wall -Wstrict-prototypes 
-DUSE_POLL -DLINUX -DLINUXX64 -DLINUXX64 -D_GNU_SOURCE 
-DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8 -DHAS_VSNPRINTF 
-I/build/berkeleydb/include/ -DTARGET_64BIT  -DSPOOLING_classic 
-Wno-strict-aliasing -DNO_JNI -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/net/gs/vol2/home/bmcnally/build/GE2011.11/source/3rdparty/hwloc/hwloc-1.2.2/include/ 
-I/home/user/build/GE2011.11/source/3rdparty/hwloc/hwloc-1.2.2/LINUXX64/include 
-c ../utilbin/authuser.c -o authuser.o
../utilbin/authuser.c:72:31: error: security/pam_appl.h: No such file or 
directory
../utilbin/authuser.c:402: warning: ‘struct pam_response’ declared 
inside parameter list
../utilbin/authuser.c:402: warning: its scope is only this definition or 
declaration, which is probably not what you want
../utilbin/authuser.c:402: warning: ‘struct pam_message’ declared inside 
parameter list
../utilbin/authuser.c: In function ‘do_pam_authenticate’:
../utilbin/authuser.c:418: error: ‘pam_handle_t’ undeclared (first use 
in this function)
../utilbin/authuser.c:418: error: (Each undeclared identifier is 
reported only once
../utilbin/authuser.c:418: error: for each function it appears in.)
../utilbin/authuser.c:418: error: ‘pamh’ undeclared (first use in this 
function)
../utilbin/authuser.c:419: error: storage size of ‘pamconv’ isn’t known
../utilbin/authuser.c:434: warning: implicit declaration of function 
‘pam_start’
../utilbin/authuser.c:435: error: ‘PAM_SUCCESS’ undeclared (first use in 
this function)
../utilbin/authuser.c:439: warning: implicit declaration of function 
‘pam_authenticate’
../utilbin/authuser.c:439: error: ‘PAM_SILENT’ undeclared (first use in 
this function)
../utilbin/authuser.c:446: warning: implicit declaration of function 
‘pam_acct_mgmt’
../utilbin/authuser.c:455: warning: implicit declaration of function 
‘pam_strerror’
../utilbin/authuser.c:461: warning: implicit declaration of function 
‘pam_end’
../utilbin/authuser.c:461: error: ‘PAM_ABORT’ undeclared (first use in 
this function)
../utilbin/authuser.c:419: warning: unused variable ‘pamconv’
../utilbin/authuser.c: At top level:
../utilbin/authuser.c:478: warning: ‘struct pam_response’ declared 
inside parameter list
../utilbin/authuser.c:478: warning: ‘struct pam_message’ declared inside 
parameter list
../utilbin/authuser.c:477: error: conflicting types for ‘login_conv’
../utilbin/authuser.c:401: note: previous declaration of ‘login_conv’ 
was here
../utilbin/authuser.c: In function ‘login_conv’:
../utilbin/authuser.c:489: error: ‘PAM_CONV_ERR’ undeclared (first use 
in this function)
../utilbin/authuser.c:493: error: invalid application of ‘sizeof’ to 
incomplete type ‘struct pam_response’
../utilbin/authuser.c:498: error: ‘PAM_BUF_ERR’ undeclared (first use in 
this function)
../utilbin/authuser.c:511: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:512: error: ‘PAM_PROMPT_ECHO_OFF’ undeclared 
(first use in this function)
../utilbin/authuser.c:514: error: invalid use of undefined type ‘struct 
pam_response’
../utilbin/authuser.c:514: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:516: error: invalid use of undefined type ‘struct 
pam_response’
../utilbin/authuser.c:516: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:528: error: invalid use of undefined type ‘struct 
pam_response’
../utilbin/authuser.c:528: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:529: error: invalid use of undefined type ‘struct 
pam_response’
../utilbin/authuser.c:529: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:548: error: ‘PAM_PROMPT_ECHO_ON’ undeclared (first 
use in this function)
../utilbin/authuser.c:560: error: invalid use of undefined type ‘struct 
pam_response’
../utilbin/authuser.c:560: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:561: error: invalid use of undefined type ‘struct 
pam_response’
../utilbin/authuser.c:561: error: dereferencing pointer to incomplete type
../utilbin/authuser.c:572: error: ‘PAM_ERROR_MSG’ undeclared (first use 
in this function)
../utilbin/authuser.c:573: error: ‘PAM_TEXT_INFO’ undeclared (first use 
in this function)
../utilbin/authuser.c:591: error: ‘PAM_SUCCESS’ undeclared (first use in 
this function)

Any ideas? I'm currently evaluating alternatives to SGE moving forward. 
I think OGS would be a good option if I can get it to build.

Thanks

-- 
Brian McNally


More information about the users mailing list