Antioch - 2005-04-14

Hi, I'm trying to compile plptools on FreeBSD 5.2.1 by using NetBSD's pkgsrc. I'm using system's default gcc 3.3.3. I get the following errors:

Making all in lib
gmake[1]: Entering directory `/usr/pkg/pkgsrc/comms/plptools/work/plptools-0.12/lib'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl  -I/u
sr/pkg/include -I/usr/include  -D_REENTRANT -O2 -O2 -I/usr/pkg/include -I/usr/include -fno
-exceptions -fno-check-new -c
c++ -DHAVE_CONFIG_H -I. -I../include -I../intl -I/usr/pkg/pkgsrc/comms/plptools/work/.bui
ldlink/include -D_REENTRANT -O2 -O2 -fno-exceptions -fno-check-new -c  -fPIC -D
PIC -o .libs/psitime.o In function `std::ostream& operator<<(std::ostream&, const
   PsiTime&)': error: invalid conversion from `const long int*' to `const
   time_t*' In function `long long unsigned int evalOffset(psi_timezone_t, int,
   bool)': error: invalid conversion from `char*(*)(int, int)' to `long
   long int' error: invalid operands of types `s_int64_t' and `char*()(int,
   int)' to binary `operator-' error:   in evaluation of `operator-=(s_int64_t, char*()(int,
gmake[1]: *** [psitime.lo] Error 1
gmake[1]: Leaving directory `/usr/pkg/pkgsrc/comms/plptools/work/plptools-0.12/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2

Any help would be greatly appreciated.