Build of devel/motor fails... c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kkstrtext -I../../kkconsui/include -I../../kksystr/include -I../../intl -I../../src/ui/ncurses -I../../src/debugger -I../../src/executor -I../../src/project -I../../src -I../../parser/include -I../../src/ui -I../../src/configuration -I../../src/tagbrowser -I/misc/local/include -O -pipe -g -march=pentiumpro -fmemoize-lookups -fsave-memoized -c watch.cc c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kkstrtext -I../../kkconsui/include -I../../kksystr/include -I../../intl -I../../src/ui/ncurses -I../../src/debugger -I../../src/executor -I../../src/project -I../../src -I../../parser/include -I../../src/ui -I../../src/configuration -I../../src/tagbrowser -I/misc/local/include -O -pipe -g -march=pentiumpro -fmemoize-lookups -fsave-memoized -c motordebugger.cc motordebugger.cc: In method `bool motor::motordebugger::getfreeterm()': motordebugger.cc:84: `auto_ptr' undeclared (first use this function) motordebugger.cc:84: (Each undeclared identifier is reported only once motordebugger.cc:84: for each function it appears in.) motordebugger.cc:84: syntax error before `>' motordebugger.cc:85: `rlbuf' undeclared (first use this function) gmake[3]: *** [motordebugger.o] Error 1 gmake[3]: Leaving directory `/work/ports/misc/ports/devel/motor/work/motor-3.3.0/src/debugger' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/work/ports/misc/ports/devel/motor/work/motor-3.3.0/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/work/ports/misc/ports/devel/motor/work/motor-3.3.0' gmake: *** [all-recursive-am] Error 2 *** Error code 2 How-To-Repeat: cd $PORTSDIR/devel/motor && make build
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer.
auto_ptr<> is declared in the C++ stl header 'memory'. Adding #include <memory> to motor-3.3.0/src/debugger/motordebugger.cc - after the failure occurs and the sources are unpacked - allows the compilation to proceed, and finish. (FreeBSD 4.10-STABLE #3)
State Changed From-To: open->closed Patch committed, thanks!