ld: 0711-736 ERROR:


 
Thread Tools Search this Thread
Operating Systems AIX ld: 0711-736 ERROR:
# 1  
Old 08-04-2009
Question ld: 0711-736 ERROR:

I am trying to build a code on IBM_AIX 5.3.
& getting error message as-
ld: 0711-736 ERROR: Input file $projdir/obj/ibm/5.3/new/new.o:
XCOFF64 object files are not allowed in 32-bit mode.
Error code return is 8.

Can anybody guide to resolve the error.

Thanks
# 2  
Old 08-04-2009
Quote:
Originally Posted by milindb
I am trying to build a code on IBM_AIX 5.3.
[...]
Which compiler (name, version, origin) did you use?
# 3  
Old 08-04-2009
Hi,

apparently you're trying to build 64bit code on a 32bit box and that's why you get the error.

please post bootinfo -K output but I am almost sure that this is your problem and it will show up with 32. You can switch your kernel if you're root:

Code:
ln -sf /usr/lib/boot/unix_64 /unix 
ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix 
bosboot -ad /dev/ipldevice 
shutdown -Fr

once the system is back, bootinfo -K will show you 64
# 4  
Old 08-04-2009
Thanks for your reply.
I dont have permission to run bootinfo
can you pls let me know is thr any other by which I can provide the info.
I dont have root access as well.
# 5  
Old 08-04-2009
try:
lsconf | grep -i kernel
or
prtconf | head
or
ls -l /unix
And look for a mention of 64.
# 6  
Old 08-05-2009
Thanks for all your support guys.

I am now able to resolve the error-
I have just set OBJECT_MODE variable-
export OBJECT_MODE=64(for ksh)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Print Error in Console and both Error & Output in Log file - UNIX

I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error. #! /bin/sh errExit () { errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies

2. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

3. AIX

Ld: 0711-851 SEVERE ERROR:

I need to install python 3.3.0 to AIX 6.1 I created folder where I want to install I downloaded files archive from python official website I extracted it into new folder and ran; 1)./configure --with-gcc="xlc_r" --with-cxx="xlC_r" --disable-ipv6 --prefix=my_folder CXX=xlC_r... (2 Replies)
Discussion started by: AIX_30
2 Replies

4. UNIX for Dummies Questions & Answers

> 5 ")syntax error: operand expected (error token is " error

im kinda new to shell scripting so i need some help i try to run this script and get the error code > 5 ")syntax error: operand expected (error token is " the code for the script is #!/bin/sh # # script to see if the given value is correct # # Define errors ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies

5. Programming

ld: 0711-317 ERROR: Undefined symbol: stdscr

I am trying to compile pro*c program on aix 5.3. The program compiled fine when I was using curses library. After switching to ncurses, I have started getting compilation errors. After installing ncurses on the box, I changed the -lcurses flag to -lncurses. I have also updated the path to the... (13 Replies)
Discussion started by: wvuguy
13 Replies

6. AIX

nim mksysb error :/usr/bin/savevg[33]: 1016,07: syntax error

-------------------------------------------------------------------------------- Hello, help me please. I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? : Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies

7. UNIX for Dummies Questions & Answers

awk Shell Script error : "Syntax Error : `Split' unexpected

hi there i write one awk script file in shell programing the code is related to dd/mm/yy to month, day year format but i get an error please can anybody help me out in this problem ?????? i give my code here including error awk ` # date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies

8. UNIX for Dummies Questions & Answers

Error: Internal system error: Unable to initialize standard output file

Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message. Error: Internal system error: Unable to initialize standard output file I'm guessing more info might be needed, so let me know. Thanks (2 Replies)
Discussion started by: firkus
2 Replies

9. Programming

ld: 0711-317 ERROR: Undefined symbol: .hello

Hello, when i compile with xlc on aix i got the error message "ld: 0711-317 ERROR: Undefined symbol: .hello" dummy.pc: #include <stdio.h> #include <stdlib.h> #include <string.h> #include "dummy.h" int main ( ) { printf("\nbefore Hello"); hello(); printf("\npast Hello"); ... (2 Replies)
Discussion started by: stockdan
2 Replies
Login or Register to Ask a Question