Compilation errors on Red Hat
Posted: Sat Apr 23, 2005 8:38 am
OS: Red Hat 7.3, kernel 2.4.30 + patch-o-matic-ng-20050417 + kernel patch from the Openwall + ffmpeg-0.4.8
On to the problem:
cd zm-1.21.0
1. ./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache
Ok
2. # make
make all-recursive
make[1]: Entering directory `/opt/zm-1.21.0'
Making all in src
make[2]: Entering directory `/opt/zm-1.21.0/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/include -g -O2 -MT zm_z
one.o -MD -MP -MF ".deps/zm_zone.Tpo" -c -o zm_zone.o zm_zone.cpp; \
then mv -f ".deps/zm_zone.Tpo" ".deps/zm_zone.Po"; else rm -f ".deps/zm_zone.Tpo
"; exit 1; fi
In file included from zm_zone.h:25,
from zm_zone.cpp:22:
zm_box.h: In method `const Coord Box::Centre () const':
zm_box.h:60: `round' undeclared (first use this function)
zm_box.h:60: (Each undeclared identifier is reported only once for each
function it appears in.)
In file included from zm_zone.h:26,
from zm_zone.cpp:22:
zm_image.h: At top level:
zm_image.h:34: `double round (double)' used prior to declaration
make[2]: *** [zm_zone.o] Error 1
make[2]: Leaving directory `/opt/zm-1.21.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/zm-1.21.0'
make: *** [all] Error 2
Please tell me that I'm doing something embarassing.
On to the problem:
cd zm-1.21.0
1. ./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache
Ok
2. # make
make all-recursive
make[1]: Entering directory `/opt/zm-1.21.0'
Making all in src
make[2]: Entering directory `/opt/zm-1.21.0/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/include -g -O2 -MT zm_z
one.o -MD -MP -MF ".deps/zm_zone.Tpo" -c -o zm_zone.o zm_zone.cpp; \
then mv -f ".deps/zm_zone.Tpo" ".deps/zm_zone.Po"; else rm -f ".deps/zm_zone.Tpo
"; exit 1; fi
In file included from zm_zone.h:25,
from zm_zone.cpp:22:
zm_box.h: In method `const Coord Box::Centre () const':
zm_box.h:60: `round' undeclared (first use this function)
zm_box.h:60: (Each undeclared identifier is reported only once for each
function it appears in.)
In file included from zm_zone.h:26,
from zm_zone.cpp:22:
zm_image.h: At top level:
zm_image.h:34: `double round (double)' used prior to declaration
make[2]: *** [zm_zone.o] Error 1
make[2]: Leaving directory `/opt/zm-1.21.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/zm-1.21.0'
make: *** [all] Error 2
Please tell me that I'm doing something embarassing.