xscreensaver compile problems

Net Llama! netllama
Mon May 17 11:31:07 PDT 2004


On Sat, 11 May 2002, David A. Bandel wrote:
> On Sat, 11 May 2002 16:24:34 -0400 (EDT)
> begin  Net Llama! <netllama at linux-sxs.org> spewed forth:
>
> > Greetings,
> > I'm trying to compile the newly released Xscreensaver-4.03 and its
> > bombing out here:
> >
> > gcc -Wall -Wstrict-prototypes -Wnested-externs -Wno-format -std=c89
> > -U__STRICT_ANSI__ -L/usr/local/lib -o xscreensaver-demo-Gtk prefs.o
> > dpms.o remote.o exec.o ../utils/resources.o ../utils/usleep.o
> > ../utils/visual.o demo-Gtk.o demo-Gtk-conf.o demo-Gtk-widgets.o
> > demo-Gtk-support.o-L/usr/X11R6/lib \ -rdynamic -L/opt/gnome/lib
> > -L/usr/X11R6/lib-L/usr/local/lib -L/usr/lib -lgnomeui -lart_lgpl
> > -lgdk_imlib -lSM -lICE-lgnome -lgnomesupport -lesd -laudiofile -ldb1
> > -lgdk_pixbuf -lgtk -lgdk-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
> > -L/usr/lib -lxml2 -lz -lm-lXmu -L/usr/lib -lxml2 -lz -lm -lSM -lICE -lXt
> > -lX11 \
> >  -lXext
> > demo-Gtk.o: In function `main': demo-Gtk.o(.text+0x765e):
> > undefined reference to `gnome_capplet_init' demo-Gtk.o(.text+0x81ad):
> > undefined reference to `capplet_widget_new' demo-Gtk.o(.text+0x8400):
> > undefined reference to `capplet_gtk_main'
> > collect2: ld returned 1 exit status
> > make[1]: *** [xscreensaver-demo-Gtk] Error 1
> > make[1]: Leaving directory
> > `/home/netllama/stuff/xscreensaver-4.03/driver' make: *** [default]
> > Error 5
>
> well, looks like your build is looking for a function in the gnome
> libraries (I grepped the latest version of the gtk libs and there's no
> reference to capplets in there).
>
> This may be a cut and paste problem, but one line above could be a
> problem, there's not space between -lICE and -lgnome.

Hrmmm..thanks Dave (and Brett).  This is all quite strange, and is prolly
somehow related to the manual upgrade to RH-7.3 that i'm in the process of
doing on this box.  I guess i should finish upgrading the gnome-lib stuff
and then give it another try.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com




More information about the Linux-users mailing list