undefined symbols in shared libraries

Robert Schweikert Robert.Schweikert@abaqus.com
Thu Mar 11 16:05:00 GMT 2004


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



More information about the Binutils mailing list