parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Проблема при сборке на freebsd 5.3R

lola 23.12.2004 21:02

Имеем FreeBSD 5.3-RELEASE со следующими пакетами установленными из портов
autoconf-2.59_2
bison-1.75_2
boehm-gc-6.3
gdome2-0.8.1_2
gettext-0.13.1_1
glib-1.2.10_11
glib-2.4.8
gmake-3.80_2
gnu-autoconf-2.59
gnu-automake-1.8.5
help2man-1.34.2
libiconv-1.9.2_1
libtool-1.3.5_2
libtool-1.5.10
libxml2-2.6.16
libxslt-1.1.12
m4-1.4.1
p5-gettext-1.03
perl-5.8.5
pkgconfig-0.15.0_1
w3m-0.5.1
Парсер взят из портов с тегом release_3_1_3

Опции configure:
./configure --with-static-gc=/usr/local/lib/ --disable-threads --silent --disable-safe-mode
при попытке сборки gmake вываливается со следующим сообщением:
In file included from ../../src/include/pa_request.h:17,
                 from compile_tools.h:16,
                 from compile.y:32:
../../src/include/pa_stack.h: In member function `void Stack<T>::push(T)':
../../src/include/pa_stack.h:23: error: there are no arguments to `count' that depend on a template parameter, so a declaration of `count' must be available
../../src/include/pa_stack.h:23: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../src/include/pa_stack.h: In member function `T Stack<T>::pop()':
../../src/include/pa_stack.h:31: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../src/include/pa_stack.h: In member function `T Stack<T>::top_value()':
../../src/include/pa_stack.h:39: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../src/include/pa_stack.h: In member function `void Stack<T>::wipe_unused()':
../../src/include/pa_stack.h:44: error: `fused' undeclared (first use this function)
../../src/include/pa_stack.h:44: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../src/include/pa_stack.h:45: error: `felements' undeclared (first use this function)
gmake[2]: *** [compile.tab.o] Ошибка 1
gmake[2]: Leaving directory `/usr/parser3/parser3/src/main'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory `/usr/parser3/parser3/src'
gmake: *** [all-recursive] Ошибка 1
В чём вилы?

Спасибо.