1Pseudo-random things about netperf on AIX: 2 3While it _should_ not be necessary in the release bits, the rc bits 4for netperf 2.4.0 required: 5 6 configure _may_ need: 7 8 CFLAGS="-qcpluscmt -lperfstat" 9 10 until such time as Rick Jones can figure-out or be told how to 11 automagically add those using the configure script (hint hint :) 12 13The release bits should be OK without the above. Depending on the 14name used to invoke the compiler, the -qmumble option may be implicit. 15 16AIX include files have a VERY unfortuneate set of #define's in them 17for phrases network oriented programs are QUITE likely to have in 18their source - "rem_addr" and "rem_size" A "cousin" of the Netperf 19Contributing Editor reports this interferes with --enable-dlpi 20compilation and that it was also a problem for MySQL compiltion. 21While we await IBM's APAR with bated breath, netperf has been kludged 22to workaround this bug in IBM's include files. It has been reported 23that a "PMR" 34940,212,848 has been submitted to IBM in relation to 24this bug in their header files. 25 26Coutesy of Jan Krueger of TUI Infotec, Germany we have a pointer to 27a workaround for problems with compilation on AIX 6.1: 28 29https://www-304.ibm.com/support/docview.wss?uid=isg1IV01736 30 31when you get errors like: 32config.status: creating src/netperf_version.h 33 gcc -DHAVE_CONFIG_H -I. -I.. -MT netlib.o -MD -MP -MF .deps/netlib.Tpo -c -o netlib.o netlib.c 34In file included from /usr/include/sys/corral.h:25, 35 from /usr/include/libperfstat.h:28, 36 from netlib.h:679, 37 from netlib.c:166: 38/usr/include/netinet/in6_var.h:65: error: array type has incomplete element type 39