SUMMARY: Solaris/linking/gcc

From: Michael Cunningham (malice@exit109.com)
Date: Thu Aug 12 1999 - 12:21:50 CDT


Thanks go out to:

        Michael Steeves
        Jason Rouse
        Chad Price
        Nikolai P. Iordano
        Brian Scanlan
        vogelke@c17mis.reg

Looks like one of the libraries the source code is calling
requires additional libraries for the first library to work right.
I have tried everything short of including all the dam libraries..
(which would unfortunatly surpass the 256 character limit per line
in the makefile). Evidently the oracle libraries are quite interdependant
on each other... in some cases calling one library required me to
add in a dozen more. A few good tips given by one email are below..
Original email follows. Basically I have washed my hands of the problem
and dug up the coder who wrote this thing and he is going to fix it.

> Oracle libraries are co-dependant. It makes compilation a chore.
> Any library could be using this call, and you'd never know.
>
> Try adding "-L /$ORACLE_HOME/lib" and "-lcommon" to your makefile
> flags. It could be a small path problem as well.
>

------------------------------------------------------------------

> On Thu, Aug 12, 1999 at 09:42:54AM -0400 (or something like that), Michael Cunningham wrote:
> >
> >
> > What does this error message mean when compiling a piece
> > of software? Undefined symbol? I am not using these functions
> > that I am aware of in the source code.. Although I didnt write
> > it originally so I am not 100% pos. The compile went fine
> > but linking failed as you see below..
> >
> >
> > ld: Software Generation Utilities - Solaris/ELF (3.0)
> > Undefined first referenced
> > symbol in file
> > slpmprodstab
> > /apps/oracle/oracle_home/lib/libclntsh.so.1.0
> > osnsgl
> > /apps/oracle/oracle_home/lib/osntabst.o
> > ld: fatal: Symbol referencing errors. No output written to first_server
> > *** Error code 1
> > make: Fatal error: Command failed for target `first_server'
> >
> > Thanks for any help you can offer.. Mike
> >
>

Blue Skies..
Mike



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:24 CDT