Problems compiling MH on hamm system
Hello Debian team,
I'm having some trouble compiling the mh_6.8.4-14 source package on my hamm
system. After extracting the source using dpkg-source, and configuring
as described in the mh_6.8.4/READ-ME file, I get the following when doing
the make:
leisure# make
for d in config sbr mts zotnet uip support doc; do (cd $d; make DESTDIR= -k all); done
make[1]: Entering directory `/usr/src/mh-6.8.4/config'
gcc -DATHENA -DBIND -DDUMB -DMHE -DMHRC -DMIME -DMORE='"/bin/more"' -DOVERHEAD -DPOPSERVICE='"pop-3"' -DRENAME -DRPATHS -DSOCKETS -DSVR4 -DSYS5 -DSYS5DIR -DTERMINFO -DUNISTD -DVSPRINTF -DMAILGROUP -DSENDMTS -DSMTP -DPOP -DSPRINTFTYPE=int -DTYPESIG=void -traditional -O2 -D_NFILE='getdtablesize()' -DSIGEMT=SIGUSR1 -c config.c -o config.o
In file included from /usr/include/stdio.h:29,
from /usr/include/pwd.h:50,
from config.c:12:
/usr/include/libio.h:72: warning: `const' redefined
/usr/include/sys/cdefs.h:81: warning: this is the location of the previous definition
In file included from ../h/../h/strings.h:31,
from ../h/mh.h:331,
from config.c:10:
/usr/include/string.h:38: warning: conflicting types for built-in function `memcpy'
/usr/include/string.h:60: warning: conflicting types for built-in function `memcmp'
In file included from /usr/include/stdlib.h:210,
from ../h/../h/strings.h:32,
from ../h/mh.h:331,
from config.c:10:
/usr/include/sys/types.h:103: parse error before `#'
/usr/include/sys/types.h:104: parse error before `#'
/usr/include/sys/types.h:105: parse error before `#'
/usr/include/sys/types.h:106: parse error before `#'
/usr/include/sys/types.h:107: parse error before `#'
/usr/include/sys/types.h:108: parse error before `#'
/usr/include/sys/types.h:109: parse error before `#'
/usr/include/sys/types.h:110: parse error before `#'
In file included from ../h/../h/strings.h:32,
from ../h/mh.h:331,
from config.c:10:
/usr/include/stdlib.h:217: parse error before `__random'
/usr/include/stdlib.h:218: parse error before `random'
/usr/include/stdlib.h:246: parse error before `int32_t'
/usr/include/stdlib.h:246: warning: no semicolon at end of struct or union
/usr/include/stdlib.h:248: parse error before `*'
/usr/include/stdlib.h:252: parse error before `*'
/usr/include/stdlib.h:253: parse error before `}'
/usr/include/stdlib.h:255: parse error before `int32_t'
/usr/include/stdlib.h:256: parse error before `int32_t'
In file included from /usr/include/stdlib.h:360,
from ../h/../h/strings.h:32,
from ../h/mh.h:331,
from config.c:10:
/usr/include/alloca.h:35: warning: conflicting types for built-in function `alloca'
make[1]: *** [config.o] Error 1
...and so on...
The problem seems to be with the following code in /usr/include/sys/types.h:
/* For GCC 2.7 and later, we can use specific type-size attributes. */
#define __intN_t(N, MODE) \
typedef int int##N##_t __attribute__ ((__mode__ (MODE)))
#define __u_intN_t(N, MODE) \
typedef unsigned int u_int##N##_t __attribute__ ((__mode__ (MODE)))
__intN_t (8, __QI__);
I'm not sure what the problem is. Can anyone help?
Thanks.
--ken
__
Ken Lauffenburger / / __ __
ken@efficient.com / / D e b i a n G N U \ \/ /
/ / __ ____ __ __ \ /
/ / / / / _ \ / / / / / \
...Look out Bill, / /___ / / / / ) // (_/ / / /\ \
here comes... (______)(_/ (_/ (_/ \____/ (_/ \_)
________http://www.debian.org________
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble?
e-mail to templin@bucknell.edu .
Reply to: