Ответ
crypto 31.08.2005 19:35
Как совсем статик собрать? дайте How To.
Вот результат сборки на хосте провайдера:
cryptah_ftp1@cgi9:~/tmp/parser3$ make
Making all in src
make[1]: Entering directory `/home/clients/cryptah_ftp1/tmp/parser3/src'
Making all in include
make[2]: Entering directory `/home/clients/cryptah_ftp1/tmp/parser3/src/include'
make all-am
make[3]: Entering directory `/home/clients/cryptah_ftp1/tmp/parser3/src/include'
make[3]: Leaving directory `/home/clients/cryptah_ftp1/tmp/parser3/src/include'
make[2]: Leaving directory `/home/clients/cryptah_ftp1/tmp/parser3/src/include'
Making all in main
make[2]: Entering directory `/home/clients/cryptah_ftp1/tmp/parser3/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
../../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/clients/cryptah_ftp1/tmp/parser3/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/clients/cryptah_ftp1/tmp/parser3/src'
make: *** [all-recursive] Error 1