[Coral-dev] Compilation problems

Mike Hunter mhunter@ack.Berkeley.EDU
Tue, 11 Mar 2003 09:50:02 -0800


Hi everybody,

I'm trying to test out coralreef, but I've run into problems compiling it:

...
Making in libsrc/ASFinder
/usr/local/bin/g++ -DHAS_BOOL -Wall -g -DPIC -fpic
-I/usr/libdata/perl/5.00503/mach/CORE -c ASFinder.cc
In file included from pat_func.h:48,
                 from ASFinder.cc:387:
Ipv4PrefixPatricia.hh:98: ISO C++ forbids declaration of `pair' with no type
Ipv4PrefixPatricia.hh:98: template-id `pair<const Ipv4Network, Type>' used
as a declarator
Ipv4PrefixPatricia.hh:98: parse error before `;' token
......

OS:
FreeBSD 4.7-STABLE FreeBSD 4.7-STABLE #7: Fri Nov 1 06:30:38 PST 2002 i386

GCC version:
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

Any suggestions?

Thanks,

Mike