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

Bug#355733: FTBFS on mips: error: 'Q_SETUSE' undeclared here



Package: strace
Version: 4.5.12-1
Severity: important

I'm building the whole archive on a MIPS machine with a 2.6 64-bit
kernel.  strace fails to build with the following errors.  Is this
 a) a bug in strace?
 b) a bug in the kernel header package of 2.6?

Can someone help me with this?  CCing -mips


> Automatic build of strace_4.5.12-1 on bigsur by sbuild/mips 1.75
...
> if gcc -DHAVE_CONFIG_H -I. -I.. -I. -Ilinux/mips -I../linux/mips -Ilinux -I../linux   -Wall -g -O2 -MT resource.o -MD -MP -MF ".deps/resource.Tpo" -c -o resource.o ../resource.c; \
> 	then mv -f ".deps/resource.Tpo" ".deps/resource.Po"; else rm -f ".deps/resource.Tpo"; exit 1; fi
> ../resource.c:478: error: 'Q_SETUSE' undeclared here (not in a function)
> ../resource.c:480: error: 'Q_SETQLIM' undeclared here (not in a function)
> ../resource.c:481: error: 'Q_GETSTATS' undeclared here (not in a function)
> ../resource.c:482: error: 'Q_RSQUASH' undeclared here (not in a function)
> ../resource.c: In function 'sys_quotactl':
> ../resource.c:538: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'u_int64_t'
> ../resource.c:539: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'u_int64_t'
> ../resource.c:540: error: 'struct dqblk' has no member named 'dqb_curblocks'
> ../resource.c:540: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'const struct xlat *'
> ../resource.c:541: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'u_int64_t'
> ../resource.c:542: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'u_int64_t'
> ../resource.c:543: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'u_int64_t'
> ../resource.c:544: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'u_int64_t'
> ../resource.c:545: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'u_int64_t'
> make[2]: *** [resource.o] Error 1
> make[2]: Leaving directory `/build/tbm/strace-4.5.12/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/tbm/strace-4.5.12/build'
> make: *** [stamp-build] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: