parser

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

 

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

Проблема с компиляцией! на Debian не хочет компилицца...

MrZagor 17.11.2004 11:50

отконфигурировал, вроде все ок, все без ошибок... а при мейке вот такие проблемы... ничего не понимаю.... ПОМОГИТЕ!!
ОС Debian из последних. Поможите!!!! 3 дня уже мучаюсь.
parser-3.1.3# make
Making all in src
make[1]: Entering directory `/root/parser-3.1.3/src'
Making all in include
make[2]: Entering directory `/root/parser-3.1.3/src/include'
make all-am
make[3]: Entering directory `/root/parser-3.1.3/src/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/parser-3.1.3/src/include'
make[2]: Leaving directory `/root/parser-3.1.3/src/include'
Making all in main
make[2]: Entering directory `/root/parser-3.1.3/src/main'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../
sql -I../lib/pcre -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl
-g -O2 -MT compile.tab.o -MD -MP -MF ".deps/compile.tab.Tpo" \
-c -o compile.tab.o `test -f 'compile.tab.C' || echo './'`compile.tab.C; \
then mv ".deps/compile.tab.Tpo" ".deps/compile.tab.Po"; \
else rm -f ".deps/compile.tab.Tpo"; exit 1; \
fi
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 d
epend 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 acc
ept 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 dep
end 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 dep
end 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 funct
ion)
../../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 f
unction)
make[2]: *** [compile.tab.o] Error 1
make[2]: Leaving directory `/root/parser-3.1.3/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/parser-3.1.3/src'
make: *** [all-recursive] Error 1
kontur:~/parser-3.1.3# make
Making all in src
make[1]: Entering directory `/root/parser-3.1.3/src'
Making all in include
make[2]: Entering directory `/root/parser-3.1.3/src/include'
make all-am
make[3]: Entering directory `/root/parser-3.1.3/src/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/parser-3.1.3/src/include'
make[2]: Leaving directory `/root/parser-3.1.3/src/include'
Making all in main
make[2]: Entering directory `/root/parser-3.1.3/src/main'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/pcre -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT compile.tab.o -MD -MP -MF ".deps/compile.tab.Tpo" \
-c -o compile.tab.o `test -f 'compile.tab.C' || echo './'`compile.tab.C; \
then mv ".deps/compile.tab.Tpo" ".deps/compile.tab.Po"; \
else rm -f ".deps/compile.tab.Tpo"; exit 1; \
fi
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)
make[2]: *** [compile.tab.o] Error 1
make[2]: Leaving directory `/root/parser-3.1.3/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/parser-3.1.3/src'
make: *** [all-recursive] Error 1