tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Greg Rudd <G.Rudd@isu.usyd.edu.au>
Cc: Didier Debuf <didier@mail.usyd.edu.au>
Subject: SQLRelay
Date: Thu, 22 Jul 2004 23:34:25 +1000	[thread overview]
Message-ID: <200407222334.39059.G.Rudd@isu.usyd.edu.au> (raw)

-----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-----


                 reply	other threads:[~2004-07-22 13:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox