Re: Unable to resolve the symbols in shared library



On Jun 16, 1:38 pm, sunil <sunil....@xxxxxxxxx> wrote:
On Jun 16, 5:28 pm, Tomás Ó hÉilidhe <t...@xxxxxxxxxxx> wrote:

On Jun 16, 1:20 pm, sunil <sunil....@xxxxxxxxx> wrote:

---------------------------------------------
  symbol not found: main          (./libxauthn.so)
        /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
        symbol not found:
checkPropagateCustomCdasErrors                (./libxauthn.so)
        /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
------------------------------------

Maybe a 3rd party library is calling that function? Or maybe it's
called by the application's "start up" code?

How to diagnose the problem whether third party function is calling or
not?
Am unaware where and how to dig into the problem.


I should have paid more attention to the error. Given that you're
getting a "symbol not found" error for "main", it definitely looks
like the problem is with the "start up" code, i.e. the secret code
that gets executed before main.

I'd say the problem is either:
1) The compiler is corrupt and needs to be reinstalled
2) The project options are screwed up

Try creating a brand new project and copying all the header and source
files to it, then re-compile.

If that doesn't work, re-install the compiler.
.



Relevant Pages

  • Re: c++ calling c functions
    ... You miss my point - you're telling the C++ compiler to generate C ... less implementation-specific than calling C from C. ... The reason is that neither Fortran, nor Pascal, nor Ada state ... Python states how to interface with C routines, ...
    (comp.lang.c)
  • Re: INTENT(IN OUT)
    ... > calling the subroutine. ... > It could be an interesting language feature to reverse the algebraic ... Maybe this is a subtle point that I don't fully understand - but they are ... > Is a compiler allowed to pass y as an argument to twice? ...
    (comp.lang.fortran)
  • Re: MPI/Fortran95 incompatibility? Was - Re: Pass by reference in Fortran77 standard?
    ... saved address (and stride info) would correspond to the actual argument. ... This would of course require explicit interfaces in the calling program, and some knowledge of the fortran compiler calling conventions, but at least it seems like it would solve the problem. ... Print out the location of the actual and dummy array with various declarations and see which ones result in local copies and which ones pass the original strided array. ...
    (comp.lang.fortran)
  • Re: inline power function replacement
    ... switch ) ... and the order of the cases should not matter if the compiler ... the absolutely least overhead for the vast majority of cases. ... roughly the same overhead as an indirect function call (calling through ...
    (comp.lang.c)
  • Re: How to print " " or
    ... How to print "\n" or '\0''s a cool scene! ... Dig it! ... It's allowed (by the compiler). ... if the compiler does find a header named ...
    (comp.lang.c)