Home | History | Annotate | Download | only in netperf
      1 Pseudo-random things about netperf on AIX:
      2 
      3 While it _should_ not be necessary in the release bits, the rc bits
      4 for 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 
     13 The release bits should be OK without the above.  Depending on the
     14 name used to invoke the compiler, the -qmumble option may be implicit.
     15 
     16 AIX include files have a VERY unfortuneate set of #define's in them
     17 for phrases network oriented programs are QUITE likely to have in
     18 their source - "rem_addr" and "rem_size" A "cousin" of the Netperf
     19 Contributing Editor reports this interferes with --enable-dlpi
     20 compilation and that it was also a problem for MySQL compiltion.
     21 While we await IBM's APAR with bated breath, netperf has been kludged
     22 to workaround this bug in IBM's include files.  It has been reported
     23 that a "PMR" 34940,212,848 has been submitted to IBM in relation to
     24 this bug in their header files.
     25 
     26 Coutesy of Jan Krueger of TUI Infotec, Germany we have a pointer to
     27 a workaround for problems with compilation on AIX 6.1:
     28 
     29 https://www-304.ibm.com/support/docview.wss?uid=isg1IV01736
     30 
     31 when you get errors like:
     32 config.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
     34 In 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