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

From: Todd O'Bryan (toddobryan at gmail.com)
Date: Thu Jan 22 21:48:04 EST 2009

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.


On Thu, Jan 22, 2009 at 3:32 PM, Geoffrey S. Knauth <geoff at knauth.org> wrote:
> This seems to be a new problem since my upgrade to Ubuntu 8.10:
> [...]
> make[7]: Entering directory `/home/gknauth/test/plt/plt/src/foreign'
> /home/gknauth/test/plt/plt/src/lt/libtool --mode=compile --tag=CC gcc -g -O2
>  -Wall -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include
> -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c -o foreign.lo
> mkdir .libs
>  gcc -g -O2 -Wall -DMZ_USES_SHARED_LIB -I./../mzscheme
> -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c
> ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
> In file included from ./../mzscheme/include/scheme.h:127,
>                  from ./../mzscheme/src/schpriv.h:21,
>                  from ./foreign.c:12:
> /usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
> In file included from /usr/include/stdio.h:75,
>                  from ./../mzscheme/include/scheme.h:127,
>                  from ./../mzscheme/src/schpriv.h:21,
>                  from ./foreign.c:12:
> I don't think it's a PLT problem.  I've googled enough to see non-PLT folks
> are having similar difficulties.  I'm just wondering if anyone has seen this
> before building PLT on Ubuntu 8.10.
> I have build-essential, libc6, libc6-dev installed, and I can even see
> stddef.h under various gcc subdirectories, just apparently not where gcc is
> looking.
> Geoffrey
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.