For the first time I have to install procmail to Sun machine.
Does anyone have a clue what should I check. I've disabled all
other locking methods but .lock in the config.h. I have't touched
the default LDFLAGS yet.
I assume I'm missing some -D flag that sets up the includation of
header files correctly in Sun (I would know HP better) I tried adding
_INCLUDE_POSIX_SOURCE
to the
CFLAGS0 = -O -D_INCLUDE_POSIX_SOURCE #$(GCC_WARNINGS)
But it gave the same error.
jari
aalto:~/ftp/bin/procmail-3.11pre7 >uname -a
SunOS aalto 5.5.1 Generic sun4m sparc SUNW,SPARCstation-10
aalto:~/ftp/bin/procmail-3.11pre7 >gcc -v
Reading specs from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/specs
gcc version 2.7.2.1
make[2]: Entering directory `/home/guru/jaalto/ftp/bin/procmail-3.11pre7/src'
cc -c -O _autotst.c
In file included from _autotst.c:2:
../config.h:22: parse error before string constant
In file included from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/inc\
lude/sys/types.h:19,
from _autotst.c:3:
/usr/include/sys/machtypes.h:28: warning: data definition has no type or storag\
e class
make[2]: *** [_autotst.o] Error 1
make[2]: Leaving directory `/home/guru/jaalto/ftp/bin/procmail-3.11pre7/src'
*******************************************************
I suggest you take a look at the definition of LDFLAGS*
in the Makefile before you try make again.
make[1]: *** [../autoconf.h] Error 1
make[1]: Leaving directory `/home/guru/jaalto/ftp/bin/procmail-3.11pre7/src'
make: *** [autoconf.h] Error 2