Two problems:

1. I am trying to build STAF on AIX (oslevel -r: 5200-00, compiler is 
VisualAge 6.0.0.0), and I get the following message:

/repo/staf/src/staf/connproviders/tcp/makefile.connprov_tcp:134: 
warning: overriding commands for target 
`/repo/staf/rel/aix64/staf/retail/lib'
/repo/staf/src/staf/connproviders/tcp/makefile.connprov_tcp:131: 
warning: ignoring old commands for target 
`/repo/staf/rel/aix64/staf/retail/lib'
*** Compiling ucm2bin.o ***
make: execvp: xlC_r: A parameter must be a directory.
make: *** [/repo/staf/obj/aix64/staf/retail/codepage/ucm2bin.o] Error 127


I have tried setting OS_NAME to aix or aix64 and running 'make' or 'make 
staf'. This is version 3.3.2 (STAF332-src.tar.gz)

2. The other problem is, when I use the precompiled STAF for aix and 
build a service using gcc, the linker can't find the relevant staf 
library although it is in the LIBPATH - I think it is because the 
binaries are incompatible:

/usr/local/staf/lib/libSTAF.so: 64-bit XCOFF executable or object module 
not stripped

whereas my service object, made with gcc:

infauth.o: executable (RISC System/6000) or object module not stripped

A bit of searching shows that gcc should produce 64 XCOFF if OBJECT_MODE 
is set to 64, but in that case it produces an assembler error instead - 
what is the correct way to build services on AIX, then?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to