G_INLINE_FUNCTION redux?
- From: Rick Jones <rick jones2 hp com>
- To: gtk-list gnome org
- Subject: G_INLINE_FUNCTION redux?
- Date: Fri, 31 Mar 2006 18:04:31 -0800
I'm trying to port netperf4 to AIX 5.3. To that end, I downloaded the
precompiled glib et al offered by Bull at:
http://gnome.bullfreeware.com/new_index.html
which means I have:
# rpm -qa
cdrecord-1.9-4
mkisofs-1.13-4
AIX-rpm-5.3.0.0-1
wget-1.9.1-1
pkg-config-0.19-2
gettext-0.10.40-5
glib2-2.8.1-2
glib2-devel-2.8.1-2
intltool-0.34.1-1
zlib-1.2.3-1
libxml2-2.6.21-1
zlib-devel-1.2.3-1
libxml2-devel-2.6.21-1
on the system. (some rpms were there already). Netperf4's configure
script seems to run just fine. When I go to build the compiler gets
rather cranky:
# cd netperf4_glib/
# make
make all-recursive
Making all in src
source='nettest_bsd.c' object='nettest_bsd.lo' libtool=yes
depfile='.deps/nettest_bsd.Plo' tmpdepfile='.deps/nettest_bsd.TPlo'
depmode=aix /bin/sh ../depcomp /bin/sh ../libtool --mode=compile cc
-DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR="\"/usr/local/lib\""
-DNETPERFDIR="\"/usr/local/share/netperf\"" -D_THREAD_SAFE
-I/opt/freeware/include/libxml2 -I/opt/freeware/include/glib-2.0
-I/opt/freeware/lib/glib-2.0/include -c -o nettest_bsd.lo `test -f
'nettest_bsd.c' || echo './'`nettest_bsd.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/usr/local/lib\"
-DNETPERFDIR=\"/usr/local/share/netperf\" -D_THREAD_SAFE
-I/opt/freeware/include/libxml2 -I/opt/freeware/include/glib-2.0
-I/opt/freeware/lib/glib-2.0/include -c -M nettest_bsd.c -DPIC -o
.libs/nettest_bsd.o
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 239.15: 1506-277
(S) Syntax error: possible missing ';' or ','?
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 249.3: 1506-046 (S)
Syntax error.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 237.1: 1506-485 (S)
Parameter declaration list is incompatible with declarator for inline.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 278.7: 1506-045 (S)
Undeclared identifier nth_bit.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 283.11: 1506-045
(S) Undeclared identifier mask.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 291.1: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 289.1: 1506-485 (S)
Parameter declaration list is incompatible with declarator for inline.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 296.7: 1506-045 (S)
Undeclared identifier n_bits.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 297.7: 1506-045 (S)
Undeclared identifier number.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 297.7: 1506-045 (S)
Undeclared identifier number.
"/opt/freeware/include/glib-2.0/glib/gutils.h", line 299.3: 1506-046 (S)
Syntax error.
make: 1254-004 The error code from the last command is 1.
From the look of the include file, I gather it is unhappy with
G_INLINE_FUNC.
I searched the list archives for the error code "1506-277" without
success. A search for G_INLINE_FUNC seems to yield only really old hits.
On the principle of "well try the later version silly" I downloaded
2.8.6 sources. They seemed to configure OK (not that i'd really be able
to tell mind you), when I tried to compile them, that compile went
belly-up with an internal compiler error. Sigh.
# make
make all-recursive
Making all in .
Target "all-am" is up to date.
Making all in m4macros
Target "all" is up to date.
Making all in glib
make all-recursive
Making all in libcharset
Target "all" is up to date.
source='garray.c' object='garray.lo' libtool=yes
depfile='.deps/garray.Plo' tmpdepfile='.deps/garray.TPlo' depmode=aix
/bin/sh ../depcomp /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS
-DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -D_THREAD_SAFE -g -c -o
garray.lo `test -f 'garray.c' || echo './'`garray.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
-D_THREAD_SAFE -g -c -M garray.c -DPIC -o .libs/garray.o
cc: 1501-230 Internal compiler error; please contact your Service
Representative
make: 1254-004 The error code from the last command is 1.
So, I find myself looking for pointers - either on how to address the
G_INLINE_FUNC thing with Bull's precompiled bits, or if anyone has more
up-to-date rpms for AIX I suppose.
sincerely,
rick jones
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]