Re: failed gnome-core compilation




Hmm, have you updated glib too?

No probably not, I think the glib include path should be different
(from the compile line below).

You might have to remove /usr/local/include/glib-config.h, and compile
glib and install that (had a few problems with this too).

 Michael


> Updating ORBit is not a clean thing too...
> 
> AM=\"gcc\ -E\" -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_WCHAR_H=1  -I.
> -I.  -DYYDEBUG=1 -DIDL_LIBRARY  -I /usr/lib/glib/include  -g -O2 -c
> tstidl.c
> In file included from util.h:36,
>                  from tstidl.c:7:
> IDL.h:70: warning: #warning 64-bit integer type not available, using
> 32-bit instead
> /bin/sh ./libtool --mode=link gcc -g -O2  -o tstidl  tstidl.o libIDL.la 
> gcc -g -O2 -o .libs/tstidl tstidl.o -Wl,--rpath -Wl,/usr/local/lib
> .libs/libIDL.so
> .libs/libIDL.so: undefined reference to `g_hash_table_size'
> .libs/libIDL.so: undefined reference to `g_strcasecmp'
> .libs/libIDL.so: undefined reference to `g_string_free'
> .libs/libIDL.so: undefined reference to `g_tree_destroy'
> .libs/libIDL.so: undefined reference to `g_hash_table_remove'
> .libs/libIDL.so: undefined reference to `g_hash_table_new'
> .libs/libIDL.so: undefined reference to `g_string_new'
> .libs/libIDL.so: undefined reference to `g_hash_table_foreach'
> .libs/libIDL.so: undefined reference to `g_basename'
> .libs/libIDL.so: undefined reference to `g_tree_lookup'
> .libs/libIDL.so: undefined reference to `g_hash_table_lookup_extended'
> .libs/libIDL.so: undefined reference to `g_hash_table_destroy'
> .libs/libIDL.so: undefined reference to `g_direct_equal'
> 
> And I had to add by hand `-I /usr/lib/glib/include' in libIDL/Makefile at
> the line:
> 
> INCLUDES                = -DYYDEBUG=1 -DIDL_LIBRARY  -I /usr/lib/glib/include
> 
> in order to reach the failed linking stage.
> 
> Which is the FAQ this time ? ;-)
> 
> Andrea Arcangeli



-- 
     ///   `... thinking is an exercise to which all too few brains
    ///     are accustomed.' - First Lensman, E.E. `Doc' Smith
\\\///  
 \\\/   Michael Zucchi, B.E.                 zucchi@zedzone.mmc.com.au



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