[plt-scheme] stddef.h problem - building from SVN on Ubuntu 8.10 AMD64

From: Geoffrey S. Knauth (geoff at knauth.org)
Date: Fri Jan 23 16:34:53 EST 2009

On Jan 23, 2009, at 10:54, Geoffrey S. Knauth wrote:
> On Jan 22, 2009, at 21:48, Todd O'Bryan wrote:
>> Which version of Ubuntu 8.10? I've built 4.1.3 successfully on the
>> 32-bit version, but haven't tried 4.1.4, yet.
> $ uname -a
> Linux nelson 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008  
> x86_64 GNU/Linux

I found a message [1] hinting it is a gcc problem, that having a gcc  
subdirectory triggers the problem.  A small experiment [2] seems to  
confirm this.  To be continued.

[1] http://gcc.gnu.org/ml/gcc-bugs/2008-11/msg00107.html

[2]

$ cat foo.c
#include <stdio.h>
main() { printf ("It compiled.\n"); }
$ gcc foo.c
$ a.out
It compiled.
$ rm a.out
$ mkdir gcc
$ gcc foo.c
In file included from foo.c:1:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
... and more errors ...
$ rmdir gcc
$ gcc foo.c
$ a.out
It compiled.
$ 
                                                                                                                                     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090123/c60bfda7/attachment.html>

Posted on the users mailing list.