Re: grpm compile help needed



On Tue, 8 Dec 1998, William Henstrom wrote:

> To: gnome-list@gnome.org
> Subject: grpm compile help needed
> From: William Henstrom <henstrom@physics.uiuc.edu>
> 
> I have tried to compile grpm for some time now, but I 
> always get the same error.  I was able to get past some
> of the header errors by including zlib.h in repo.c, but 
> I still get the following.  If someone could point me
> to the libraries that I am not including, I would 
> appreciate it.  I have gtk+ from the same day installed
> and zlib-1.1.2-2.i386.rpm and zlib-devel-1.1.2-2.i386.rpm 
> installed.
> 
> Thanks,
> Will
> henstrom@uiuc.edu
> 
> 
> gcc -I/usr/opt/gnome/include -Wall -L/usr/opt/gnome/lib -o grpm grpm.o repo.o packagelist.o ftp.o stringbuf.o misc.o panel.o rpmdb.o action.o query.o collection.o search.o color.o -rdynamic -L/usr/opt/gnome/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lm -laudiofile -ldb -lglib -ldl -lrpm -ldb
> repo.o: In function `grpmRepoLoadCache':
> repo.o(.text+0xe1e): undefined reference to `headerGzRead'
> repo.o: In function `grpmRepoSyncCacheWriteEntry':
> repo.o(.text+0xf20): undefined reference to `headerGzWrite'
> panel.o: In function `grpmPanelConstruct':

AFAIK this comes from librpm ...

> panel.o(.text+0x1f5b): undefined reference to `gtk_clist_set_policy'
> panel.o(.text+0x2103): undefined reference to `gtk_clist_set_policy'
> action.o: In function `grpmActionResolveDeps':
> action.o(.text+0x4fd): undefined reference to `gtk_clist_set_policy'
> query.o: In function `grpmQueryAdd':
> query.o(.text+0x1537): undefined reference to `gtk_clist_set_policy'
> make: *** [grpm] Error 1

... and this is 'cause no one made it work with the latest Gtk+ until now.

Martin

-----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier
   martin@home-of-linux.org, http://www.home-of-linux.org/
------------------------------------------------------------------



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