Compiled mc on OS-X (Jaguar)
Wim Rijnders
wimrijnders at home.nl
Mon Nov 11 00:52:20 UTC 2002
Hi all,
I'm happy to say that I managed to compile Midnight Commander version
4.6.0-pre1 on OS-X version 10.2, aka Jaguar. I needed to make two minor
changes to the code, namely:
file src/regex.c, line 302:
The line contains the following:
typedef unsigned long int uintptr_t;
I got an error that uintptr_t has already been defined.
For the time being commented out this line.
file vfs/vfs.c: line 458
Got an error on line 460 along the lines of: 'Error 4 parameters given
when 5 expected'.
Resolved this by adding a semicolon as last parameter in line 458:
MC_OP (name, inarg, callarg, if (handle == -1) return -1; vfs = vfs_op
(handle);, ;)
After these changes mc compiled fine and works acceptably (except for
mouse usage, which I couldn't be bothered with).
I would be grateful if these two problems were resolved in the code.
I'm not sure how to do this in an clean manner, perhaps you folks know
the right way?
Kind regards,
Wim Rijnders
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 999 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20021111/2e96ddf6/attachment.bin>
More information about the mc-devel
mailing list