On Tue, Apr 27, 2004 at 05:27:21PM -0400, Nathan J. Mehl wrote:
> Huh, weird, looks like the message got et.
>
> Anyway:
>
> Making all in src
> gmake[2]: Entering directory `/local/src/bincimap-1.2.7final/src'
> source='io.cc' object='io.o' libtool=no \
> depfile='.deps/io.Po' tmpdepfile='.deps/io.TPo' \
> depmode=gcc /bin/bash ../depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -fno-exceptions -O2
> -I. -c -o io.o `test -f 'io.cc' || echo './'`io.cc
> In file included from io.cc:40:
> session.h:109: syntax error before `('
> session.h:150: syntax error before `;'
> gmake[2]: *** [io.o] Error 1
> gmake[2]: Leaving directory `/local/src/bincimap-1.2.7final/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/local/src/bincimap-1.2.7final'
> gmake: *** [all] Error 2
I got the same error on FreeBSD 4.9 (but not on FreeBSD 5.2.1). The solution
was to add:
#include <sys/types.h>
to src/session.h
Chris