Re: gnorpm link problem



rpm-3.0.1 installed both librom and librpmbuild.  But the undefined symbols
below are all defined in the sources for the 'rpm' binary itself.  I can't
see anywhere that the sources that define these symbols are compiled into
either of the libraries (i.e., the files are referenced only in the
top-level Makefile.am, and not in any of the library Makefiles).  I also
checked with "nm librpm[build].a | grep <symbol-namne>", and indeed none of
these symbols is defined in either library.  I must be missing something,
but it doesn't make sense to me.

----- Original Message -----
From: James Henstridge <james@daa.com.au>
To: Dave Seidel <dave@superluminal.com>
Cc: <gnome-list@gnome.org>
Sent: Monday, May 31, 1999 9:10 PM
Subject: Re: gnorpm link problem


> I haven't checked what changes are in rpm-3.0.1.  I guess that they split
> off some code from librpm into a separate library.  Are there any other
> libraries that get installed with rpm-3.0.1 ?
>
> James.
>
> --
> Email: james@daa.com.au
> WWW:   http://www.daa.com.au/~james/
>
>
> On Mon, 31 May 1999, Dave Seidel wrote:
>
> > I just installed rpm 3.0.1 from the source tarballs, and I'm trying to
> > rebuild gnorpm from scratch (from the latest CVS sources).  Here are the
> > link errors I'm getting:
> >
> > /usr/lib/librpm.a(verify.o): In function `verifyDependencies':
> > /usr/src/rpm-3.0.1/lib/verify.c:327: undefined reference to
`printDepFlags'
> > /usr/lib/librpm.a(query.o): In function `printNewSpecfile':
> > /usr/src/rpm-3.0.1/lib/query.c:447: undefined reference to `tagName'
> > /usr/src/rpm-3.0.1/lib/query.c:450: undefined reference to `specedit'
> > /usr/lib/librpm.a(query.o): In function `rpmQueryVerify':
> > /usr/src/rpm-3.0.1/lib/query.c:545: undefined reference to `ufdOpen'
> > /usr/src/rpm-3.0.1/lib/query.c:548: undefined reference to `ufdClose'
> > /usr/src/rpm-3.0.1/lib/query.c:555: undefined reference to `ufdClose'
> > /usr/src/rpm-3.0.1/lib/query.c:589: undefined reference to `parseSpec'
> > /usr/src/rpm-3.0.1/lib/query.c:594: undefined reference to `freeSpec'
> > /usr/src/rpm-3.0.1/lib/query.c:599: undefined reference to `specedit'
> > /usr/src/rpm-3.0.1/lib/query.c:601: undefined reference to `freeSpec'
> > /usr/src/rpm-3.0.1/lib/query.c:618: undefined reference to `freeSpec'
> > /usr/lib/librpm.a(query.o): In function `queryArgCallback':
> > /usr/src/rpm-3.0.1/lib/query.c:94: undefined reference to `specedit'
> > collect2: ld returned 1 exit status
> > make[2]: *** [gnorpm] Error 1
> > make[2]: Leaving directory `/usr/src/gnome-cvs/gnome/gnorpm'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/gnome-cvs/gnome/gnorpm'
> > make: *** [all-recursive-am] Error 2
> >
> > RPM itself built without any apparent problems (using --prefix=/usr),
and
> > seems to work, at least for the few operations I've tried so far
> > (e.h., -q, -e, -U).  Any ides what I might be doing wrong?
> >
> > - Dave
> >
> > -----
> > Dave Seidel
> > dave@superluminal.com
> > www.superluminal.com/dave
> >
>
>
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.
>
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]