Setting top to                           : /tmp/pacaurtmp-bstr/wxmupen64plus/src/wxmupen64plus-0.2 
Setting out to                           : /tmp/pacaurtmp-bstr/wxmupen64plus/src/wxmupen64plus-0.2/build 
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
Checking for program gcc                 : /usr/bin/gcc 
Checking for program g++                 : /usr/bin/g++ 
Checking C compiler works                : yes 
Checking C++ compiler works              : yes 
Checking for header m64p_frontend.h      : yes 
Checking for header m64p_config.h        : yes 
Checking for header m64p_types.h         : yes 
Checking for 'sdl-config'                : yes 
Checking for wxWidgets 2.9.x             : yes 
'configure' finished successfully (0.742s)
Waf: Entering directory `/tmp/pacaurtmp-bstr/wxmupen64plus/src/wxmupen64plus-0.2/build'
[ 1/13] cxx: main.cpp -> build/main.cpp.1.o
[ 2/13] cxx: gamespanel.cpp -> build/gamespanel.cpp.1.o
[ 3/13] cxx: parameterpanel.cpp -> build/parameterpanel.cpp.1.o
[ 4/13] cxx: sdlkeypicker.cpp -> build/sdlkeypicker.cpp.1.o
[ 5/13] cxx: mupen64plusplus/MupenAPIpp.cpp -> build/mupen64plusplus/MupenAPIpp.cpp.1.o
[ 6/13] c: mupen64plusplus/MupenAPI.c -> build/mupen64plusplus/MupenAPI.c.1.o
[ 7/13] cxx: sdlhelper.cpp -> build/sdlhelper.cpp.1.o
[ 8/13] cxx: config.cpp -> build/config.cpp.1.o
[ 9/13] c: mupen64plusplus/plugin.c -> build/mupen64plusplus/plugin.c.1.o
[10/13] cxx: wxvidext.cpp -> build/wxvidext.cpp.1.o
[11/13] c: mupen64plusplus/osal_dynamiclib_unix.c -> build/mupen64plusplus/osal_dynamiclib_unix.c.1.o
[12/13] c: mupen64plusplus/osal_files_unix.c -> build/mupen64plusplus/osal_files_unix.c.1.o
[13/13] cxxprogram: build/main.cpp.1.o build/gamespanel.cpp.1.o build/parameterpanel.cpp.1.o build/sdlkeypicker.cpp.1.o build/mupen64plusplus/MupenAPIpp.cpp.1.o build/mupen64plusplus/MupenAPI.c.1.o build/sdlhelper.cpp.1.o build/config.cpp.1.o build/mupen64plusplus/plugin.c.1.o build/wxvidext.cpp.1.o build/mupen64plusplus/osal_dynamiclib_unix.c.1.o build/mupen64plusplus/osal_files_unix.c.1.o -> build/wxmupen64plus
/usr/bin/ld: mupen64plusplus/osal_dynamiclib_unix.c.1.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /usr/lib/libdl.so so try adding it to the linker command line
/usr/lib/libdl.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Waf: Leaving directory `/tmp/pacaurtmp-bstr/wxmupen64plus/src/wxmupen64plus-0.2/build'
Build failed
 -> task failed (exit status 1): 
  {task 169009228: cxxprogram main.cpp.1.o,gamespanel.cpp.1.o,parameterpanel.cpp.1.o,sdlkeypicker.cpp.1.o,MupenAPIpp.cpp.1.o,MupenAPI.c.1.o,sdlhelper.cpp.1.o,config.cpp.1.o,plugin.c.1.o,wxvidext.cpp.1.o,osal_dynamiclib_unix.c.1.o,osal_files_unix.c.1.o -> wxmupen64plus}
['/usr/bin/g++', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-lGL', '-ldl', '-lX11', '-pthread', '-pthread', 'main.cpp.1.o', 'gamespanel.cpp.1.o', 'parameterpanel.cpp.1.o', 'sdlkeypicker.cpp.1.o', 'mupen64plusplus/MupenAPIpp.cpp.1.o', 'mupen64plusplus/MupenAPI.c.1.o', 'sdlhelper.cpp.1.o', 'config.cpp.1.o', 'mupen64plusplus/plugin.c.1.o', 'wxvidext.cpp.1.o', 'mupen64plusplus/osal_dynamiclib_unix.c.1.o', 'mupen64plusplus/osal_files_unix.c.1.o', '-o', '/tmp/pacaurtmp-bstr/wxmupen64plus/src/wxmupen64plus-0.2/build/wxmupen64plus', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib', '-lSDL', '-lpthread', '-lwx_gtk2u_core-2.9', '-lwx_baseu-2.9', '-lwx_gtk2u_gl-2.9', '-lwx_gtk2u_html-2.9']
==> ERROR: A failure occurred in build().
    Aborting...