[GE dev] ubuntu compilation error

unknown_coder an88sapr at rambler.ru
Fri May 28 12:12:39 BST 2010


    [ 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, everyone.
my platform is Ubuntu 9.10. I am trying to compile SGE source, but when I do ./aimk a lot of errors are coming up.
This is an example:

./aimk -only-core -no-jni

cc1: warnings being treated as errors
../libs/comm/cl_ssl_framework.c:238: warning: type defaults to ?int? in declaration of ?STACK?
../libs/comm/cl_ssl_framework.c:238: error: expected ?;?, ?,? or ?)? before ?*? token
../libs/comm/cl_ssl_framework.c:239: warning: type defaults to ?int? in declaration of ?STACK?
../libs/comm/cl_ssl_framework.c:239: error: expected ?;?, ?,? or ?)? before ?*? token
../libs/comm/cl_ssl_framework.c: In function ?cl_com_ssl_destroy_symbol_table?:
../libs/comm/cl_ssl_framework.c:996: error: ?cl_com_ssl_func__sk_num? undeclared (first use in this function)
../libs/comm/cl_ssl_framework.c:996: error: (Each undeclared identifier is reported only once
../libs/comm/cl_ssl_framework.c:996: error: for each function it appears in.)
../libs/comm/cl_ssl_framework.c:997: error: ?cl_com_ssl_func__sk_value? undeclared (first use in this function)
../libs/comm/cl_ssl_framework.c: In function ?cl_com_ssl_build_symbol_table?:
../libs/comm/cl_ssl_framework.c:1703: error: ?cl_com_ssl_func__sk_num? undeclared (first use in this function)
../libs/comm/cl_ssl_framework.c:1703: warning: type defaults to ?int? in declaration of ?STACK?
../libs/comm/cl_ssl_framework.c:1703: error: expected ?;?, ?,? or ?)? before ?*? token
../libs/comm/cl_ssl_framework.c:1703: error: expected ?;? before ?dlsym?
../libs/comm/cl_ssl_framework.c:1710: error: ?cl_com_ssl_func__sk_value? undeclared (first use in this function)
../libs/comm/cl_ssl_framework.c:1710: warning: type defaults to ?int? in declaration of ?STACK?
../libs/comm/cl_ssl_framework.c:1710: error: expected ?;?, ?,? or ?)? before ?*? token
../libs/comm/cl_ssl_framework.c:1710: error: expected ?;? before ?dlsym?
make: *** [cl_ssl_framework.o] Error 1
not done

I can let it go, because my goal is to compile qmon only (at least qmon). So, when I run
./aimk -only-qmon
I get the following

Building in directory: /home/alexander/gridengine/source
making in LINUX86_26/ for LINUX86 at host alexander-desktop
_________Q_M_O_N__________________________
gcc -c -DSGE_ARCH_STRING=\"lx26-x86\" -O3 -Wall -Werror -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUX86 -DLINUX86_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8  -DLOAD_OPENSSL -I/usr/local/BerkeleyDB.4.8/include//usr/local/BerkeleyDB.4.8/include -DTARGET_32BIT  -DSPOOLING_dynamic -DSECURE -I/usr/local/ssl/include -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__  -D__SGE_NO_USERMAPPING__ -I../Xmt310 -Wno-strict-prototypes -Wno-error  -DHAVE_MEMMOVE -DXMT_HAS_STRERROR -I../3rdparty/qmon/Xmt310 -I../3rdparty/qmon/Xbae -I../3rdparty/qmon/iconlist -I../3rdparty/qmon/ltree -I../3rdparty/qmon/outline -I../3rdparty/qmon/rowcol -I../3rdparty/qmon/spinbox -I../clients/qmon -I../3rdparty/qmon/tab -I/usr/X11R6/include -fPIC ../Xmt310/Xmt/All.c 
In file included from ../Xmt310/Xmt/Xmt.h:56,
                 from ../Xmt310/Xmt/All.c:23:
/usr/include/Xm/Xm.h:59:34: error: X11/extensions/Print.h: No such file or directory
In file included from ../Xmt310/Xmt/Xmt.h:56,
                 from ../Xmt310/Xmt/All.c:23:
/usr/include/Xm/Xm.h:827: error: expected specifier-qualifier-list before ?XPContext?
make: *** [All.o] Error 1
not done

I tried to follow steps form "Instruction of how to build SGE 6.2u3 on CentOS 5.3" of pine_ml, but the problem is still alive.
If somebody built it earlier or had a similar problem, please give me advise or send you aimk and aimk.site files for studying. My e-mail is an88sapr at rmbler.ru

There are the aimk and the aimk.site from my source directory attached below.

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

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

    [ Part 2, "aimk.site"  Application/OCTET-STREAM (Name: "aimk.site") ]
    [ 8.3 KB. ]
    [ Unable to print this part. ]


    [ Part 3, "aimk"  Application/OCTET-STREAM (Name: "aimk") 100 KB. ]
    [ Unable to print this part. ]



More information about the gridengine-users mailing list