problem compiling ghash.c on HPUX 11.11



Title: problem compiling ghash.c on HPUX 11.11

Hi,

I'm facing a problem compiling ghash.c (glib-2.6.6) on a HPUX PaRisc platform.
Following error output is produced:

 cc -Ae +DA2.0 +DS2.0W +Z -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -D_HPUX_SOURCE -I/share/lnxc13.test/SAMIDEA/GTK_STUFF/HP/INST/include -D_REENTRANT -DOS_HP -DOS_HPUX -DOS_HPUX_11 -DOS_HPUX_11_00 -DOS_64 -I/opt/graphics/OpenGL/include -DPRO_MACHINE=HP700 -DPRO_OS=UNIX -I/share/lnxc13.test/SAMIDEA/GTK_STUFF/HP/INST/include  -c ghash.c -Wp,-M.deps/ghash.TPlo  +Z -DPIC -o .libs/ghash.o

cpp: "/usr/include/sys/param.h", line 379: warning 2001: Redefinition of macro MIN.
cpp: "/usr/include/sys/param.h", line 380: warning 2001: Redefinition of macro MAX.
cc: "ghash.c", line 186: error 1588: "__inline_func_g_hash_table_lookup_node_param_2_key__" undefined.
cc: "ghash.c", line 186: error 1531: Invalid member of struct or union.
cc: "ghash.c", line 186: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type.
cc: "ghash.c", line 189: error 1531: Invalid member of struct or union.
cc: "ghash.c", line 189: error 1564: _expression_ in while must be scalar.
cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

I'm using the native HP compilers (cc and aCC) in following versions:

/usr/bin/cc:
        $Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
        LINT B.11.11.12 CXREF B.11.11.12
        HP92453-01 B.11.11.12 HP C Compiler
         $ PATCH/11.00:PHCO_27774  Oct  3 2002 09:45:59 $
/opt/aCC/bin/aCC:
        $Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
        HP aC++ B3910B A.03.60
        HP aC++ B3910B A.03.52 Language Support Library

As I do not have a clue what the problem could be, I hope someone can give some hints on this.
Just let me know if more information is needed.

Thanks for your help,
Best Regards
Armin



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