=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ltris-1.0.20 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in intl Making all in m4 Making all in po Making all in src --- all-recursive --- Making all in gfx Making all in sounds --- sdl.o --- --- menu.o --- --- item.o --- --- manager.o --- --- value.o --- --- main.o --- --- audio.o --- --- event.o --- --- sdl.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT sdl.o -MD -MP -MF .deps/sdl.Tpo -c -o sdl.o sdl.c --- menu.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c --- item.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT item.o -MD -MP -MF .deps/item.Tpo -c -o item.o item.c --- manager.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.c --- value.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c --- main.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c --- audio.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT audio.o -MD -MP -MF .deps/audio.Tpo -c -o audio.o audio.c --- event.o --- clang -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/opt/pkg/share/ltris\" -DHI_DIR=\"/opt/pkg/var\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DSDL_1_1_5 -MT event.o -MD -MP -MF .deps/event.Tpo -c -o event.o event.c --- sdl.o --- sdl.c:18:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from sdl.c:18: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ ./SDL.h:44:16: error: unknown type name 'SDL_Surface' void lock_surf(SDL_Surface *sur); ^ ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- menu.o --- In file included from menu.c:18: In file included from ./manager.h:21: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from menu.c:18: In file included from ./manager.h:21: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ ./SDL.h:44:16: error: unknown type name 'SDL_Surface' void lock_surf(SDL_Surface *sur); ^ ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- item.o --- In file included from item.c:18: In file included from ./manager.h:21: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from item.c:18: In file included from ./manager.h:21: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); --- manager.o --- In file included from manager.c:22: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from manager.c:22: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ ./SDL.h:44:16: error: unknown type name 'SDL_Surface' --- value.o --- In file included from value.c:19: In file included from ./manager.h:21: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from value.c:19: In file included from ./manager.h:21: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ --- main.o --- In file included from main.c:23: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from main.c:23: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ ./SDL.h:44:16: error: unknown type name 'SDL_Surface' --- item.o --- ^ --- manager.o --- void lock_surf(SDL_Surface *sur); ^ ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ --- main.o --- void lock_surf(SDL_Surface *sur); ^ ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ --- manager.o --- ./SDL.h:50:19: error: unknown type name 'SDL_Surface' --- item.o --- ./SDL.h:44:16: error: unknown type name 'SDL_Surface' void lock_surf(SDL_Surface *sur); ^ --- manager.o --- Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ --- value.o --- ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ --- main.o --- ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ --- manager.o --- ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ --- value.o --- ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ --- main.o --- ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ --- manager.o --- ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ --- value.o --- ./SDL.h:42:1: error: unknown type name 'SDL_Surface' --- main.o --- ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ --- value.o --- SDL_Surface* create_surf(int w, int h, int f); ^ --- item.o --- ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ --- manager.o --- ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ --- main.o --- ./SDL.h:51:1: error: unknown type name 'Uint32' --- value.o --- ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ --- main.o --- Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ --- manager.o --- ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ --- item.o --- ./SDL.h:49:21: error: unknown type name 'SDL_Surface' --- manager.o --- ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ --- item.o --- void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ --- main.o --- ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ --- value.o --- ./SDL.h:44:16: error: unknown type name 'SDL_Surface' void lock_surf(SDL_Surface *sur); ^ --- manager.o --- ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ --- sdl.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. --- item.o --- ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ --- manager.o --- ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- value.o --- ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ --- main.o --- ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- audio.o --- In file included from audio.c:20: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from audio.c:20: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ ./SDL.h:44:16: error: unknown type name 'SDL_Surface' --- item.o --- ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- value.o --- ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- audio.o --- void lock_surf(SDL_Surface *sur); ^ ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:51:19: error: unknown type name 'SDL_Surface' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; --- event.o --- In file included from event.c:18: ./ltris.h:29:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ In file included from event.c:18: In file included from ./ltris.h:29: ./SDL.h:21:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ --- audio.o --- ^ ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- sdl.o --- *** [sdl.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- event.o --- ./SDL.h:35:5: error: unknown type name 'SDL_Surface' SDL_Surface *s; ^ ./SDL.h:36:5: error: unknown type name 'SDL_Rect' SDL_Rect r; ^ ./SDL.h:41:1: error: unknown type name 'SDL_Surface' SDL_Surface* load_surf(char *fname, int f); ^ ./SDL.h:42:1: error: unknown type name 'SDL_Surface' SDL_Surface* create_surf(int w, int h, int f); ^ ./SDL.h:43:17: error: unknown type name 'SDL_Surface' void free_surf( SDL_Surface **surf ); ^ ./SDL.h:44:16: error: unknown type name 'SDL_Surface' void lock_surf(SDL_Surface *sur); ^ ./SDL.h:45:18: error: unknown type name 'SDL_Surface' void unlock_surf(SDL_Surface *sur); ^ ./SDL.h:49:21: error: unknown type name 'SDL_Surface' void set_surf_clip( SDL_Surface *surf, int x, int y, int w, int h ); ^ ./SDL.h:50:1: error: unknown type name 'Uint32' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:50:19: error: unknown type name 'SDL_Surface' Uint32 set_pixel( SDL_Surface *surf, int x, int y, int pixel ); ^ ./SDL.h:51:1: error: unknown type name 'Uint32' Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:51:19: error: unknown type name 'SDL_Surface' --- item.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. --- value.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. --- audio.o --- 2 warnings and 19 errors generated. --- event.o --- Uint32 get_pixel( SDL_Surface *surf, int x, int y ); ^ ./SDL.h:53:20: error: unknown type name 'SDL_Surface' void draw_3dframe( SDL_Surface *surf, int cx, int cy, int w, int h, int border ); ^ ./SDL.h:69:5: error: unknown type name 'SDL_Surface' SDL_Surface *pic; ^ ./SDL.h:88:29: error: unknown type name 'SDL_Surface' int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha); ^ ./SDL.h:91:1: error: unknown type name 'SDL_Rect' SDL_Rect last_write_rect(Font *fnt); ^ ./SDL.h:120:5: error: unknown type name 'SDL_Surface' SDL_Surface *screen; ^ ./SDL.h:123:5: error: unknown type name 'SDL_Rect' SDL_Rect rect[RECT_LIMIT]; ^ ./SDL.h:148:1: error: unknown type name 'SDL_Cursor' SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source ); ^ --- item.o --- *** [item.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- audio.o --- *** [audio.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- value.o --- *** [value.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- menu.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. --- event.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- menu.o --- *** [menu.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- main.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- event.o --- 2 warnings and 20 errors generated. --- manager.o --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- event.o --- *** [event.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- main.o --- 2 warnings and 20 errors generated. --- manager.o --- 2 warnings and 20 errors generated. --- main.o --- *** [main.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src --- manager.o --- *** [manager.o] Error code 1 bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src 8 errors bmake[3]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src *** [all-recursive] Error code 1 bmake[2]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src 1 error bmake[2]: stopped in /opt/work/games/ltris/work/ltris-1.0.20/src *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/games/ltris/work/ltris-1.0.20 1 error bmake[1]: stopped in /opt/work/games/ltris/work/ltris-1.0.20 *** [all] Error code 2 bmake: stopped in /opt/work/games/ltris/work/ltris-1.0.20 1 error bmake: stopped in /opt/work/games/ltris/work/ltris-1.0.20 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/games/ltris *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/games/ltris