Building for linux-mips: statfs64

KokHow.Teh at infineon.com KokHow.Teh at infineon.com
Tue Nov 6 11:23:28 UTC 2007


Hi;
	I tried to build strace-4.5.16 for linux-mips and bump into the
following error:

[tehkok at linux2:/usr/src/strace-4.5.16 3]$ m
make  all-am
make[1]: Entering directory `/usr/src/strace-4.5.16'
mips-linux-cc -DHAVE_CONFIG_H -I. -Ilinux/mips -I./linux/mips -Ilinux
-I./linux   -Wall -g -O3 -pipe -fpic -fPIC -msoft-float -mabi=32
-march=mips32r2 -mtune=34kc -MT file.o -MD -MP -MF .deps/file.Tpo -c -o
file.o file.c
mips-linux-cc -DHAVE_CONFIG_H -I. -Ilinux/mips -I./linux/mips -Ilinux
-I./linux   -Wall -g -O3 -pipe -fpic -fPIC -msoft-float -mabi=32
-march=mips32r2 -mtune=34kc -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o
io.c
file.c: In function `printstatfs64':
file.c:1645: error: storage size of 'statbuf' isn't known
file.c:1645: warning: unused variable `statbuf'
file.c: In function `sys_statfs64':
file.c:1680: error: invalid application of `sizeof' to incomplete type
`statfs64'
file.c: In function `sys_fstatfs64':
file.c:1695: error: invalid application of `sizeof' to incomplete type
`statfs64'
make[1]: *** [file.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/io.Tpo .deps/io.Po
make[1]: Leaving directory `/usr/src/strace-4.5.16'
make: *** [all] Error 2
[tehkok at linux2:/usr/src/strace-4.5.16 4]$

	Any advice is appreciated.

Regards,
KH




More information about the Strace-devel mailing list