Skip to content

Instantly share code, notes, and snippets.

@xyzz

xyzz/gist:755a7d8a739b3823f66f Secret

Created Jun 12, 2013
Embed
What would you like to do?
xyz@xyz-pc ~/minetest/minetest $ make
[ 0%] Built target jsoncpp
[ 1%] Built target jthread
[ 1%] Built target cguittfont
[ 2%] Building C object src/CMakeFiles/minetest.dir/minizip/ioapi.c.o
In file included from /home/xyz/minetest/minetest/src/minizip/ioapi.c:17:0:
/home/xyz/minetest/minetest/src/minizip/ioapi.h:127:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:128:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:129:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:130:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:131:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:133:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:134:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:140:5: error: unknown type name ‘open_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:141:5: error: unknown type name ‘read_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:142:5: error: unknown type name ‘write_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:143:5: error: unknown type name ‘tell_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:144:5: error: unknown type name ‘seek_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:145:5: error: unknown type name ‘close_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:146:5: error: unknown type name ‘testerror_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:150:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:151:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:152:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:156:5: error: unknown type name ‘open64_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:157:5: error: unknown type name ‘read_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:158:5: error: unknown type name ‘write_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:159:5: error: unknown type name ‘tell64_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:160:5: error: unknown type name ‘seek64_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:161:5: error: unknown type name ‘close_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:162:5: error: unknown type name ‘testerror_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:166:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:167:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:173:5: error: unknown type name ‘open_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:174:5: error: unknown type name ‘tell_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:175:5: error: unknown type name ‘seek_file_func’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:186:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:187:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.h:188:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c: In function ‘call_zopen64’:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:21:46: warning: comparison between pointer and integer [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:22:17: error: invalid type argument of unary ‘*’ (have ‘int’)
/home/xyz/minetest/minetest/src/minizip/ioapi.c:25:17: error: invalid type argument of unary ‘*’ (have ‘int’)
/home/xyz/minetest/minetest/src/minizip/ioapi.c: In function ‘call_zseek64’:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:31:46: warning: comparison between pointer and integer [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:32:17: error: invalid type argument of unary ‘*’ (have ‘int’)
/home/xyz/minetest/minetest/src/minizip/ioapi.c:39:21: error: invalid type argument of unary ‘*’ (have ‘int’)
/home/xyz/minetest/minetest/src/minizip/ioapi.c: In function ‘call_ztell64’:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:45:46: warning: comparison between pointer and integer [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:46:17: error: invalid type argument of unary ‘*’ (have ‘int’)
/home/xyz/minetest/minetest/src/minizip/ioapi.c:49:29: error: invalid type argument of unary ‘*’ (have ‘int’)
/home/xyz/minetest/minetest/src/minizip/ioapi.c: In function ‘fill_zlib_filefunc64_32_def_from_filefunc32’:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:59:48: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:64:48: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:65:48: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c: At top level:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:75:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c:76:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c:77:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c:78:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c:79:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c:80:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c:81:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/home/xyz/minetest/minetest/src/minizip/ioapi.c: In function ‘fill_fopen_filefunc’:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:215:36: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:216:36: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:217:37: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:218:36: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:219:36: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:220:37: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:221:37: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c: In function ‘fill_fopen64_filefunc’:
/home/xyz/minetest/minetest/src/minizip/ioapi.c:227:38: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:228:36: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:229:37: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:230:38: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:231:38: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:232:37: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/xyz/minetest/minetest/src/minizip/ioapi.c:233:37: warning: assignment makes integer from pointer without a cast [enabled by default]
make[2]: *** [src/CMakeFiles/minetest.dir/minizip/ioapi.c.o] Error 1
make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment