=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for onscripter-20130411nb1
--- onscripter_main.o ---
--- DirectReader.o ---
--- SarReader.o ---
--- NsaReader.o ---
--- onscripter_main.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  onscripter_main.cpp
--- DirectReader.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  DirectReader.cpp
--- SarReader.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  SarReader.cpp
--- NsaReader.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  NsaReader.cpp
--- DirectReader.o ---
DirectReader.cpp:63:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        archive_path = "";
                       ^
1 warning generated.
--- sjis2utf16.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  sjis2utf16.cpp
--- ScriptHandler.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ScriptHandler.cpp
--- ScriptParser.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ScriptParser.cpp
--- NsaReader.o ---
NsaReader.cpp:56:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if ( !SarReader::open( "arc.sar" ) ) return 0;
                           ^
NsaReader.cpp:59:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if ( !nsa_path ) nsa_path = "";
                                ^
2 warnings generated.
--- ScriptParser_command.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ScriptParser_command.cpp
--- ScriptHandler.o ---
ScriptHandler.cpp:769:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            buffer[c++] = ((char*)"<82>O")[0];
                                   ^~~~
ScriptHandler.cpp:770:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            buffer[c++] = ((char*)"<82>O")[1];
                                   ^~~~
--- ScriptParser.o ---
ScriptParser.cpp:81:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
--- ScriptHandler.o ---
ScriptHandler.cpp:775:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            buffer[c++] = ((char*)"<81>@")[0];
                                   ^~~~
ScriptHandler.cpp:776:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            buffer[c++] = ((char*)"<81>@")[1];
                                   ^~~~
ScriptHandler.cpp:780:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        buffer[c++] = "<81>|"[0];
                       ^~~~
ScriptHandler.cpp:781:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        buffer[c++] = "<81>|"[1];
                       ^~~~
ScriptHandler.cpp:784:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    char num_str[] = "<82>O<82>P<82>Q<82>R<82>S<82>T<82>U<82>V<82>W<82>X";
                      ^~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~
--- ONScripter.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter.cpp
--- ScriptParser.o ---
    setKinsoku(DEFAULT_START_KINSOKU, DEFAULT_END_KINSOKU, false);
               ^
./ScriptParser.h:54:32: note: expanded from macro 'DEFAULT_START_KINSOKU'
#define DEFAULT_START_KINSOKU "<81>v<81>x<81>j<81>n<81>p<81>A<81>B<81>C<81>D<81>E<81>H<81>I<81>R<81>S<81>T<81>U<81>X<81>["
                               ^~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~
ScriptParser.cpp:81:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    setKinsoku(DEFAULT_START_KINSOKU, DEFAULT_END_KINSOKU, false);
                                      ^
./ScriptParser.h:55:32: note: expanded from macro 'DEFAULT_END_KINSOKU'
#define DEFAULT_END_KINSOKU   "<81>u<81>w<81>i<81>m<81>o"
                               ^~~~ ~~~~ ~~~~ ~~~~ ~~~~
ScriptParser.cpp:165:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    setStr( &save_menu_name, DEFAULT_SAVE_MENU_NAME );
                             ^
ScriptParser.cpp:29:33: note: expanded from macro 'DEFAULT_SAVE_MENU_NAME'
#define DEFAULT_SAVE_MENU_NAME "<81><83><83>Z<81>[<83>u<81><84>"
                                ^~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~
ScriptParser.cpp:166:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    setStr( &load_menu_name, DEFAULT_LOAD_MENU_NAME );
                             ^
ScriptParser.cpp:30:33: note: expanded from macro 'DEFAULT_LOAD_MENU_NAME'
#define DEFAULT_LOAD_MENU_NAME "<81><83><83><8D><81>[<83>h<81><84>"
                                ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~
ScriptParser.cpp:167:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    setStr( &save_item_name, DEFAULT_SAVE_ITEM_NAME );
                             ^
ScriptParser.cpp:31:33: note: expanded from macro 'DEFAULT_SAVE_ITEM_NAME'
#define DEFAULT_SAVE_ITEM_NAME "<82><B5><82><A8><82><E8>"
                                ^~~~~~~~~~~~~~~~~~~~~~~~
--- ONScripter.o ---
ONScripter.cpp:351:46: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (archive_path == NULL) archive_path = "";
                                             ^
ONScripter.cpp:436:24: warning: assigning field to itself [-Wself-assign-field]
    this->cdaudio_flag = cdaudio_flag;
                       ^
