From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Rudd Newsgroups: gmane.os.tru64.managers Subject: Summary SQL RELAY Date: Sun, 12 Sep 2004 11:26:11 +1000 Organization: University Of Sydney (ITS) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200409121126.16843.G.Rudd@isu.usyd.edu.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094952597 16065 80.91.229.6 (12 Sep 2004 01:29:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Sep 2004 01:29:57 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Sep 12 03:29:42 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1C6JBW-0002sx-00 for ; Sun, 12 Sep 2004 03:29:42 +0200 Original-Received: (qmail 25179 invoked by uid 5); 12 Sep 2004 01:29:04 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25164 invoked by uid 49501); 12 Sep 2004 01:29:04 -0000 Original-Received: from G.Rudd@isu.usyd.edu.au by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 0.677899 secs); 12 Sep 2004 01:29:04 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 12 Sep 2004 01:29:03 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I3W002ANMSEYS@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Sat, 11 Sep 2004 21:29:02 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I3W00902MRJAD@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Sat, 11 Sep 2004 21:28:32 -0400 (EDT) Original-Received: from lhasa.ucc.usyd.edu.au (lhasa.ucc.usyd.edu.au [129.78.208.3]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I3W0077QMRIQZ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Sat, 11 Sep 2004 21:28:31 -0400 (EDT) Original-Received: from lhasa.ucc.usyd.edu.au (localhost.ucc.usyd.edu.au [127.0.0.1]) by lhasa-postfilter.ucc.usyd.edu.au (Postfix) with ESMTP id 4A59C334553 for ; Sun, 12 Sep 2004 11:28:28 +1000 (EST) Original-Received: from esu-5.ucc.usyd.edu.au (esu-5.ucc.usyd.edu.au [129.78.65.8]) by lhasa.ucc.usyd.edu.au (Postfix) with ESMTP id 306A533454D for ; Sun, 12 Sep 2004 11:28:28 +1000 (EST) Original-To: Tru64-UNIX-Managers@ornl.gov Content-Disposition: inline User-Agent: KMail/1.6.2 Xref: main.gmane.org gmane.os.tru64.managers:7552 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7552 =2D----BEGIN PGP SIGNED MESSAGE----- The solution to this was to add the envronment varible LIBS=3D"-lm" and=20 everthing went ok. =2D -- Original -- Hi all Has anyone on this list compiled and installed sqlrelay on either 4.0x or=20 5.1x? As I seem to be getting a compile error as follows=20 gmake[2]: Entering directory `/home/sysadmin/greg/sqlrelay-0.34.3/src/start' /bin/sh ../../libtool --mode=3Dcompile cxx -arch host -DHAVE_STATVFS=20 =2D - -DAES_SOURCE -D__STDC__ -arch host -ieee -I./ -I../../ -I../../src/c= ommon=20 =2D - -I../../src/util -I/usr/local/firstworks/include -DPS=3D\"ps\ aux\" -= c main.C=20 =2D - -o main.lo cxx -arch host -DHAVE_STATVFS -DAES_SOURCE -D__STDC__ -arch host -ieee -I.= /=20 =2D - -I../../ -I../../src/common -I../../src/util -I/usr/local/firstworks/= include=20 "-DPS=3D\"ps aux\"" -c main.C -DPIC cxx: Error: main.C, line 135: identifier "ceil" is undefined startup=3D(int)ceil( =2D - -------------------------------------^ 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 inclu= de=20 directive to the math.h header file. But however I was able to compile this= =20 OK on a freebsd machine using gcc without any problem which is what has got= =20 me stumped. From checking the both the rudiments and unixODBC source files= I=20 dont see this function being called anyware.=20 I was wondering is this another one of these open-source programs that like= s=20 the slopyness of gcc Thanks in advance =2D----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=3D=3D =3D1rUj =2D----END PGP SIGNATURE-----