Re: Error building glib 2.6.3 " 'IA__g_allocator_free' is used as a type, but has not been defined as a type."



On Thu, 2005-05-19 at 10:13 -0700, Gowri Sharmi Kandasamy wrote:
> I get the following error whe I try to build  glib-2.6.3 on HP-UX Itanium?
> Any suggestions?
> 
> cc +DD32 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
> -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
> -I/gtk2.6/IA/GTK/include -D_REENTRANT -DHPUX11 -Dhpux -c garray.c 
> -DPIC -o .libs/garray.o
> 
> Error 419: "galias.h", line 26 # 'IA__g_allocator_free' is used as a
> type, but has not been defined as a type.
>     extern __typeof (g_allocator_free) IA__g_allocator_free
> __attribute((visibility("hidden")));
>                                        ^^^^^^^^^^^^^^^^^^^^
> Error 378: "galias.h", line 26 # Syntax error in function declaration.
>     extern __typeof (g_allocator_free) IA__g_allocator_free
> __attribute((visibility("hidden")));
>                                       
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Error 445: "galias.h", line 26 # Cannot recover from earlier errors.
>     extern __typeof (g_allocator_free) IA__g_allocator_free
> __attribute((visibility("hidden")));

Your compiler seems to have problems with the gcc extensions we are
using. You can try to configure with --disable-visibility.

Matthias




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