Build error with IRRToolSet

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


Thus wrote Manh Do (mdo at

> 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
> 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  -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
> note: candidates are: yy_buffer_state* object_log_scan_bytes(const char*, yy_size_t)
> 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?

spz at (S.P.Zeidler)

More information about the irrtoolset mailing list