glib and 5.3?
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Tue, 04 Apr 2006 18:27:15 GMT
I'm trying to port netperf4:
http://www.netperf.org/svn/netperf4/branches/glib_migration
to AIX. I happen to have access to a system running 5.3 with:
# what `which cc`
/usr/vac/bin/cc:
61 1.14 src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos510 7/11/00 12:04:14
IBM XL C/C++ Enterprise Edition V7.0
5724-I11
Licensed Materials - Property of IBM
IBM XL C/C++ Enterprise Edition V7.0
5724-I11
(C) Copyright IBM Corp. 1990, 2004, and by others. All Rights Reserved.
IBM is a trademark or registered trademark of International Business Machines Corp. in the U.S.,
other countries or both.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
Version: 07.00.0000.0000
Level: 040805, 2004/08/05 18:40:13
I have downloaded and installed a number of RPMs from the Bull
freeware site for GNOME 2.12 to satisfy netperf4's dependency on
libxml2 and glib-2.0:
# 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
(There are some in the list that were already installed and not part
of the dependency chain started by netperf4) and then configured
netperf4 and tried to build it but the compiler became rather unhappy:
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.
which seems to correspond to some issue with "G_INLINE_FUNC" I'm not
sure if the "problem" is in the glib bits, or in the compiler -
perhaps I'm using too old a compiler? I've heard that one has to be
cognizant of the name by which one invokes the compiler?
Any gentle taps with a nerf cluebat would be most welcome,
rick jones
--
The computing industry isn't as much a game of "Follow The Leader" as
it is one of "Ring Around the Rosy" or perhaps "Duck Duck Goose."
- Rick Jones
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- Follow-Ups:
- Re: glib and 5.3?
- From: Dave
- Re: glib and 5.3?
- Prev by Date: Re: cancelled print job messages on user screens
- Next by Date: Re: glib and 5.3?
- Previous by thread: cancelled print job messages on user screens
- Next by thread: Re: glib and 5.3?
- Index(es):
Relevant Pages
|