分类: LINUX
2011-04-05 10:47:32
make make[1]: Entering directory `/home/longjindong/src/sbox2-2.0' [CC] luaif/sb_log.o In file included from luaif/sb_log.c:49: /home/longjindong/src/sbox2-2.0/preload/exported.h:505: error: conflicting types for ‘scandir’ /usr/include/dirent.h:252: note: previous declaration of ‘scandir’ was here /home/longjindong/src/sbox2-2.0/preload/exported.h:521: error: conflicting types for ‘scandir64’ /usr/include/dirent.h:275: note: previous declaration of ‘scandir64’ was here luaif/sb_log.c: In function ‘write_to_logfile’: luaif/sb_log.c:116: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result make[1]: *** [luaif/sb_log.o] Error 1 make[1]: Leaving directory `/home/longjindong/src/sbox2-2.0' make: *** [regular] Error 2 |
在 preload/interface.master 中把: WRAP: int scandir(const char *dir, struct dirent ***namelist, \ #ifdef HAVE_OSX_SCANDIR 此补丁来自: |
preadv support yes The error log from compiling the libSDL test is: /tmp/qemu-conf--359-.c:1:17: error: SDL.h: No such file or directory /tmp/qemu-conf--359-.c: In function ‘main’: /tmp/qemu-conf--359-.c:3: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function) /tmp/qemu-conf--359-.c:3: error: (Each undeclared identifier is reported only once /tmp/qemu-conf--359-.c:3: error: for each function it appears in.) |