Build error with IRRToolSet

S.P.Zeidler spz at serpens.de
Sat Dec 11 17:03:12 UTC 2010


Hi,

Thus wrote Manh Do (mdo at equinix.com):

> I tried to install the IRRToolSet 5.0.0 on an i386 machine running NetBSD 5.0.2 but ran into the following error during the make:
> 
> Making all in rpsl
> /bin/ksh ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src      -g -O2 -MT object_log.l.lo -MD -MP -MF .deps/object_log.l.Tpo -c -o object_log.l.lo object_log.l.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -g -O2 -MT object_log.l.lo -MD -MP -MF .deps/object_log.l.Tpo -c object_log.l.cc  -fPIC -DPIC -o .libs/object_log.l.o
> object_log.l: In function 'void objectLog(const Buffer&, List<Object>&)':
> object_log.l:39: error: call of overloaded 'object_log_scan_bytes(char* const&, const long unsigned int&)' is ambiguous
> object_log.l.cc:1385: note: candidates are: yy_buffer_state* object_log_scan_bytes(const char*, yy_size_t)
> object_log.l.cc:1419: note:                 yy_buffer_state* object_log_scan_bytes(const char*, int)
> *** Error code 1

You need bison and flex for irrtoolset5, yacc and lex won't do because
there are too many gnuisms in there.
Not to stop you from rolling your own, but you have seen that
pkgsrc/net/irrtoolset5 is available?

regards,
	spz
-- 
spz at serpens.de (S.P.Zeidler)



More information about the irrtoolset mailing list