[EMAIL PROTECTED] wrote: >cc -c -I../. -g -I. metamail.c >In file included from metamail.c:47: >/usr/include/signal.h:117: parse error before `-' >/usr/include/signal.h:117: parse error before `int' >make[1]: *** [metamail.o] Error 1 >make[1]: Leaving directory >`/home/potato/dist/home/mike/debian/metamail-2.7/metamail' >make: *** [basics] Error 2 > >I would have fixed that when a '-' would have been in line 117 of signal.h, >but there is none. Any suggestions?
Try 'cc -E -I.. metamail.c' to look at what the preprocessor outputs: extern int kill(-( __pid_t __pgrp ), ( int __sig )) ; 'cc -E -dD -I.. metamail.c' (show macro definitions) has the illuminating line in ../config.h: #define killpg(a, b) kill(-(a), (b)) ... which triggers on a definition, not just on a call. D'oh. config.h seems to think Linux is SysV (well, it sort of is ...), and redefines loads of stuff Linux already has. Getting rid of that causes more problems, though (starting with parameter types to signal() being wrong); let us know how far you get. -- Colin Watson [EMAIL PROTECTED]

