Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
BeaVe 14.09.2005 15:29 / 14.09.2005 15:32
Сделал то, что Вы сказали. Ситуация не изменилась.cd gc6.6 ./configure --disable-threads make install mkdir parser3project cd parser3project cvs -d :pserver:anonymous@cvs.parser.ru:/parser3project login cvs -d :pserver:anonymous@cvs.parser.ru:/parser3project get -r release_3_1_4 parser3 cd libxml2-2.6.21: ./configure --prefix=$HOME/gnome --without-zlib --without-iconv --without-threads --silent make install cd libxslt-1.1.15: ./configure --with-libxml-prefix=$HOME/gnome --prefix=$HOME/gnome --without-debug --without-debugger --silent make install cd glib-1.3.15: ./configure --prefix=$HOME/gnome make install cd gdome2-0.8.1: patch -p0 < $HOME/parser3project/parser3/src/lib/patches/gdome2.patch ./configure --with-glib-prefix=$HOME/gnome --disable-glibtest --with-libxml-prefix=$HOME/gnome --prefix=$HOME/gnome --silent make install mkdir $HOME/gnome/include/libgdome/gdomecore cp libgdome/gdomecore/gdome-xml-node.h $HOME/gnome/include/libgdome/gdomecore cp libgdome/gdomecore/gdome-xml-document.h $HOME/gnome/include/libgdome/gdomecore cd parser3project/parser3 ./configure --prefix=$HOME/parser3 --sysconfdir=$HOME/parser3 --localstatedir=$HOME/parser3 --with-shared-gc=/usr/local/lib --with-static-xml=$HOME/gnome --with-dynamic-stdcpp --with-mysql-client --disable-safe-mode makeИ получаю такое содержание ошибки:
-c -o compile.tab.o `test -f 'compile.tab.C' || echo './'`compile.tab.C; \ then mv -f ".deps/compile.tab.Tpo" ".deps/compile.tab.Po"; \ else rm -f ".deps/compile.tab.Tpo"; exit 1; \ fi ../../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' was not declared in this scope ../../src/include/pa_stack.h:45: error: 'felements' was not declared in this scope make[2]: *** [compile.tab.o] Error 1 make[2]: Leaving directory `/home/beave/parser3project/parser3/src/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/beave/parser3project/parser3/src' make: *** [all-recursive] Error 1P.S. Почему-то если я использую glib-2, то ошибка такая, а если glib-1, то предыдущая.