List:General Discussion« Previous MessageNext Message »
From:Michael Hall Date:March 17 1999 9:15am
Subject:Re: glibc2 bug ???
View as plain text  
On Wed, Mar 17, 1999 at 04:10:06AM +0200, Michael Widenius wrote:

> >>>>> "Phil" == Phil Wilshire <philwil@stripped> writes:
> Phil> Hi,
> Phil> I have tried to compile under a new RedHet release.
> Phil> I have got a compile error and the following note from Redhat...
> Phil> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Phil> Phil Wilshire wrote:
> >> 
> >> hi,
> >> I get the following compile fail with Mysql on 5.8.6
> >> 
> >> (cd .libs && ln -s ../
> >> c++ -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..
> >> -O   -fno-implicit-templates -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c
> >>
> >> In file included from /usr/include/termios.h:40,
> >> from /usr/include/termcap.h:22,
> >> from
> >> /usr/include/bits/termios.h:28: warning: `NCCS' redefined
> >> /usr/include/asm/termbits.h:10: warning: this is the location of the
> >> previous definition


> The problem is that most Linux version needs the inclusion of
> asm/termbits.h to work.  It seams that glibc 2.1 doesn't allow this
> anymore (which is probably correct).  To fix this, one has to add a
> new test to configure to check if one has to include asm/termbits.h
> anymore.
> I don't have access to a glibc 2.1 system to check this, so I am
> greatfull if anyone can fix configure to not define HAVE_ASM_TERMBITS
> when used with glibc 2.1.

  Hmm, I don't know how much help I can be but as of a few days ago I
compiled 3.22.19b and I just finished compiling 3.22.20a after I saw
this message. Both compiled without a problem, using linux 2.2.3,
glibc-2.1 (the public release version that was pulled) and egcs (1.1.1
for 3.22-19b and the new 1.1.2 for 3.22-20a).
  I noticed one thing is that my '/usr/include/termcap.h' doesn't
include 'termios.h', the only header it includes is <sys/types.h>, I'm
using ncurses-4.2. Maybe its a curses problem or where ever the
'termcap.h' file came from or a bad glibc-2.1 compile/install or maybe
a mixture of old and new libc headers from the previous lib ? I know
in the docs they recommended recompiling any libraries that did 'io'
such as curses, slang, redline, etc. and also the start out with a fresh
  Not a programmer by any manner of means but if there is any other info,
details, etc. I can provide let me know and I'll do what I can.

Just when I make ends meet, someone moves one end.

Mike Hall <mhall@stripped>, (MH993)   -
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)
glibc2 bug ???Phil Wilshire17 Mar
  • glibc2 bug ???Michael Widenius17 Mar
    • Re: glibc2 bug ???Michael Hall17 Mar
      • Re: glibc2 bug ???Michael Widenius17 Mar
        • Re: glibc2 bug ???Michael Hall17 Mar
  • Performance And, What am I MissingVan17 Mar
    • Performance And, What am I MissingMichael Widenius17 Mar
RE: glibc2 bug ???Robin Bowes17 Mar