SQLRelay

From: Greg Rudd (G.Rudd@isu.usyd.edu.au)
Date: Thu Jul 22 2004 - 09:34:25 EDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

Has anyone on this list compiled and installed sqlrelay on either 4.0x or
5.1x? As I seem to be getting a compile error as follows

gmake[2]: Entering directory `/home/sysadmin/greg/sqlrelay-0.34.3/src/start'
/bin/sh ../../libtool --mode=compile cxx -arch host -DHAVE_STATVFS
- -DAES_SOURCE -D__STDC__ -arch host -ieee -I./ -I../../ -I../../src/common
- -I../../src/util -I/usr/local/firstworks/include -DPS=\"ps\ aux\" -c main.C
- -o main.lo
 cxx -arch host -DHAVE_STATVFS -DAES_SOURCE -D__STDC__ -arch host -ieee -I./
- -I../../ -I../../src/common -I../../src/util -I/usr/local/firstworks/include
"-DPS=\"ps aux\"" -c main.C -DPIC
cxx: Error: main.C, line 135: identifier "ceil" is undefined
                        startup=(int)ceil(
- -------------------------------------^
cxx: Info: 1 error detected in the compilation of "main.C".
gmake[2]: *** [main.lo] Error 1
gmake[2]: Leaving directory `/home/sysadmin/greg/sqlrelay-0.34.3/src/start'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/sysadmin/greg/sqlrelay-0.34.3/src'
gmake: *** [all] Error 2

Normally when see this, you would think that someone has left out the include
directive to the math.h header file. But however I was able to compile this
OK on a freebsd machine using gcc without any problem which is what has got
me stumped. From checking the both the rudiments and unixODBC source files I
dont see this function being called anyware.

I was wondering is this another one of these open-source programs that likes
the slopyness of gcc

Thanks in advance

INFO
 cxx -V
Compaq C++ V6.5-014 for Digital UNIX V4.0G (Rev. 1530)
Compiler Driver V6.5-014 (cxx) cxx Driver

CXXFLAGS
- -arch host -DAES_SOURCE -D__STDC__ -D_THREAD_SAFE

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBQP/CZh/3A16ctHaPEQJzvwCgo3fmNXB8A1cmyfUPvNrOuiX0GLUAnR0Z
ezL1eJW1+Q9zuI62MhdD3vCT
=Wjqs
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:05 EDT