Re: Compiling Eog



I figured out the bug. The file bonobo-image-generic has a typo.
It should be gnome_print_rgbimage, not gnome_print_rgbaimage.

	= L


> > I get the following error while trying to compile EOG :
> > 
> > gcc -I /home/loban/usr/include -Wall -Wunused -o bonobo-image-generic bonobo-image-generic.o -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -L/home/loban/usr/lib -L/usr/lib -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lnsl -lm -lbonobo-print -rdynamic -L/usr/lib -L/usr/X11R6/lib -L/home/loban/usr/lib -lgdk_pixbuf -ltiff -ljpeg -lpng -lgnomecanvaspixbuf -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeprint -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lxml -lz
> > bonobo-image-generic.o: In function `render_fn':
> > bonobo-image-generic.o(.text+0xce3): undefined reference to `gnome_print_rgbaimage'
> > c
> > 
> > I have the required gnome-print-0.18 (It's a helixcode rpm). What's wrong?
> > Is the rpm faulty?
> 
> I got a couple of answers back saying I should make sure I have the
> gnome-print-devel package as well.
> 
> Yes I do have that. I couldn't have gotten even close to the above compile
> line (which is actually a link line) without it. ;-)


/-------------------------------------------------------------------\
|   LOBAN AMAAN RAHMAN  <-- anagram of -->  AHA! AN ABNORMAL MAN!   |
|  MSC #763, Caltech, Pasadena, CA 91126, USA. Tel: 1-626-395-1406  |
|     loban@earthling.net, loban@caltech.edu, http://i.am/loban     |
\-------------------------------------------------------------------/




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