This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: report of glibc-2.1.90
- To: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- Subject: Re: report of glibc-2.1.90
- From: Andreas Jaeger <aj at suse dot de>
- Date: 09 Mar 2000 23:20:19 +0100
- Cc: GNU libc testers <libc-alpha at sourceware dot cygnus dot com>
- References: <20000310052849.Postino-005779@smtp01.highway.ne.jp>
>>>>> Kaoru Fukui writes:
> I ried compileing slang on glibc-2.1.90 powerpc linux .
> Using compiler is gcc-2.96 in current.
> But I have some problems.
> intptr_t is in thread_db.h.
No, it's in <bits/types.h>:
bits/types.h:typedef int __intptr_t;
> Do i need thread_db.h always when using unistd.h?
No!
unistd.h includes already <bits/types.h>
> Anyway, I'mnot use __USE_BSD myself.
> I looked at slang's source then i could not find __USE_BSD.
> I also saw gcc's spec where i could not find in it.
Your environment is not set up correctly. gcc uses the wrong search
paths. Run your gcc command with -v and you'll see a reference to
/usr/include that's wrong. Please either fix your spec file or run
gcc with -nostdinc.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de