This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined symbols in shared libraries


Nick,

That didn't do the trick either.

`_ZN23thr_ThreadSingletonBaseI18rgx_ReCompileCacheEC9Ev':
: warning: undefined reference to `thr_GlobalLock::Unlock()'

> echo $status   
0


Thanks,
Robert


On Thu, 2004-03-11 at 10:58, Nick Clifton wrote:
> Hi Robert,
> 
> > There appears to have been a change in behavior w.r.t. using -z
> > defs. At some point using -z defs caused the linker to exit with an
> > error if there were unresolved symbols in a shared library. We
> > recently upgraded to a new linker (needed the weak symbol handling
> > fix for performance reasons) and now we only get warnings when using
> > -z defs. I also tried --no-undefined just in case the long option
> > behaves differently, but it doesn't. I further tried the combination
> > of --no-undefined and --error-unresolved-symbols and that still
> > didn't help.
> 
> Please try using:
> 
>   --no-allow-shlib-undefined
> 
> Cheers
>         Nick
>         
-- 
Robert Schweikert <Robert.Schweikert@abaqus.com>
ABAQUS


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]