Re: cperf on linux
Posted in 1999
On Monday 6th December 1999, Jonathan Leffler <jleffler@earthlink.net> wrote: >Andreas Beckmann wrote: >> I'm using INFORMIX-ESQL Version 9.16.UC1, >> INFORMIX-SQL Version 7.20.UD7 >> with Informix 7.30 >> on SuSE Linux 6.1. >> >> if i compile my perform-runner i get some error messages : >> >> /home/informix/lib/tools/libasf.a(pipe.o): warning: previous common is here >> /home/informix/lib/tools/libos.a(ospipe.o): warning: multiple common of >> `mt_init_clk' >> /home/informix/lib/tools/libasf.a(pipe.o): warning: previous common is here >> /home/informix/lib/tools/libos.a(osqlidbg.o): warning: multiple common of >> `afdebug' > >Questions: >* What does the compile line look like? >* Are you using any ESQL/C code in your custom Perform runner? >* If so, what did you compile it with? > >Note that ISQL 7.20 is compiled with a 7.2x version of ESQL/C, which is not >compatible with the CSDK 2.10 (ESQL/C 9.16) version of ESQL/C. You probably >need to use the I4GL c-code compiler to convert the ESQL/C into object code, >and then use cperf to link the object code into the p-code runner. Anything >else is likely to lead to problems. > >There may still be other problems, but fix these issues first and report back. >If I get time (doubtful), I'll try to check up. What kernel and glibc versions >does SuSE 6.1 use? I've verified that there is no problem on RedHat 6.0 provided you build the custom runner correctly. To verify this, I copied the file stamp.c from $INFORMIXDIR/demo/sql/en_us/0333 to a spare directory, and did: c4gl -c stamp.c cperf -o myperf stamp.o This compiled without errors (though the c4gl compilation gave me the obnoxious warnings from GCC about the libraries not being used -- that's a subject I've discussed previously, and provided a patch for; I need to install the patch on my installation some time). -- Yours, Jonathan Leffler (jonathan.leffler@informix.com) #include <disclaimer.h> Guardian of DBD::Informix v0.62 -- http://www.perl.com/CPAN "I don't suffer from insanity; I enjoy every minute of it!"