bug-coreutils
[Top][All Lists]
Advanced

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

FreeBSD-5.1 compile fail


From: Sam Halliday
Subject: FreeBSD-5.1 compile fail
Date: Sat, 6 Dec 2003 15:09:20 +0000

hey there,

i wish to have all the GNU tools on all the OS i use, so i tried to compile
coreutils-5.0 on a FreeBSD-5.1 pentium4 system (i didnt install anything from
the ports as i'd prefer to compile them myself to have recent verisons of
everything). unfortunately the compile fails, does anyone know how to fix this?

i'm away to reboot and try the alpha 5.0.91 release to see if it is fixed there.
I have installed GNU libiconv and gettext, and nothing else beyond the standard
at this stage:

gcc  -O2 -fomit-frame-pointer -march=pentium4  -L/opt/sam/lib -o shred  shred.o
../lib/libfetish.a -lintl ../lib/libfetish.a 
if gcc -DLOCALEDIR=\"/opt/sam/share/locale\" -DSHAREDIR=\"/opt/sam/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib   -I/opt/sam/include 
-O2 -fomit-frame-pointer -march=pentium4 -MT stat.o -MD -MP -MF ".deps/stat.Tpo"
 -c -o stat.o `test -f 'stat.c' || echo './'`stat.c;  then mv ".deps/stat.Tpo"
".deps/stat.Po";  else rm -f ".deps/stat.Tpo"; exit 1;  fi
stat.c:112: warning: `struct statfs' declared inside parameter list
stat.c:112: warning: its scope is only this definition or declaration, which is
probably not what you want
stat.c: In function `human_fstype':
stat.c:119: dereferencing pointer to incomplete type
stat.c:302: dereferencing pointer to incomplete type
stat.c:303: dereferencing pointer to incomplete type
stat.c: In function `print_statfs':
stat.c:353: dereferencing pointer to incomplete type
stat.c:371: warning: passing arg 1 of `human_fstype' from incompatible pointer
type
stat.c:375: dereferencing pointer to incomplete type
stat.c:379: dereferencing pointer to incomplete type
stat.c:383: dereferencing pointer to incomplete type
stat.c:387: dereferencing pointer to incomplete type
stat.c:391: dereferencing pointer to incomplete type
stat.c:395: dereferencing pointer to incomplete type
stat.c: In function `do_statfs':
stat.c:603: storage size of `statfsbuf' isn't known
*** Error code 1

Stop in /tmp/root.build/coreutils-5.0/src.
*** Error code 1






reply via email to

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