Summary SQL RELAY

From: Greg Rudd <G.Rudd_at_isu.usyd.edu.au>
Date: Sun, 12 Sep 2004 11:26:11 +1000

-----BEGIN PGP SIGNED MESSAGE-----

The solution to this was to add the envronment varible LIBS="-lm" and
everthing went ok.

- -- Original --


 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

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

iQEVAwUBQUOls6VYGvwczkMvAQG8Lgf/Vo8AFsuqdF3YMCgmiSB6S+93+uGX5LB0
HpNGP6xrdSTqPbcb3gBafg4BjDWpUFz06kSAD8kwO8ZYhIH0dQWUlRYhGT6Z+DVA
sQxT9NNmNP4z+cN+yGyoXZ8zEyFtulN0TZf/mCQnx5c/eY9BhtNn0Byv6d5Euxbu
Mj2144nuWZCoAKNzoiEWQnM4E+zQe4Tdx+jLKiX0Bo/SJp4DhfDAktefGaa+Sgsg
sEgKMWC0isIQxHLvLTsjQKmzZrPkfeuZ8VlKycQW/YMEpxuTpzw8LT0p8MyJVnVk
xHyjrgBn0L9x6L8yNPHEdobVCgRMLACis6XU4ckPLfJLNKEcTZAm5w==
=1rUj
-----END PGP SIGNATURE-----
Received on Sun Sep 12 2004 - 01:30:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT