Typo
[linux_from_scratch_hints.git] / OLD / mc.txt
blobc78ac6d678356be7f7a5a3f45a8961ed52e70a55
1 TITLE:          Midnight Commander
2 LFS VERSION:    any
3 AUTHOR:         Lee Harris <mr.1ee@ntlworld.com>
5 SYNOPSIS:
6         The release version (4.1.36) of Midnight Commander (mc) fails to compile giving an error : mountlist.c:105: parse error before `__extension__'
8 HINT:
9 The beta versions of mc are supposed to have fixed this but the link on the 
10 official download page has been broken every time I've checked.
12 http://canvas.gnome.org:65348/mc/download.html
14 Update
15 You can find the beta's here (thanks to Andreas Huebner for pointing this out) 
16 ftp.gnome.org/pub/GNOME/stable/sources/mc
18 I'll still leave the instructions on compiling version 4.1.36 though it looks 
19 as if all development has stopped on the 4.1.xx line and it would probably be 
20 better to consider using the beta's.
22 The way i fixed the release version was simply to comment out the
23 offending line.
25 In mountlist.c find 
27 char *strstr (const char *haystack, const char *needle);
29 and comment it out ie :
31 /*char *strstr (const char *haystack, const char *needle);*/
33 The function strstr is already exists in the string library I've since 
34 discovered
36 mc should compile ok now.