bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-4.5.12 doesn't build on HP-UX 11.00 with gcc 3.0.4


From: Jim Meyering
Subject: Re: coreutils-4.5.12 doesn't build on HP-UX 11.00 with gcc 3.0.4
Date: Thu, 03 Apr 2003 09:49:55 +0200

[note that I've redirected to the coreutils mailing list]

Thank you for the report.
However, I suspect that there's a problem with gcc's
header files on your system.  stddef.h should define size_t.

Here's a little test you can run.
It creates a 2-line file and tries to compile it,
first with gcc, then with cc.  Both should work.

cat <<EOF > k.c
#include <stddef.h>
size_t n;
EOF
gcc -c k.c
cc -c k.c

Jerome Zago <address@hidden> wrote:
> -----
> address@hidden:~/src/orig/coreutils-4.5.12$ ./configure
> [see configure.trace attachment...]
>
> address@hidden:~/src/orig/coreutils-4.5.12$ make
> [see make.trace attachment...]
> if gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.    
> -g -O2 -MT full-read.o -MD -MP -MF ".deps/full-read.Tpo" \
> -c -o full-read.o `test -f 'full-read.c' || echo './'`full-read.c; \
> then mv ".deps/full-read.Tpo" ".deps/full-read.Po"; \
> else rm -f ".deps/full-read.Tpo"; exit 1; \
> fi
> In file included from full-write.c:29,
>                  from full-read.c:19:
> full-read.h:24: parse error before "full_read"
> full-read.h:24: parse error before "size_t"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]