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