This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Binutils 2.11.x problems with oracle 9i
On Wed, Jun 27, 2001 at 05:31:24PM -0700, H . J . Lu wrote:
> On Tue, Jun 26, 2001 at 08:51:29PM -0500, Anant Kabra wrote:
> > Hi,
> >
> > Sorry I was having some lvm problems so I coulden't reply earlier. Here is
> > the output of nohup ld -verbose
> >
> > -- Anant
>
> The first undefined symbol error is
>
> skgfr.o(.text+0x125): undefined reference to `__cmpdi2'
>
> __cmpdi2 is defined in libgcc.a. Since you didn't have -lgcc in your
> command line, the linker complained. It is normal. However, I don't
The reason ld complained is you passed "-z defs" to it. It is the same
as --no-undefined.
# ld --help
....
-z defs Disallows undefined symbols
H.J.