Where to find symbols in libraries?
I have a basic question about libraries.
I am trying to build konqueror embedded, and if I use only the libraries
on my embedded system, the build fails because it cannot find inet_pton.
The problem is described here:
The solution is to set up your libs so that configure can find the lib
So... How do I find out which lib I need?
nm returns a whole pile of inet_pton symbols, but I have no idea how to
Could someone help me out?
CptDondo <yan@NsOeSiPnAeMr.com> wrote ...Process Scehduling in Unix version Sun Solaris (I know this is the linux group but I couldnt find a sun solaris one)
I just needed to find out how processes are scheduled in Sun's solaris
and an outline of the scheduling algorithm - I've looked on the web
without anyluck - couldnt find anything specific.
"Amerz" <email@example.com> writes:
> I just needed to find out how processes are scheduled in Sun's solaris
> and an outline of the scheduling algorithm - I've looked on the web
> without anyluck - couldnt find anything specific.
Assuming oyu mean threads too, then you didnt look very hard - first
search gives this:
http://www.google.de/search?q=solaris+ke...How to define a define that defines some defines ?
I have the following:
/*--- SNIP ---*/
typedef struct Argument_s
#define Function(F) int F( int ArgCount, ARGUMENT ArgVector )
#define First ArgVector
#define First_A First.address
#define First_T First.type
#define First_L First.length
#define Second ArgVector
#define Second_A Second.address
#define Second_T Second.type
#define Second_L Second.length
#define Third ArgVector
#define Third_A Third.address
#define Third_T Third.type
#define Third_L Third.length
...Multiply defined symbols in wx libraries
I am using wxMSW 2.6.1, Win XP. When building my project, I receive the
wxbase26d.lib(log.obj) : error LNK2005: "void __cdecl wxLogDebug(char
const *,...)" (?wxLogDebug@@YAXPBDZZ) already defined in
which sounds like a wx library multiple definition. How to cure it?
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Sorry for the false alarm. Somehow I used...Solaris/Unix commands to find out memory leaks?
The following is an excerpt from one of my older posts which was never
how about the reliability of the output given by 'pmap <pid> | grep
Can we consider it as a leak, if the heap size keeps growing?
Btw, can there be any other cause for memory leaks? If yes, the above
way may not be complete, I suppose. Could somebody clarify?
Overall, it is ambiguous about what Simple Solaris commands to use to
find out whether there are leaks are not(rather than using tools)? Is
there any descriptive paper providing complete information on it?
Can anybody...control over symbol visibility in 3rd party library on Solaris
We have two 3rd party libraries dynamically linked to our application.
Both libraries have functions with identical signatrures. (To satisfy
someones's curiosity these are odbc and DB2 CLI libraries with the
whole set of SQLXXX() functions. Since runtime loader maintains a
single name space for all symbols, the first definition visible to the
runtime loader is used by default. Is there any way to control symbol
visibility on Solaris 9 and Solaris 10 platforms?
We use Sun C++ 5.5 and Solaris Link Editors: 5.9-1.375 on Solaris 9
Sun C++ 5.8 Patch 121017-19 and Solar...how can i find the patch level of Solaris shared C++ libraries?
how can i find the patch level of Solaris shared C++ libraries?
linux_bp <firstname.lastname@example.org> wrote:
> how can i find the patch level of Solaris shared C++ libraries?
showrev -p |grep SUNWlibC
- or -
and search for a string resembling a patch-ID.
Thanks for the help. I have further queries:
are Solaris shared C++ libraries patch are part of solaris kernel
patches or they need to be installed seperately?
Also If i compiled my binaries on machine with older C++ shared
libraries, then would my application run properly on the machine with
dif...What to do with a linker warning about a public symbol from the STL library defined in two modules?
I'm getting the following linker warning: (I'm using Borland C++ Builder 6)
[Linker Warning] Public symbol '_STL::basic_ostream<char,
_STL::char_traits<char> >& _STL::operator <<
(_STL::basic_ostream<char, _STL::char_traits<char> >&, const signed char *)'
defined in both module
I don't understand why this is happening. Obviously this is not a symbol I
have defined, it is an STL function.
I know I am including <iostream> and oth...Help: Define a function for association list for finding a symbol's source and destination
How to define a function taht takes an A-list and return the list of
elements that appear both as the source and destination in the A-list?
(source-dest '((a . b) (b . c) (c .a)))
> How to define a function taht takes an A-list and return the list of
> elements that appear both as the source and destination in the A-list?
> For example:
> (source-dest '((a . b) (b . c) (c .a)))
> Pls help
yes...how to go about solving it....i can't seem to be able to c...Solaris 10 x86 : shared library mismatched symbols after patch 124923-03 Mar 2007
I am facing a frustrating problem with my Ultra 20 M2 workstation:
Summary of problem:
After I installed patch: 124923-03 Mar 2007, shared library utilities (eg.,
ld, ldd, etc.) fail to find certain symbols in shared libraries:
ld.so.1: ld: fatal: relocation error: file /lib/libld.so.4: symbol dbg_desc:
referenced symbol not found
ld.so.1: ld: fatal: relocation error: file /usr/ccs/bin/ld: symbol ld32_main:
referenced symbol not found
m[pts/9]:src% ldd /usr/bin/ls
ld.so.1: ldd: fatal: relocation error: file /usr/bin/ldd: symbo...Q: can't find C++ symbols if gcc linking with Sun C++ library
Dear C++ guru,
I need to compile C++ server which used
a lot of GNU G++ specific codes AND one Sun C++ library
g++ -c a_i.cc i=1,...n
g++ a_i.o ... -lSUNLIB_other -lGNULIB_other(s) -o exe
So, seems that Sun C++ and G++ differently resolved classes .....
Is it true? Or there are some options here?
What can I do? I can't recompile SUNLIB_other under g++, can't
GNULIB_other under SUN CC.
Best regards, Albert.
P.S.: Could you also send your answers to email@example.com too
Albert wrot...How to find name of shared library within that library
How can I find the name of a .so file (shared library) from code within
Here's what I am trying to do:
I am writing a shared library to be used by other developers.
I would like to be able to checksum the library at startup,
to make sure it's not corrupted. (This is a FIPS 140-2 requirement.)
Since the function _init() in the library is called automatically
whenever an application loads the library, that would seem to be
the place to put the checksumming code.
But I don't know how to find the full path to the .so file, which
I need in order to read and ch...Symbole referencing errors: symbol is defined multiple times
Hi Bhooshan and all,
I�m having a large Vc++-project which contains several C files. My
task is to convert these exisiting code to run on a TI C62x. After
having done the necessary modi-fications I have problems with the TI
Code Composer v3 linker.
When I compile the project,I get the following linking error:
[Linking...] "C:\CCStudioEval\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
>> error: symbol _errortext is defined multiple times:
Likewise im getting some 450 symbol referencing errors.I don`t
understand why the symbols are defined multiple times
I...Shared library compiled on Solaris, incompatible with Solaris 9?
I am having a problem with a shared library (.so) that was compiled on
Solaris 8 with gcc (2.95?). When this shared library was built, it was
linked with a function from another static library (.a).
I am running Solaris 9 (SPARC) here, and the initial problem I ran into
was that when I first got the .so from the vendor, the function that
came from the static library was missing ("ldd" would not display it).
I've been working with one of the vendor's developers, and he sent me
the souce for the shared lib. I already had a copy of the .a file, and
I used CC from Sun St...