Summary SQL RELAY

From: Greg Rudd (G.Rudd_at_isu.usyd.edu.au)
Date: 09/12/04

  • Next message: Work_at_Home ๗฿}๗฿}๗฿}๗฿}๗฿}๗฿}๗฿}๗฿}: "ธุรกิจที่สร้างรายได้ไร้ขีดจำกัด"
    Date: Sun, 12 Sep 2004 11:26:11 +1000
    To: Tru64-UNIX-Managers@ornl.gov
    
    

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


  • Next message: Work_at_Home ๗฿}๗฿}๗฿}๗฿}๗฿}๗฿}๗฿}๗฿}: "ธุรกิจที่สร้างรายได้ไร้ขีดจำกัด"

    Relevant Pages

    • Re: How do I install this missing library?
      ... you really should be carefully following LSTC's installation ... libg2c is part of gcc. ... to tell a newcomer to compile. ... like the source code to GNU tar, and make sure you understand what's ...
      (comp.os.linux.misc)
    • Re: HPGCC Questions ladies and gentlemen!!!
      ... No matter how you slice it in order to compile a C program you need to know ... it took a few hours just to get gcc running in my computer ... of the students that used an ide in the c++ class I took a few years ago. ... so why not use a data inspector if it's available? ...
      (comp.sys.hp48)
    • Re: Aquarius prolog so fast?
      ... Mercury cannot do all this because Mercury cannot keep track of the fact ... you need this capability quite rarely, ... Why not the alternative GCC back-end, ... While Mercury can compile to the internal data structures of the gcc backend, ...
      (comp.lang.prolog)
    • Re: Question about gcc on OS X 10.0.4.11 Tiger
      ... running Linux and gcc 4.0.2. ... How do I switch to a different version of gcc to compile with on OS X ... fgetsis a libc function and is not really part of the compiler. ... int main(int argc, char* argv){ ...
      (comp.sys.mac.programmer.help)
    • Re: HPGCC Questions ladies and gentlemen!!!
      ... :> how to compile it, and that means learning how to use the tools. ... Where did you get the gcc package for windows from? ... :> bit looking for bugs in their beginer level programs with the use of printf ... What kind of program written by beginner is going to "crash"? ...
      (comp.sys.hp48)