lsof 4.74 fails to compile on AIX 5.3 ( 64 bit )
From: Amit Singh (amitmittu_at_gmail.com)
Date: 22 Feb 2005 23:27:16 -0800
I downloaded lsof 4.74 from
and tried to compile it on AIX 5.3 ( 64 bit ) machine but it failed
with some compilation errors.
The configuration claims that lsof 4.74 has been tested for AIX 5.3.
# ./Configure -d
lsof 4.74 has been *tested* on these UNIX dialect versions:
Apple Darwin 6.x and 7.x for Power Macintosh systems
BSDI BSD/OS 4.3.1 for x86-based systems
DEC OSF/1, Digital UNIX, Tru64 UNIX 4.0, and 5.1
FreeBSD 4.[2-9], 4.1, 5. and 6.0 for x86-based systems
FreeBSD 5. and 6.0 for Alpha, AMD64 and Sparc64 based
HP-UX 11.00 and 11.11
Linux 2.1.72 and above for x86-based systems
NetBSD 1. and 2.x for Alpha, x86, and SPARC-based systems
NEXTSTEP 3. for NEXTSTEP architectures
OpenBSD 2. and 3. for x86-based systems
Caldera OpenUNIX 8
SCO OpenServer Release 5.0.6 for x86-based systems
SCO|Caldera UnixWare 7.1.4 for x86-based systems
Solaris 2.6, 8, 9 and 10
Although 4.74 hasn't been tested on other versions of these dialects,
it may work. Try `Configure <dialect>` and `make` to see.
# ./Configure aixgcc
The configuration succeeded smoothly.
In file included from /usr/include/procinfo.h:49,
/usr/include/sys/user.h:385: parse error before `uinfo_t'
/usr/include/sys/user.h:385: warning: no semicolon at end of struct or
/usr/include/sys/user.h:386: warning: data definition has no type or
/usr/include/sys/user.h:559: parse error before `}'
/usr/include/sys/user.h:640: field `ub_user' has incomplete type
/usr/include/sys/user.h:641: sizeof applied to an incomplete type
make: 1254-004 The error code from the last command is 1.
make: 1254-004 The error code from the last command is 2.
Could anyone tell the reason for the failure of make and the above