Thread
:
does anyone develop/compile for kindle on a mac?
View Single Post
09-08-2012, 03:14 PM
#
13
hippy dave
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
came back to this after a bit of a holiday, i still have the toolchain built, but i just tried to build/install scratchbox2 and it wasn't having any of it
Spoiler
:
DaveBook:scratchbox2 dave$ make install prefix=$HOME/sb2
[CC] luaif/luaif.o
luaif/luaif.c: In function ‘lua_sb_path_exists’:
luaif/luaif.c:626: warning: implicit declaration of function ‘readlink_nomap’
luaif/luaif.c:631: warning: implicit declaration of function ‘access_nomap_nolog’
luaif/luaif.c: In function ‘lua_sb_getcwd’:
luaif/luaif.c:663: warning: implicit declaration of function ‘getcwd_nomap_nolog’
[PERL] preload/wrappers.c
echo "/* Automatically generated file. Do not edit. */" >include/scratchbox2_version.h
echo '#define SCRATCHBOX2_VERSION "'`cat .version`'"' >>include/scratchbox2_version.h
echo '#define LIBSB2_SONAME "'"libsb2.so.1"'"' >>include/scratchbox2_version.h
[CC] luaif/sb_log.o
luaif/sb_log.c:44:21: warning: sys/vfs.h: No such file or directory
In file included from luaif/sb_log.c:50:
/Users/dave/REPOS/scratchbox2/preload/exported.h:659: warning: ‘struct statfs’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:659: warning: its scope is only this definition or declaration, which is probably not what you want
/Users/dave/REPOS/scratchbox2/preload/exported.h:660: warning: ‘struct statfs’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:661: warning: ‘struct statfs’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:662: warning: ‘struct statfs64’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:663: warning: ‘struct statfs64’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:664: warning: ‘struct statfs64’ declared inside parameter list
[CC] luaif/paths.o
In file included from luaif/paths.c:83:
/Users/dave/REPOS/scratchbox2/preload/libsb2.h:74:21: warning: sys/vfs.h: No such file or directory
In file included from luaif/paths.c:84:
/Users/dave/REPOS/scratchbox2/preload/exported.h:659: warning: ‘struct statfs’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:659: warning: its scope is only this definition or declaration, which is probably not what you want
/Users/dave/REPOS/scratchbox2/preload/exported.h:660: warning: ‘struct statfs’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:661: warning: ‘struct statfs’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:662: warning: ‘struct statfs64’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:663: warning: ‘struct statfs64’ declared inside parameter list
/Users/dave/REPOS/scratchbox2/preload/exported.h:664: warning: ‘struct statfs64’ declared inside parameter list
[CC] luaif/argvenvp.o
[ARCHIVE] luaif/libluaif.a
[CC] luaif/lua-5.1.4/src/loadlib.o
[CC] luaif/lua-5.1.4/src/lstate.o
[CC] luaif/lua-5.1.4/src/ldebug.o
[CC] luaif/lua-5.1.4/src/liolib.o
[CC] luaif/lua-5.1.4/src/llex.o
[CC] luaif/lua-5.1.4/src/lauxlib.o
[CC] luaif/lua-5.1.4/src/ldump.o
[CC] luaif/lua-5.1.4/src/ltablib.o
[CC] luaif/lua-5.1.4/src/lstrlib.o
[CC] luaif/lua-5.1.4/src/ldo.o
[CC] luaif/lua-5.1.4/src/lmathlib.o
[CC] luaif/lua-5.1.4/src/lapi.o
[CC] luaif/lua-5.1.4/src/lvm.o
[CC] luaif/lua-5.1.4/src/ltable.o
[CC] luaif/lua-5.1.4/src/lgc.o
[CC] luaif/lua-5.1.4/src/lbaselib.o
[CC] luaif/lua-5.1.4/src/lopcodes.o
[CC] luaif/lua-5.1.4/src/linit.o
[CC] luaif/lua-5.1.4/src/lfunc.o
[CC] luaif/lua-5.1.4/src/lparser.o
[CC] luaif/lua-5.1.4/src/lstring.o
[CC] luaif/lua-5.1.4/src/ldblib.o
[CC] luaif/lua-5.1.4/src/lzio.o
[CC] luaif/lua-5.1.4/src/loslib.o
[CC] luaif/lua-5.1.4/src/ltm.o
[CC] luaif/lua-5.1.4/src/lundump.o
[CC] luaif/lua-5.1.4/src/lobject.o
[CC] luaif/lua-5.1.4/src/lmem.o
[CC] luaif/lua-5.1.4/src/lcode.o
[ARCHIVE] luaif/liblua.a
[CC] preload/wrappers.o
In file included from preload/wrappers.c:2:
preload/libsb2.h:74:21: warning: sys/vfs.h: No such file or directory
In file included from preload/wrappers.c:3:
preload/exported.h:659: warning: ‘struct statfs’ declared inside parameter list
preload/exported.h:659: warning: its scope is only this definition or declaration, which is probably not what you want
preload/exported.h:660: warning: ‘struct statfs’ declared inside parameter list
preload/exported.h:661: warning: ‘struct statfs’ declared inside parameter list
preload/exported.h:662: warning: ‘struct statfs64’ declared inside parameter list
preload/exported.h:663: warning: ‘struct statfs64’ declared inside parameter list
preload/exported.h:664: warning: ‘struct statfs64’ declared inside parameter list
preload/wrappers.c: In function ‘utimensat’:
preload/wrappers.c:3738: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in this function)
preload/wrappers.c:3738: error: (Each undeclared identifier is reported only once
preload/wrappers.c:3738: error: for each function it appears in.)
preload/wrappers.c: At top level:
preload/wrappers.c:6507: warning: ‘struct statfs’ declared inside parameter list
preload/wrappers.c:6509: warning: ‘struct statfs’ declared inside parameter list
preload/wrappers.c:6510: error: conflicting types for ‘statfs’
preload/exported.h:659: error: previous declaration of ‘statfs’ was here
preload/wrappers.c: In function ‘statfs’:
preload/wrappers.c:6534: warning: passing argument 2 of ‘statfs_next__’ from incompatible pointer type
preload/wrappers.c: At top level:
preload/wrappers.c:6540: warning: ‘struct statfs’ declared inside parameter list
preload/wrappers.c:6541: error: conflicting types for ‘statfs_nomap’
preload/exported.h:660: error: previous declaration of ‘statfs_nomap’ was here
preload/wrappers.c: In function ‘statfs_nomap’:
preload/wrappers.c:6555: warning: passing argument 2 of ‘statfs_next__’ from incompatible pointer type
preload/wrappers.c: At top level:
preload/wrappers.c:6561: warning: ‘struct statfs64’ declared inside parameter list
preload/wrappers.c:6563: warning: ‘struct statfs64’ declared inside parameter list
preload/wrappers.c:6564: error: conflicting types for ‘statfs64’
preload/exported.h:662: error: previous declaration of ‘statfs64’ was here
preload/wrappers.c: In function ‘statfs64’:
preload/wrappers.c:6588: warning: passing argument 2 of ‘statfs64_next__’ from incompatible pointer type
preload/wrappers.c: At top level:
preload/wrappers.c:6594: warning: ‘struct statfs64’ declared inside parameter list
preload/wrappers.c:6595: error: conflicting types for ‘statfs64_nomap’
preload/exported.h:663: error: previous declaration of ‘statfs64_nomap’ was here
preload/wrappers.c: In function ‘statfs64_nomap’:
preload/wrappers.c:6609: warning: passing argument 2 of ‘statfs64_next__’ from incompatible pointer type
make[1]: *** [preload/wrappers.o] Error 1
make: *** [regular] Error 2
urgh.
has anyone done this on a mac?
hippy dave
View Public Profile
Find More Posts by hippy dave
Track Posts by hippy dave via RSS