From: Frederik S. <fs...@de...> - 2010-05-04 11:41:30
|
Hi, find attached a patch adding some missing syscalls definitions for sparc. This fixes the build failure on sparc: https://buildd.debian.org/fetch.cgi?pkg=strace&arch=sparc&ver=4.5.20-1&stamp=1271703814&file=log&as=raw now, the sparc64 strace binary builds fine, but when building the 32bit one, the following error occurs: gcc -DHAVE_CONFIG_H -I. -I.. -I../linux/sparc -I../linux -Wall -Wall -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o ../file.c In file included from ../file.c:88: /usr/include/asm/stat.h:56: error: expected specifier-qualifier-list before ‘uid16_t’ ../file.c: In function ‘realprintstat’: ../file.c:943: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ make[2]: *** [file.o] Error 1 make[2]: Leaving directory `/home/fs/strace-4.5.20/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/fs/strace-4.5.20/build' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Build environment is gcc 4.4.3, linux 2.6.32. Best regards Frederik Schüler -- ENOSIG |