Sponsored Content
Full Discussion: ar: 0707-126
Operating Systems AIX ar: 0707-126 Post 302340797 by milindb on Tuesday 4th of August 2009 10:35:31 AM
Old 08-04-2009
Question ar: 0707-126

Trying to build code on IBM_AIX 5.3.
Following error occured during build.

ar: 0707-126 $projdir/obj/ibm/5.3/NewApp/NewApp.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.

ANy help is appreciated to resolve the error.
 

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Exit Status 126 - how to get rid of it

Hi All, I have a small application hosted on apache-tomcat 5. Basically its a html page which in turn calls a perl script residing on unix server. Through this perl script i am calling a shell script using system command , like system('scriptname.sh',arg1,arg2,arg3); Now in the script... (5 Replies)
Discussion started by: glamo_2312
5 Replies

2. Shell Programming and Scripting

SFTP return Error Code 126

Hi, We are getting the following error code while connection remote server using sftp command. sftp user@serrver Warning: child process (/opt/ssh2/bin/ssh2) exited with code 126. pls Advise. (2 Replies)
Discussion started by: koti_rama
2 Replies

3. Cybersecurity

Web Hack Attempt from whois 209.126.68.6

Anyone care to take a stab at decoding this hack attempt on a web server. From the error logs: $ cat error.log (36)File name too long: AH00036: access to... (4 Replies)
Discussion started by: Neo
4 Replies
atom_object_management(5)					File Formats Manual					 atom_object_management(5)

NAME
atom_object_management, BuildObj, IsObjBuilt, WriteObj, ReleaseObj - Allows an Atom tool's InstrumentAll routine to build, release, and write objects SYNOPSIS
#include <cmplrs/atom.inst.h> unsigned BuildObj( Obj * ); unsigned IsObjBuilt( Obj * ); void WriteObj( Obj * ); void ReleaseObj( Obj * ); DESCRIPTION
Atom's object management routines allow an Atom tool's InstrumentAll routine to build, write, and release objects. You can use these routines only from an Atom tool's instrumentation file. See atom(1) for a description of Atom. An InstrumentAll routine must call the BuildObj routine before calling AddCallObj to add analysis routine calls to the object and before traversing the procedures in the object. BuildObj builds the internal data structures Atom uses to manipulate the object. After the Atom tool traverses and instruments the object, the InstrumentAll routine must call the WriteObj routine to write out the instrumented version of the object. For example: unsigned InstrumentAll(int iargc, char **iargv) { Obj * obj; AddCallProto("Startup()"); AddCallProto("Finish()"); AddCallProto("foo(int, REGV)"); AddCallProgram(ProgramBefore, "Startup"); AddCallProgram(ProgramAfter, "Finish"); for (obj = GetFirstObj(); obj; obj = GetNextObj(obj)) { if (BuildObj(obj)) return(1); /* instrument obj */ WriteObj(obj); } return(0); } The WriteObj routine writes the instrumented version of the specified object, deallocating the internal data structures BuildObj previously created. Note that BuildObj may return an error code. It returns a nonzero value (and issues an appropriate error message) if it encounters an error in the executable file for the Obj0. You should propagate this error value back to Atom by returning 1 from InstrumentAll. The ReleaseObj routine deallocates the internal data structures for the given object, but does not write out the instrumented version the object. You should not call ReleaseObj if you have added any analysis routine calls to the object. The IsObjBuilt routine returns a nonzero value if the specified object has been built with BuildObj, but not yet written with WriteObj or unbuilt with ReleaseObj. Whenever possible, tools should build and write out each object only once. Some tools, however, may build and release an object several times, ultimately writing out its instrumented version. This can be very time-consuming for a tool with very large objects. Similarly, tools should normally build only one object at a time. Certain tools may simultaneously build several objects, instrument each one, and then write each out. This has advantages for tools that call ResolveNamedProc or ResolveTargetProc. However, having more than one large object built at a single time will cause Atom to run slowly and to consume a large amount of memory. RETURN VALUES
These routines return values as described above. FILES
Header file containing external definitions of Atom routines SEE ALSO
Commands: atom(1) AtomTools: hiprof(5), pixie(5), third(5) Functions: atom_application_instrumentation(5), atom_application_query(5), atom_application_navigation(5), atom_description_file(5), atom_application_resolvers(5), atom_instrumentation_routines(5), AnalHeapBase(5), Xlate(5), Thread(5) Programmer's Guide atom_object_management(5)
All times are GMT -4. The time now is 02:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy