HP-UX and AIX buiild problems and patches

Alexander Varakin avarakin at hotmail.com
Sun Jan 26 04:03:39 UTC 2003


Hi,

I tried to build mc-4.6.0-pre3 on HP-UX and AIX and ran into some problems,
which I fixed, patches are attached.
I was using native c compilers  on both (xlc_r from Visual  Age 5.0 on AIX,
and  aCC 3.31 on HP-UX) , which are more picky than gcc, so some fixes were
required to make them happy.

There is one more problem on AIX : it looks like the configure script
doesn't detect properly type of mount API,  and instead of   MOUNTED_VMOUNT
it defines MOUNTED_GETMNTENT1,  and  because MOUNTED is not defined on AIX,
we are getting a compilation error. I fixed it in mount_list.c, but most
likely it must be fixed somewhere in configure script, but I didn't know how
to do this.


Regards,
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HP.patch
Type: application/octet-stream
Size: 740 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20030125/a6329c3d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AIX.patch
Type: application/octet-stream
Size: 2154 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20030125/a6329c3d/attachment-0001.obj>


More information about the mc-devel mailing list