report of glibc-2.1.90

Andreas Jaeger aj@suse.de
Thu Mar 9 14:28:00 GMT 2000


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


More information about the Libc-alpha mailing list