building on AIX
Andrew V. Samoilov
andrew at email.zp.ua
Fri Nov 5 17:03:12 UTC 2004
Hello, Roland
> > While running configure I saw:
> > checking for socklen_t... no
>
> I have successfully built mc on AIX, and here is the patch I wrote for
> it. Please try if it works for you, too.
Well, this crutch breaks compilation on RedHat 7.3 and RHEL 3:
ftpfs.c:97: conflicting types for `socklen_t'
/usr/include/bits/socket.h:36: previous declaration of `socklen_t'
Attached crutch makes this error even ;-) and allow compilation for these distros.
But I am more than sure it breaks compilation for everything but Linux.
Can you test it?
Anyway think AC_CHECK_TYPE(socklen_t, int) is more common.
BTW, maybe it's not right to break compilation on some platforms due to AIX
warning fix?
--
Regards,
Andrew V. Samoilov.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.ac.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041105/bf061563/attachment.ksh>
More information about the mc-devel
mailing list