Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ERROR: XCOFF64 object files are not allowed in 32-bit mode

Status
Not open for further replies.

HarpreetSachdeva

Programmer
Apr 11, 2003
25
GB
Hello,
I have a pro*C library build up and running against Oracle8 and now the data base has been migrated to Oracle 9.2 now when I am trying to complile my pro *C code to build the library I am receiving following error code.

ERROR:Input file adapdb.o:
XCOFF64 object files are not allowed in 32-bit mode.
make: The error code from last command is 8
stop
make: The error code from last command is 2

Please help me to sort out this problem.

Thanks
Harpreet
 
I dont know that and could you please tell me how to find that out ??

And the OBJECT_MODE environment variable is not set and when I explicitly set it to 64 then I am able to build the library but when I start the associated application(executable) that is referencing this library at that time an error message is generated saying that can not load the associated library no magic number is found.

Do I need to re-build the application also ?


Regards
HS
 
bootinfo -K -> if it returns 64 you have a 64-bit kernel

If your application is 32 bit, and it must talk to a 64 bit library, that doesn't work so well :)
I'd try rebuilding your application in 64 bit also

regards

R.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top