Is it possible to view all the functions exported by a given object file?
"dump -tv" comes the closest, but what exactly am I looking for to determine whether the symbol exists in the object file?
Essentially, I have a library that requires a call to "xdr_sizeof" and the compile is failing because the linker can not find it. I am curious if I can find where (and if) this function is provided so I can link it in. I have ran the following under /usr/lib:
How do I know which of those, if any, actually contains the xdr_sizeof function I want? Is there a better way to do the dump to limit it only to outputing lines for functions exported by the library? Am I completely off base here? I know the function can not be in four different libraries...or it shouldn't be....
I guess I can give it a shot.... Google is not much help telling much what the heck that library is for, however. If I had to venture a guess, I'd say "network sockets layer".... Sounds good :-).
However, when I do get this from dump:
The extern makes me wonder.... Sounds, however, like there is neither a "good" way to flag nm nor dump to show just functions provided by the library/archive.
-- DreamWarrior
P.S. mah: It seems that objdump and readelf are not available to me on AIX.
The extern makes me wonder.... Sounds, however, like there is neither a "good" way to flag nm nor dump to show just functions provided by the library/archive.
You don't want to see a U for undefined, best way is to try to link a tiny C program with main calling the single function.
Quote:
Originally Posted by DreamWarrior
P.S. mah: It seems that objdump and readelf are not available to me on AIX.
How to initialize an object of class say "A", with an object of type say "B".
The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested"
#include <iostream>
using namespace std;
class B;
class A{
public:
A() { cout <<"\nA()" << endl; }
... (1 Reply)
Hi guys, I was asked to perform the following:
On server usdfslpsap04 following NFS mounts should be disabled
usdfslpwmt3:/u01/opt/wm6_data/ebiz_edi/CALIBER_data
50412232 13369544 34481872 28% /u01/opt/wm6_data/ebiz_edi/CALIBER_data
usauxoradw:/DWH/Transfer/current... (1 Reply)
I am working on a small columns class, since I use allot of tabular data. I am trying to set up code to allow me to efficiently read in tabular data, manipulate it, and write to output files. I more or less know what I need to do, but there are many options to sort through.
I have the beginnings... (14 Replies)
Hello everyone!
I have two systems: an old SCO 5.0.5 Openserver (here's the uname -a output):
/# uname -a
SCO_SV munixela 3.2 5.0.5 i386
And a SCO 5.0.7 OpenServer (uname -a output):
/# uname -a
SCO_SV catedral 3.2 5.0.7 i386
I exported a Filesystem from the 5.0.7 machine, using the... (13 Replies)
I have a code as following:
#include <iostream>
#include <algorithm>
#include <list>
using namespace std;
//the class Nth is a predicates
class Nth{
private:
int nth;
int count;
public:
Nth(int n):nth(n),count(0){}
bool operator()(int){
... (2 Replies)
Hi,
Anybody know any way to Call with Shell Script an external function wrote in .C or .So (Shared Object) on AIX enviroment and returning parameters of .C or .SO to Shell Script?
Tks!! (6 Replies)
Why can I not add more than 1 filesystem to the /etc/exports file and export them via smitty, or command line?
I have tried, I stopped the NFS daemons, edited the /etc/exports file by hand, saved it, then re-started NFS, but it only still exports the first line in the exports file.
... (4 Replies)
I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine.
I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this.
Here is my function:
<?php
function TRECSend($a, $b, $c, $d,... (0 Replies)
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
i have the following entry in /etc/exports which is /opt/hpxt.
i am on hpux b11.0.0
questions
1) is /hpxt in the same physical machine? got confused by the meaning of export. (1 Reply)