On Thursday 24 December 2009 09:39:27 pm ext Felipe Contreras wrote: > On Thu, Dec 3, 2009 at 11:41 AM, Tom Cooksey <thomas.cook...@nokia.com> wrote: > > I'm trying to get a Scratchbox2 environment set up on OpenSUSE 11.2 > > 64-bit and am struggling: > > > > make[2]: Entering directory `/home/tcooksey/SB2/sbox2/obj-32' > > [CC] luaif/luaif.o > > ../luaif/luaif.c: In function ‘lua_sb_path_exists’: > > ../luaif/luaif.c:585: warning: implicit declaration of function > > ‘access_nomap_nolog’ > > ../luaif/luaif.c: In function ‘lua_sb_getcwd’: > > ../luaif/luaif.c:619: warning: implicit declaration of function > > ‘getcwd_nomap_nolog’ > > [PERL] preload/wrappers.c > > WARNING: failed to find type+name from 'SCANDIR_TYPE_ARG3' > > [CC] luaif/sb_log.o > > In file included from ../luaif/sb_log.c:49: > > /home/tcooksey/SB2/sbox2/obj-32/preload/exported.h:510: error: > > conflicting types for ‘scandir’ > > /usr/include/dirent.h:252: note: previous declaration of ‘scandir’ was > > here /home/tcooksey/SB2/sbox2/obj-32/preload/exported.h:526: 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[2]: *** [luaif/sb_log.o] Error 1 > > make[2]: Leaving directory `/home/tcooksey/SB2/sbox2/obj-32' > > make[1]: *** [regular] Error 2 > > make[1]: Leaving directory `/home/tcooksey/SB2/sbox2/obj-32' > > make: *** [multilib] Error 2 > > > > Digging into the code a little bit, it seems scandir is defined in > > /usr/include/dirent.h and also defined in obj-32/preload/exported.h > > (protected by defines which are set in config.h). As this is so obviously > > broken, I'm sure it's me being thick and doing something wrong. :-) I've > > also tried this on Kubuntu and got the exact same result. I suspect it's > > something to do with configure? > > > > Any help would be greatly appreciated as I can't find any OpenSUSE > > packages for scratchbox2. > > Have you tried the patches I posted before? > http://lists.scratchbox.org/pipermail/scratchbox-devel/2009-September/00046 > 4.html >
No. To be honest, SB2 is such a small part of the build system I need to compile up by hand, I relented and installed Kubuntu 32-bit. Cheers, Tom _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users