t24 - gcc : c compiler

231 views
Skip to first unread message

ufuktu

unread,
May 13, 2010, 12:45:18 PM5/13/10
to jBASE
We have installed GCC version 4.2.0 on AIX 6.1 (64 Bit), running t24
R09 and TAFC. Does anyone know if this is compatible as we are getting
compiler errors;

** Error Mismatched object file (mixing 32 and 64 bit binaries?):
GIB.BP/$TEST1
<compileoutput><errors></errors><warnings><warning><msg>Java Standards
was not checked! Code 3 was returned.</msg><line></line><type>Ensure
your T24 java environment is configured correctly.</type></warning></
warnings><codereviews></codereviews><standards></
standards><RatingDetail><CodeLines>0</CodeLines><ParaLines>0</
ParaLines><Nests>0</Nests><Conditions>0</Conditions><Gotos>0</
Gotos><SameLine>0</SameLine><Labels>0</Labels><Comments>0</
Comments><Rating>0</Rating><CurrentRating>0</CurrentRating></
RatingDetail></compileoutput>

--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Mukanya

unread,
May 14, 2010, 1:42:01 AM5/14/10
to jBASE
Do you have DEBUG in your program? Also send copy of TEST if
possible....

Regards,
Concern

VK

unread,
May 14, 2010, 3:06:55 AM5/14/10
to jBASE
Hi,
IIRC for AIX 6 you'll need VAC 8 or 9.

VK

Mukanya

unread,
May 14, 2010, 1:48:25 AM5/14/10
to jBASE
Also check if the compile is working by compiling a simple routine.
Below is a HelloWorld example...

#include <iostream>
using namespace std;
void main()
{
cout << "Hello World!" << endl;
cout << "Welcome to C++ Programming" << endl;
}

Save and try to compile it.

ufuktu

unread,
May 14, 2010, 9:46:30 AM5/14/10
to jBASE

Hi,

By changing the system.properties file under TAFC/config;
From:
jcompile.cc.options=-fPIC -w
jcompile.ccjbc.options=-fPIC -w
jcompile.output.file=-o

To:
jcompile.cc.options=-fPIC -w -maix64
jcompile.ccjbc.options=-fPIC -w -maix64
jcompile.output.file=-maix64 ?o

I managed to get rid of error message
"** Error Mismatched object file (mixing 32 and 64 bit binaries?): "

but still get the error message about;
"Ensure your T24 java environment is configured correctly."
how do I configure the java environment under .profile or
system.properties ?

thanks,

Jim Idle

unread,
May 15, 2010, 3:12:36 PM5/15/10
to jb...@googlegroups.com
Well, you cannot use pre-created 32 bit object files and try to link them with 64 bit object files. So you either set flags to tell the compiler to do everything in 32 bit mode, or get the 64 bit version of T24.

It might also be that you have everything set up correctly but brought over local developments that were compiled in 32 bit mode. If you get rid of your local bin and lib directories (not the T24 ones, the ones where your programs go), then recompile everything then you may find it all works.

Other than that though your problem is blindingly obvious and the system is telling you what is wrong. You cannot mix and match 32 bit and 64 bit code and that is exactly what you are trying to do for one reason or the other.

But, as you did not read the posting guidelines, not much more can be said. You should include jdiag information, operating system patch level, xlc compiler information and anything at all that you can think of. There are not penalties for providing too much information.

Jim

ufuktu

unread,
May 17, 2010, 7:19:31 AM5/17/10
to jBASE
it is clear enough... thank you all for your help... next time I post
a question I will definetly provide more information... thanks...
Reply all
Reply to author
Forward
0 new messages