ONScripter.cpp:669:75: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (AnimationInfo::doClipping(&dst_rect, &clip_rect) || dst_rect.w==0 && dst_rect.h==0) return;
                                                         ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ONScripter.cpp:669:75: note: place parentheses around the '&&' expression to silence this warning
    if (AnimationInfo::doClipping(&dst_rect, &clip_rect) || dst_rect.w==0 && dst_rect.h==0) return;
                                                                          ^
                                                            (                             )
ONScripter.cpp:1175:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            setStr(&default_env_font, DEFAULT_ENV_FONT);
                                      ^
ONScripter.cpp:37:27: note: expanded from macro 'DEFAULT_ENV_FONT'
#define DEFAULT_ENV_FONT "<82>l<82>r <83>S<83>V<83>b<83>N"
                          ^~~~ ~~~~  ~~~~ ~~~~ ~~~~ ~~~~
ONScripter.cpp:1187:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        setStr( &default_env_font, DEFAULT_ENV_FONT );
                                   ^
ONScripter.cpp:37:27: note: expanded from macro 'DEFAULT_ENV_FONT'
#define DEFAULT_ENV_FONT "<82>l<82>r <83>S<83>V<83>b<83>N"
                          ^~~~ ~~~~  ~~~~ ~~~~ ~~~~ ~~~~
ONScripter.cpp:40:13: warning: unused function 'SDL_Quit_Wrapper' [-Wunused-function]
static void SDL_Quit_Wrapper()
            ^
--- ONScripter_animation.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_animation.cpp
--- ScriptHandler.o ---
7 warnings generated.
--- ONScripter_command.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_command.cpp
--- ScriptParser.o ---
5 warnings generated.
--- ONScripter_effect.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_effect.cpp
--- ONScripter_animation.o ---
ONScripter_animation.cpp:54:18: warning: variable 'anim' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if (clickstr_state == CLICK_NEWPAGE)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ONScripter_animation.cpp:57:13: note: uninitialized use occurs here
        if (anim->visible && anim->is_animatable){
            ^~~~
ONScripter_animation.cpp:54:14: note: remove the 'if' if its condition is always true
        else if (clickstr_state == CLICK_NEWPAGE)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ONScripter_animation.cpp:51:28: note: initialize the variable 'anim' to silence this warning
        AnimationInfo *anim;
                           ^
                            = NULL
ONScripter_animation.cpp:134:18: warning: variable 'anim' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if (clickstr_state == CLICK_NEWPAGE)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ONScripter_animation.cpp:137:13: note: uninitialized use occurs here
        if (anim->proceedAnimation()){
            ^~~~
ONScripter_animation.cpp:134:14: note: remove the 'if' if its condition is always true
        else if (clickstr_state == CLICK_NEWPAGE)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ONScripter_animation.cpp:131:28: note: initialize the variable 'anim' to silence this warning
        AnimationInfo *anim;
                           ^
                            = NULL
--- ONScripter.o ---
6 warnings generated.
--- ONScripter_command.o ---
ONScripter_command.cpp:2082:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
--- ONScripter_effect_breakup.o ---
--- ONScripter_command.o ---
    else if (zenkakko_flag && buf[0] == "<A1><DA>"[0] && buf[1] == "<A1><DA>"[1])
                                         ^~~~~~~~
ONScripter_command.cpp:2082:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    else if (zenkakko_flag && buf[0] == "<A1><DA>"[0] && buf[1] == "<A1><DA>"[1])
                                                                    ^~~~~~~~
ONScripter_command.cpp:2104:53: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                      (!zenkakko_flag || buf[0] != "<A1><DB>"[0] || buf[1] != "<A1><DB>"[1])){
                                                    ^~~~~~~~
ONScripter_command.cpp:2104:74: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                      (!zenkakko_flag || buf[0] != "<A1><DB>"[0] || buf[1] != "<A1><DB>"[1])){
                                                                               ^~~~~~~~
--- ONScripter_effect_breakup.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_effect_breakup.cpp
--- ONScripter_command.o ---
ONScripter_command.cpp:2128:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
             (*pretext_buf)[0] == "<A1><DB>"[0] && (*pretext_buf)[1] == "<A1><DB>"[1])
                                   ^~~~~~~~
ONScripter_command.cpp:2128:68: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
             (*pretext_buf)[0] == "<A1><DB>"[0] && (*pretext_buf)[1] == "<A1><DB>"[1])
                                                                         ^~~~~~~~
