gnorpm problem

I've got a tarball for gnorpm-0.9, but I can't get it to compile.  I'm
getting an error about an undefined reference to 'rpmProblemSetFiler'. 
Here is the last gcc command, and the errors that I get:

gcc  -g -O2 -Wall -Wunused   -o gnorpm  gnorpm.o dbhandle.o misc.o
mainwin.o install.o verify.o checksig.o gtkpathtree.o rpmfinddlg.o
rpminstalldlg.o rpmpackagelist.o rpmprogress.o rpmquery.o rpmquerydlg.o
rpmdentry.o rpmprops.o rpmwebfind.o -rdynamic -L/usr/lib
-L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE
-lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd
-laudiofile -lm -ldb1 -lglib -ldl ./find/libfind.a -L/usr/lib -lxml -lz
-lghttp  	 -L/usr/lib -lrpm -lz  -ldb1 
install.o: In function `do_install':
/usr/src/redhat/BUILD/gnorpm-0.9/install.c:482: undefined reference to
collect2: ld returned 1 exit status
make[2]: *** [gnorpm] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnorpm-0.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnorpm-0.9'
make: *** [all-recursive-am] Error 2

Anybody know how to fix this thing?

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