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: 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 psitime.cc
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 psitime.cc -fPIC -D
PIC -o .libs/psitime.o
psitime.cc: In function `std::ostream& operator<<(std::ostream&, const
psitime.cc:183: error: invalid conversion from `const long int*' to `const
psitime.cc: In function `long long unsigned int evalOffset(psi_timezone_t, int,
psitime.cc:224: error: invalid conversion from `char*(*)(int, int)' to `long
psitime.cc:233: error: invalid operands of types `s_int64_t' and `char*()(int,
int)' to binary `operator-'
psitime.cc:233: error: in evaluation of `operator-=(s_int64_t, char*()(int,
gmake: *** [psitime.lo] Error 1
gmake: 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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.