[Mutt] #2983: mutt 1.5.17 fails to build on old Linux
#2983: mutt 1.5.17 fails to build on old Linux
{{{
Hello,
When building mutt 1.5.17 on an old Linux libc5 with gcc 2.7.2.1, there
are 2 failures:
| gcc -DPKGDATADIR=\"/usr/local/share/mutt\"
-DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\"
-DMUTTLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I.
-I./imap -Iintl -I./intl -Wall -pedantic -g -O2 -c lib.c
| lib.c: In function `safe_rename':
| lib.c:455: `ENOTSUP' undeclared (first use this function)
| lib.c:455: (Each undeclared identifier is reported only once
| lib.c:455: for each function it appears in.)
| make[2]: *** [lib.o] Error 1
| make[2]: Leaving directory `/tmp/mutt-1.5.17'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/tmp/mutt-1.5.17'
| make: *** [all] Error 2
And:
| gcc -DPKGDATADIR=\"/usr/local/share/mutt\"
-DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\"
-DMUTTLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I.
-I./imap -Iintl -I./intl -Wall -pedantic -g -O2 -c md5.c
| In file included from md5.c:27:
| md5.h:67: parse error before `md5_uint32'
This last error is because of not defined uint32_t. But it is defined in
<sys/types.h>, and is found by configure:
| checking for uint32_t... yes
Thankfully, Alain.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2983>