parser

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

 

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

Ошибка компиляции parser 3.1.3 на linux 2.2.16

Anti 09.09.2004 12:48 / 09.09.2004 12:50

linux 2.2.16 (Slakware 6.1)

Нужна перекомпиляция из-за:
parser3: /lib/libc.so.6: version `GLIBC_2.2.4' not found (required by parser3)
parser3: /lib/libc.so.6: version `GLIBC_2.2' not found (required by parser3)

Скачал src parser-3.1.3.tar.gz
Скачал src gc6.1.tar.gz

cd libgc-x.x
./configure --prefix=$HOME/gc --disable-threads --silent
make install

cd ..

mkdir $HOME/parser3project
cd $HOME/parser3project
gunzip -c parser-3.1.3.tar.gz | tar xvf -
mv parser-3.1.3 parser3
cd parser3
./configure --prefix=$HOME/parser3 --with-static-gc=$HOME/gc/lib
make

bla bla bla
потом

source='math.C' object='math.o' libtool=no \
depfile='.deps/math.Po' tmpdepfile='.deps/math.TPo' \
depmode=gcc /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../sql -I../lib/gd -I../lib/pcre -I../lib/gc/include -I../lib/cord/include -I../lib/sdbm/apr-include -Igd -I../lib/md5 -I../lib/smtp -g -O2 -c -o math.o `test -f 'math.C' || echo './'`math.C
../types/pa_vdouble.h: In method `int VDouble::as_int() const':
In file included from ../types/pa_vstring.h:16,
from ../types/pa_wcontext.h:14,
from ../types/pa_vmethod_frame.h:13,
from math.C:13:
../types/pa_vdouble.h:43: warning: implicit declaration of function `int round(...)'
math.C: In function `double frac(double)':
math.C:179: warning: implicit declaration of function `int trunc(...)'
math.C: In function `void _round(class Request &, class MethodParams &)':
math.C:198: `round' undeclared (first use this function)
math.C:198: (Each undeclared identifier is reported only once
math.C:198: for each function it appears in.)
math.C: In function `void _trunc(class Request &, class MethodParams &)':
math.C:199: `trunc' undeclared (first use this function)
math.C: In function `void _sign(class Request &, class MethodParams &)':
math.C:200: `sign' undeclared (first use this function)
make[2]: *** [math.o] Error 1
make[2]: Leaving directory `/usr/local/www/apache/home/1/cvs/bin/parser3/src/classes'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/www/apache/home/1/cvs/bin/parser3/src'
make: *** [all-recursive] Error 1
bash-2.04$

Скачал из cvs текующую версию. То же самое.

Постоянно при компиляции появлялось
warning: implicit declaration of function `int round(...)'

Что делать?