SQLRelay

From: Greg Rudd (G.Rudd_at_isu.usyd.edu.au)
Date: 07/22/04

  • Next message: Bhanu, Yogesh: "Not direct Tru64 .. Opteron and MA8000"
    Date: Thu, 22 Jul 2004 23:34:25 +1000
    To: tru64-unix-managers@ornl.gov
    
    

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


  • Next message: Bhanu, Yogesh: "Not direct Tru64 .. Opteron and MA8000"

    Relevant Pages

    • Re: C++ and Motif - Help Compiling Code
      ... Hiroyuki Tanaka wrote: ... > When I try to compile the code I get the following error message. ... > I am using Open VMS 6.2 and cxx compiler. ... > void callback (Widget w, XtPointer clientdata, XtPointer calldata) ...
      (comp.os.vms)
    • CXX tru64
      ... I try to compile this code on a True64 Compaq using CXX compiler and get ... I've tried waddstr, addstr but it gave me the same error. ...
      (comp.unix.programmer)
    • Summary SQL RELAY
      ... As I seem to be getting a compile error as follows ... cxx: Info: 1 error detected in the compilation of "main.C". ... OK on a freebsd machine using gcc without any problem which is what has got ... From checking the both the rudiments and unixODBC source files I ...
      (Tru64-UNIX-Managers)
    • Re: C++ IDE
      ... Use Man Gcc to get information on how to use gcc, ... just be able to do gcc -c filename.cpp and it will compile ... > Save your program with a recognized extension e.g. cxx, ... > some archaic reason). ...
      (linux.redhat)
    • Re: Compiles with gcc, not CC
      ... > workin, and just discovered that it must compile with CC. ... expand to gcc) but you are obviously trying to compile C++ code. ... use CXX instead. ...
      (comp.os.linux.development.apps)