bug report for inn-current (authprogs/smbval)
dsf at gblx.net
Mon Jan 8 15:03:35 UTC 2001
The build of inn-current (20010103) fails on AIX 4.3.3 machines here:
cc -g -I../include -I../../include -c smblib.c
"std-defines.h", line 8.2: 1506-342 (W) "/*" detected in comment.
"/usr/include/sys/types.h", line 455.25: 1506-245 (S) Incompatible sign adjective "unsigned".
make: 1254-004 The error code from the last command is 1.
The workaround? Comment out this line in smblib.c and smbencrypt.c:
#define uchar unsigned char
Why did it fail? Because it's already typedef'd in /usr/include/sys/types.h.
# grep uchar /usr/include/sys/types.h
typedef unsigned char uchar_t;
typedef uchar_t uchar;
I'm not sure how to best suggest how to make this definition more
portable amongst various OSes, so thought I'd bring it up because AIX
tools (IBM's C compiler) sure don't like it ;)
If you got this twice, my apologies. I'm not sure my first post went out;
I may have used incorrect posting address for that.
More information about the inn-workers