vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, The `mktemp', `__ctype_b', `__ctype_toupper' errors that you seem to be getting, were all resolved in the last release of 4GL on Linux - version 7.32.xC2. Please use passport advantage to download the latest version. If you still have support, you should be able to ask for patches from Tech Support, if upgrading to the latest version is an issue ( though I would not entirely recommend a patch). An upgrade would be a better option. Thanks and Regards, Abhi. -------------------------------------------------------------------- There are 10 kinds of people,,,,, ..... those who understand binary notations, and those who don't. -------------------------------------------------------------------- r.a.reissaus@risdi.com (Robert A. Reissaus) Sent by: owner-informix-list@iiug.org 07/21/2004 08:42 AM Please respond to r.a.reissaus To informix-list@iiug.org cc Subject Re: Informix4GL no longer compiles on Linux 2.6 kernel with gcc 3.3.3 "Obnoxio The Clown" <obnoxio@serendipita.com> wrote in message news:<cdjg7q$n63$1@news.xmission.com>... > Robert A. Reissaus said: > > Now this really is a problem. > > > > Using Informix 7.3 (4gl, IDS, esql, fourjs (3.20), RDS) on SuSE Linux > > 9.1 with kernel 2.6 and gcc 3.3.3 > > > > Error: __GLIBC__2.0 not supported, while support for them IS present > > in glibc. As a result 4gl no longer compiles, nor does FourJs. Funny > > thing: RDS has NO problems at all. > > Why is that funny? RDS doesn't compile down to C... I know that, but nor does 4js. Anyway lets give some more detail here: Thanks. What I have is this: A dual processor running kernel 2.6.5-7.95-smp (2xPIII tualatin 1,13Ghz 2GBRam) 4gl 7.30-UC5 (Can't afford to upgrade to a new version) Gcc 3.3.3.41 (Everything related to gcc has this version) Glibc 2.3.3-97 Glibc-devel 2.3.3-97 Glibc-info 2.3.3-98 ( as has _i18ndata and _locale and _profile) When *not* changing any kernel related environment variables and compiling to either object or runable the error is: /opt/informix/lib/tools/i4glc3: relocation error: /opt/informix/lib/tools/i4glc3: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference When setting LD_ASSUME_KERNEL=2.4.21 ( or 2.4.1 or 2.2.5) the compiling to OBJECT goes fine, but compiling to runable gives these errors: The following errors were discovered during compilation. /opt/informix/lib/tools/lib4gsh730.so: warning: the use of `mktemp' is dangerous, better use `mkstemp' /opt/informix/lib/tools/lib4gsh730.so: undefined reference to `__ctype_b' /opt/informix/lib/tools/lib4gsh730.so: undefined reference to `__ctype_toupper' /opt/informix/lib/tools/lib4gsh730.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status /opt/informix/lib/tools/lib4gsh730.so: warning: the use of `mktemp' is dangerous, better use `mkstemp' /opt/informix/lib/tools/lib4gsh730.so: undefined reference to `__ctype_b' /opt/informix/lib/tools/lib4gsh730.so: undefined reference to `__ctype_toupper' /opt/informix/lib/tools/lib4gsh730.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status So it SEEMS to be a link problem, but actually setting LD_LIBRARY_PATH (in all kinds of different version) doesn't help. I got a mail from someone telling me they were able to compile and run on SuSE 9.1 (kernel 2.6.4-52-default, glibc-2.3.3-97, gcc-3.3.3-41) without problems. The binary looks working also. BUT with 4gl 7.32.UC2 Hope anyone can shed some light here. Tia Robert A. Reissaus > > -- > Bye now, > Obnoxio > > "C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule" > - Coluche > > "I'm trying to see things your way, but I can't get my head up my ass" > - JCH > > "Ogni uomo mi guarda come se fossi una testa di cazzo" > - Marco > > http://www.catb.org/~esr/faqs/smart-questions.html > sending to informix-list sending to informix-list |