gnome-libs failing to compile



Right now, gnome-libs doesn't compile on my readhat machine.  It's just
missing a -ldl to the link line, so adding it to the Makefile manually
works just fine.  Unfortunately, I've never used anything beyond
autoconf so I'm not so sure where to add the dependency.  If someone can
give a quick explanation of how it works if it's not too much of a pain,
I'd personally appreciate it.  The link is below.  Thanks!

--Chris

---------------

gcc -shared -Wl,-soname -Wl,libgemvt.so.0 -o .libs/libgemvt.so.0.0.2
gtkled.lo gtkterm.lo gtkvtemu.lo gtkvt102.lo gtktty.lo libgemvt.lo
(cd .libs && ln -s libgemvt.so.0.0.2 libgemvt.so.0)
(cd .libs && ln -s libgemvt.so.0.0.2 libgemvt.so)
creating libgemvt.la
(cd .libs && ln -s ../libgemvt.la libgemvt.la)
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./../..
-I/usr/local/gnome/include -I/usr/X11R6/include  -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Winline -Wpointer-arith -O6
-fstrength-reduce -fexpensive-optimizations -finline-functions
-frerun-cse-after-loop -freg-struct-return -fnonnull-objects -c
gvtmain.c
gemvt.xpm:2: warning: `gemvt_xpm' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./../..
-I/usr/local/gnome/include -I/usr/X11R6/include  -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Winline -Wpointer-arith -O6
-fstrength-reduce -fexpensive-optimizations -finline-functions
-frerun-cse-after-loop -freg-struct-return -fnonnull-objects -c gvtgui.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./../..
-I/usr/local/gnome/include -I/usr/X11R6/include  -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Winline -Wpointer-arith -O6
-fstrength-reduce -fexpensive-optimizations -finline-functions
-frerun-cse-after-loop -freg-struct-return -fnonnull-objects -c
gvtconf.c
/bin/sh ./libtool --mode=link gcc -g -Wall -Wmissing-prototypes
-Wstrict-prototypes -Winline -Wpointer-arith -O6 -fstrength-reduce
-fexpensive-optimizations -finline-functions -frerun-cse-after-loop
-freg-struct-return -fnonnull-objects  -L/usr/X11R6/lib -lgtk -lgdk
-lglib -lX11  -lXext -lSM -lICE -lm -o gemvt  gvtmain.o gvtgui.o
gvtconf.o ./libgemvt.la ../libgnomeui/libgnomeui.la
../libgnome/libgnome.la    
gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Winline
-Wpointer-arith -O6 -fstrength-reduce -fexpensive-optimizations
-finline-functions -frerun-cse-after-loop -freg-struct-return
-fnonnull-objects -L/usr/X11R6/lib -lgtk -lgdk -lglib -lX11 -lXext -lSM
-lICE -lm -o .libs/gemvt gvtmain.o gvtgui.o gvtconf.o -Wl,-rpath
-Wl,/usr/local/gnome/lib ./.libs/libgemvt.so -Wl,-rpath
-Wl,/usr/local/gnome/lib ../libgnomeui/.libs/libgnomeui.so -Wl,-rpath
-Wl,/usr/local/gnome/lib ../libgnome/.libs/libgnome.so
../libgnome/.libs/libgnome.so: undefined reference to `dlclose'
../libgnome/.libs/libgnome.so: undefined reference to `dlopen'
../libgnome/.libs/libgnome.so: undefined reference to `dlsym'
make[2]: *** [gemvt] Error 1
make[2]: Leaving directory
`/usr/local/src/projects/gnome/gnome-libs/libgtktty'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/projects/gnome/gnome-libs'
make: *** [all-recursive-am] Error 2
[blizzard@foo gnome-libs]$ 

-- 

------------
Christopher Blizzard
AppliedTheory Communications, Inc. 
http://odin.appliedtheory.com/
blizzard@appliedtheory.com
------------



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