--- ONScripter_animation.o ---
2 warnings generated.
--- ONScripter_event.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_event.cpp
--- ONScripter_file.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_file.cpp
--- ONScripter_file2.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_file2.cpp
--- ONScripter_image.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_image.cpp
--- ONScripter_lut.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_lut.cpp
--- ONScripter_command.o ---
6 warnings generated.
--- ONScripter_rmenu.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_rmenu.cpp
ONScripter_rmenu.cpp:288:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            sprintf( buffer, MESSAGE_SAVE_EXIST,
                             ^
ONScripter_rmenu.cpp:45:33: note: expanded from macro 'MESSAGE_SAVE_EXIST'
#define MESSAGE_SAVE_EXIST "%s%s<81>@%s<8C><8E>%s<93><FA>%s<8E><9E>%s<95><AA>"
                                ^~~~   ~~~~~~~~  ~~~~~~~~  ~~~~~~~~  ~~~~~~~~
ONScripter_rmenu.cpp:298:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            sprintf( buffer, MESSAGE_SAVE_EMPTY,
                             ^
ONScripter_rmenu.cpp:46:33: note: expanded from macro 'MESSAGE_SAVE_EMPTY'
#define MESSAGE_SAVE_EMPTY "%s%s<81>@<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|"
                                ^~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~
ONScripter_rmenu.cpp:331:32: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion]
            system_menu_mode = NULL; // for fadeout in mp3stopCommand()
                             ~ ^~~~
                               0
ONScripter_rmenu.cpp:390:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            sprintf( buffer, MESSAGE_SAVE_EXIST,
                             ^
ONScripter_rmenu.cpp:45:33: note: expanded from macro 'MESSAGE_SAVE_EXIST'
#define MESSAGE_SAVE_EXIST "%s%s<81>@%s<8C><8E>%s<93><FA>%s<8E><9E>%s<95><AA>"
                                ^~~~   ~~~~~~~~  ~~~~~~~~  ~~~~~~~~  ~~~~~~~~
ONScripter_rmenu.cpp:400:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            sprintf( buffer, MESSAGE_SAVE_EMPTY,
                             ^
ONScripter_rmenu.cpp:46:33: note: expanded from macro 'MESSAGE_SAVE_EMPTY'
#define MESSAGE_SAVE_EMPTY "%s%s<81>@<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|<81>|"
                                ^~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~
ONScripter_rmenu.cpp:444:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        sprintf( name, MESSAGE_SAVE_CONFIRM,
                       ^
ONScripter_rmenu.cpp:47:35: note: expanded from macro 'MESSAGE_SAVE_CONFIRM'
#define MESSAGE_SAVE_CONFIRM "%s%s<82><U+0243>Z<81>[<83>u<82><B5><82><U+0702><B7><81>B<82><E6><82><U+B0B5><82><A2><82><U+0142><B7><82><A9><81>H"
                                  ^~~~         ~~~~ ~~~~ ~~~~~~~~~~~~        ~~~~~~~~ ~~~~~~~~~~~~
ONScripter_rmenu.cpp:451:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        sprintf( name, MESSAGE_LOAD_CONFIRM,
                       ^
ONScripter_rmenu.cpp:48:35: note: expanded from macro 'MESSAGE_LOAD_CONFIRM'
#define MESSAGE_LOAD_CONFIRM "%s%s<82><F0><83><8D><81>[<83>h<82><B5><82><U+0702><B7><81>B<82><E6><82><U+B0B5><82><A2><82><U+0142><B7><82><A9><81>H"
                                  ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~        ~~~~~~~~ ~~~~~~~~~~~~
ONScripter_rmenu.cpp:456:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        strcpy( name, MESSAGE_RESET_CONFIRM );
                      ^
ONScripter_rmenu.cpp:49:32: note: expanded from macro 'MESSAGE_RESET_CONFIRM'
#define MESSAGE_RESET_CONFIRM "<83><8A><83>Z<83>b<83>g<82><B5><82><U+0702><B7><81>B<82><E6><82><U+B0B5><82><A2><82><U+0142><B7><82><A9><81>H"
                               ^~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~        ~~~~~~~~
ONScripter_rmenu.cpp:458:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        strcpy( name, MESSAGE_END_CONFIRM );
                      ^
ONScripter_rmenu.cpp:50:30: note: expanded from macro 'MESSAGE_END_CONFIRM'
#define MESSAGE_END_CONFIRM "<8F>I<97><B9><82><B5><82><U+0702><B7><81>B<82><E6><82><U+B0B5><82><A2><82><U+0142><B7><82><A9><81>H"
                             ^~~~ ~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~ ~~~~~~~~~~~~
ONScripter_rmenu.cpp:473:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    strcpy( name, MESSAGE_YES );
                  ^
ONScripter_rmenu.cpp:51:22: note: expanded from macro 'MESSAGE_YES'
#define MESSAGE_YES "<82><U+0342><A2>"
                     ^~~~        ~~~~
ONScripter_rmenu.cpp:479:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    strcpy( name, MESSAGE_NO );
                  ^
ONScripter_rmenu.cpp:52:21: note: expanded from macro 'MESSAGE_NO'
#define MESSAGE_NO "<82><A2><82><A2><82><A6>"
                    ^~~~~~~~~~~~~~~~~~~~~~~~
--- ONScripter_sound.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_sound.cpp
--- ONScripter_text.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  ONScripter_text.cpp
--- ONScripter_rmenu.o ---
ONScripter_rmenu.cpp:706:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        mes[0] = MESSAGE_YES;
                 ^
ONScripter_rmenu.cpp:51:22: note: expanded from macro 'MESSAGE_YES'
#define MESSAGE_YES "<82><U+0342><A2>"
                     ^~~~        ~~~~
ONScripter_rmenu.cpp:707:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        mes[1] = MESSAGE_NO;
                 ^
ONScripter_rmenu.cpp:52:21: note: expanded from macro 'MESSAGE_NO'
#define MESSAGE_NO "<82><A2><82><A2><82><A6>"
                    ^~~~~~~~~~~~~~~~~~~~~~~~
ONScripter_rmenu.cpp:710:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        mes[0] = MESSAGE_OK;
                 ^
ONScripter_rmenu.cpp:53:21: note: expanded from macro 'MESSAGE_OK'
#define MESSAGE_OK "<82>n<82>j"
                    ^~~~ ~~~~
ONScripter_rmenu.cpp:711:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        mes[1] = MESSAGE_CANCEL;
                 ^
ONScripter_rmenu.cpp:54:25: note: expanded from macro 'MESSAGE_CANCEL'
#define MESSAGE_CANCEL "<83>L<83><83><83><93><83>Z<83><8B>"
                        ^~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
--- AnimationInfo.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  AnimationInfo.cpp
--- ONScripter_rmenu.o ---
15 warnings generated.
--- FontInfo.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  FontInfo.cpp
--- ONScripter_text.o ---
ONScripter_text.cpp:662:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
             buf[string_buffer_offset  ] == "<81>y"[0] && 
                                             ^~~~
ONScripter_text.cpp:663:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
             buf[string_buffer_offset+1] == "<81>y"[1])
                                             ^~~~
ONScripter_text.cpp:672:45: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            buf[string_buffer_offset  ] == "<81>z"[0] && 
                                            ^~~~
ONScripter_text.cpp:673:45: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
            buf[string_buffer_offset+1] == "<81>z"[1]){
                                            ^~~~
--- DirtyRect.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  DirtyRect.cpp
--- resize_image.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  resize_image.cpp
--- LUAHandler.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  LUAHandler.cpp
--- ONScripter_text.o ---
4 warnings generated.
--- sardec.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  sardec.cpp
--- nsadec.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  nsadec.cpp
--- sarconv.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  sarconv.cpp
--- conv_shared.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  conv_shared.cpp
--- LUAHandler.o ---
LUAHandler.cpp:562:13: error: use of undeclared identifier 'lua_open'
    state = lua_open();
            ^
--- nsaconv.o ---
c++ -Wall -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -c `sdl-config --cflags` `pkg-config --cflags SDL_ttf` `pkg-config --cflags SDL_image` `pkg-config --cflags SDL_mixer` `smpeg-config --cflags` `pkg-config --cflags fontconfig` `pkg-config --cflags ogg` `pkg-config --cflags vorbis` `pkg-config --cflags vorbisfile` `pkg-config --cflags lua` -DLINUX -DUSE_SMPEG -DUSE_FONTCONFIG -DUSE_OGG_VORBIS -DUSE_CDROM -DUSE_LUA  nsaconv.cpp
--- LUAHandler.o ---
LUAHandler.cpp:565:26: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
    lua_pushvalue(state, LUA_GLOBALSINDEX);
                         ^
LUAHandler.cpp:566:5: error: use of undeclared identifier 'luaL_register'
    luaL_register(state, NULL, lua_lut);
    ^
3 errors generated.
--- sardec ---
--- LUAHandler.o ---
*** [LUAHandler.o] Error code 1

make: stopped in /scratch/games/onscripter/work/onscripter-20130411
--- sardec ---
c++ -o sardec sardec.o  DirectReader.o  SarReader.o  sjis2utf16.o `sdl-config --libs` `pkg-config --libs SDL_ttf` `pkg-config --libs SDL_image` `pkg-config --libs SDL_mixer` -lbz2 -ljpeg -lm `smpeg-config --libs` `pkg-config --libs fontconfig` `pkg-config --libs ogg` `pkg-config --libs vorbis` `pkg-config --libs vorbisfile` `pkg-config --libs lua`
1 error

make: stopped in /scratch/games/onscripter/work/onscripter-20130411
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/games/onscripter
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/games/onscripter
