Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Unable to build proxy for IBM-LL

Cerlane
There were some changes made to PTP source a couple weeks ago to fix a 
problem with variable names colliding. Somehow you have a copy of the 
LoadLeveler proxy source which doesn't have those changes. If you download 
the latest PTP plugin and move all the source for the proxy code to your 
target system you should be able to build a proxy.

The warnings about compiler options are because the Makefile templates 
were set up to use xlc rather than gcc. You should be able to compile with 
gcc and ignore the warnings
Dave



From:
Siew Hoon Leong <Siew-Hoon.Leong@xxxxxx>
To:
PTP User list <ptp-user@xxxxxxxxxxx>
Date:
11/20/2009 09:19 AM
Subject:
[ptp-user] Unable to build proxy for IBM-LL
Sent by:
ptp-user-bounces@xxxxxxxxxxx



Hi,

I am trying to compiled the proxy for IBM-LL (PTP 3.0) but faced the 
following compilation errors. org.eclipse.ptp.utils and 
org.eclipse.ptp.proxy compiled successfully.
I am using gcc version 4.4.1 (GCC)
I start the compilation from org.eclipse.ptp.aix.ppc
with command
sh BUILD

Am I doing something wrong?
Thanks.

Cerlane


Building org.eclipse.ptp.rm.ibm.ll.proxy...
checking for a BSD-compatible install... /usr/opt/freeware/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-ibm-aix5.3.0.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/opt/freeware/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for bitset_new in -lutils... yes
checking for proxy_svr_init in -lproxysvr... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... 
/usr/opt/freeware/bin/grep
checking for egrep... /usr/opt/freeware/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking llapi.h usability... yes
checking llapi.h presence... no
configure: WARNING: llapi.h: accepted by the compiler, rejected by the 
preprocessor!
configure: WARNING: llapi.h: proceeding with the compiler's result
checking for llapi.h... yes
checking return type of signal handlers... void
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
        if gcc -DHAVE_CONFIG_H -I. -I. -I.    -g 
-I/opt/ibmll/LoadL/full/include/ -I/usr/lpp/LoadL/full/include/ 
-I/include -I/                             include   -qinfo=gen 
-qcpluscmt  -I../org.eclipse.ptp.utils/include 
-I../org.eclipse.ptp.proxy/include 
-I/opt/ibmll/LoadL/full                             /include 
-I/usr/lpp/LoadL/full/include -MT ptp_ibmll_proxy-ptp_ibmll_proxy.o -MD 
-MP -MF 
".deps/ptp_ibmll_proxy-ptp_ibmll_proxy                             .Tpo" 
-c -o ptp_ibmll_proxy-ptp_ibmll_proxy.o `test -f 'src/ptp_ibmll_proxy.c' 
|| echo './'`src/ptp_ibmll_proxy.c;  then mv 
-f 
".deps/ptp_ibmll_proxy-ptp_ibmll_proxy.Tpo" 
".deps/ptp_ibmll_proxy-ptp_ibmll_proxy.Po"; else rm -f 
".deps/ptp_ibmll_proxy-ptp_i 
bmll_proxy.Tpo"; exit 1; fi
gcc: unrecognized option '-qinfo=gen'
gcc: unrecognized option '-qcpluscmt'
src/ptp_ibmll_proxy.c: In function 'sendJobAddEvent':
src/ptp_ibmll_proxy.c:2203: error: 'JOB_STATE_INIT' undeclared (first 
use in this function)
src/ptp_ibmll_proxy.c:2203: error: (Each undeclared identifier is 
reported only once
src/ptp_ibmll_proxy.c:2203: error: for each function it appears in.)
src/ptp_ibmll_proxy.c:2223: error: 'JOB_STATE_TERMINATED' undeclared 
(first use in this function)
src/ptp_ibmll_proxy.c: In function 'sendTaskAddEvent':
src/ptp_ibmll_proxy.c:2302: error: 'PROC_STATE_STOPPED' undeclared 
(first use in this function)
src/ptp_ibmll_proxy.c:2325: error: 'PROC_STATE_EXITED' undeclared (first 
use in this function)
make: 1254-004 The error code from the last command is 1.

-- 
--------------------------------------------------
Siew Hoon Leong (Cerlane)
Tel: +49-89-35831-8761
Fax: +49-89-35831-8561
High Performance System (HLS)
Distributed Resources Group (DRG)
Leibniz Supercomputing Centre
Boltzmannstrasse 1, 85748 Garching
--------------------------------------------------
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user





Back to the top