[maildropl] macro names must be identifiers | error: `EINVAL' undeclared
Brought to you by:
mrsam
|
From: Alexander S. <li...@al...> - 2005-11-27 14:29:53
|
Hi!
As I've now been able to run configure, I tried to compile
maildrop 2.0.1. Compilation fails with this:
/bin/sh ./libtool --quiet --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -pipe -fomit-frame-pointer -march=4kc
-msplit-addresses -mno-stats -Os -Wall -c -o rfc2047u.lo rfc2047u.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from rfc2047u.c:11:
/usr/include/asm/errno.h:7:12: macro names must be identifiers
rfc2047u.c: In function `save_unicode':
rfc2047u.c:72: error: `EINVAL' undeclared (first use in this function)
rfc2047u.c:72: error: (Each undeclared identifier is reported only once
rfc2047u.c:72: error: for each function it appears in.)
make[2]: *** [rfc2047u.lo] Error 1
make[2]: Leaving directory `/mnt/hda/share/Linkstation/Pakete/Sources/maildrop-2.0.1/maildrop-2.0.1/rfc822'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/hda/share/Linkstation/Pakete/Sources/maildrop-2.0.1/maildrop-2.0.1/rfc822'
make: *** [all-recursive] Error 1
askwar@HD:~/src/maildrop-2.0.1/maildrop-2.0.1$ uname -a
Linux HD 2.4.20_mipsel_linkstation #88 2005\u01ef 2\uffff\uffff 25\uffff\uffff \uffff\uffff\uffff\uffff\uffff\uffff 20:17:00 JST mips GNU/Linux
askwar@HD:~/src/maildrop-2.0.1/maildrop-2.0.1$ grep EINVAL /usr/include/asm/errno.h
#define EINVAL 22 /* Invalid argument */
askwar@HD:~/src/maildrop-2.0.1/maildrop-2.0.1$ head -n 7 /usr/include/asm/errno.h | tail -n 1
*/
Thanks,
Alexander Skwar
|