Re: CVS compile problems



Sure you're linking to the right glib?  The linker's not finding
libgmodule, so you probably need to update your /etc/ld.so.conf file and
add the directory containing libgmodule to it.

--
 Soren Harward <soren@cinternet.net> | Windows DOES come with a tool
 http://www.cinternet.net/~soren/    | to restore a corrupt Registry.
 Internet Information Systems Admin  |
 Cinternet, Inc.  (513) 891-1228     | It's called FDISK.

On Tue, 27 Oct 1998, Matt Stockdale wrote:

)I have been having this problem for weeks, even wiping all my gnome
)stuff and starting fresh hasn't helped..
)
)Anyhow, I get glib from CVS. autogen, compile, installs clean. then I
)get to gtk+,
)and after getting almost all the way to the end, it pukes all over
)itself and dies..
)
)following is the error
)
)matsto_cerberus[9:52](6)> make
)/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
)-DUSE_XIM  -o testgtk  testgtk.o libgtk.la ../gdk/libgdk.la
)-L/usr/X11R6/lib -lXext -lX11 -ldnet -L/usr/local/lib  -lglib -lm
)gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk
)testgtk.o -Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,--rpath
)-Wl,/usr/local/lib ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXext -lX11
)-ldnet -L/usr/X11R6/lib -lXext -lX11 -ldnet -L/usr/local/lib -lglib -lm
).libs/libgtk.so: undefined reference to `g_module_supported'
).libs/libgtk.so: undefined reference to `g_module_error'
).libs/libgtk.so: undefined reference to `g_module_make_resident'
).libs/libgtk.so: undefined reference to `g_module_close'
).libs/libgtk.so: undefined reference to `g_module_name'
).libs/libgtk.so: undefined reference to `g_module_symbol'  
).libs/libgtk.so: undefined reference to `g_module_open'
)make: *** [testgtk] Error 1    



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