Open sergiobenrocha2 opened 9 years ago
So you have to type continue, with SIGILL in libcrypto. The real debug:
Reading symbols from ./../emulationstation...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/odroid/Projects/EmulationStation/EmulationStation/emulationstation
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
_armv7_tick () at armv4cpuid.S:17
17 armv4cpuid.S: No such file or directory.
(gdb) continue
Continuing.
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/exynos_dri.so failed (${ORIGIN}/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/exynos_dri.so failed (/usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Program received signal SIGABRT, Aborted.
__libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
#1 0xb69b3f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2 0xb69b6766 in __GI_abort () at abort.c:89
#3 0xb6b4c7a8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4 0xb6b4b1c8 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) bt full
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1 0xb69b3f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
_a1 = 0
_a3tmp = 6
_a1tmp = 0
_a3 = 6
_nametmp = 268
_a2tmp = 15639
_a2 = 15639
_name = 268
_sys_result = <optimized out>
pd = 0xb4180000
pid = 0
selftid = 15639
#2 0xb69b6766 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 3070209312, 3064440924, 11, 3063799645, 1, 3063799645,
3021471744, 3064995840, 3021471744, 3064995840, 667796, 3065080816, 0, 3065295689, 78, 0, 3070138831, 3021490448, 1, 1, 0, 3318696, 3063495592,
3318696, 1, 4421884, 0, 85, 3070157212, 4431488, 1}}, sa_flags = -1273494324, sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb6b4c7a8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
No symbol table info available.
#4 0xb6b4b1c8 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Same backtrace of a desmume bug (???):
Compiler problem?
Trying to compile with clang 3.5, I got 20 errors:
export CC=/usr/bin/clang-3.5
export CXX=/usr/bin/clang++-3.5
cmake ../
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/bin/clang-3.5
-- Check for working C compiler: /usr/bin/clang-3.5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++-3.5
-- Check for working CXX compiler: /usr/bin/clang++-3.5 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Looking for bcm_host.h
bcm_host.h not found
Looking for libMali.so
libMali.so found
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
-- checking for module 'freetype2'
-- found freetype2, version 17.1.11
-- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "17.1.11")
-- Looking for FreeImage...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'freeimage'
-- package 'freeimage' not found
-- Found FreeImage: optimized;/usr/lib/libfreeimage.so;debug;/usr/lib/libfreeimage.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL2: /usr/lib/arm-linux-gnueabihf/libSDL2main.a;/usr/lib/arm-linux-gnueabihf/libSDL2.so;-lpthread
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- date_time
-- locale
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.35.0")
-- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version "1.0.27.2")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/odroid/Projects/EmulationStation/EmulationStation/obj
make -j5
Scanning dependencies of target nanosvg
Scanning dependencies of target pugixml
[ 1%] [ 2%] Building CXX object external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o
Building CXX object external/pugixml/CMakeFiles/pugixml.dir/src/pugixml.cpp.o
Linking CXX static library ../../../libnanosvg.a
[ 2%] Built target nanosvg
Linking CXX static library ../../../libpugixml.a
[ 2%] Built target pugixml
Scanning dependencies of target es-core
[ 3%] [ 4%] [ 5%] [ 5%] [ 6%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/HelpStyle.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/HttpReq.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/ImageIO.cpp.o
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:1:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:21:14: error: no type named 'shared_ptr' in namespace 'std'
static std::shared_ptr<Sound> get(const std::string& path);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:21:24: error: expected member name or ';' after declaration specifiers
static std::shared_ptr<Sound> get(const std::string& path);
~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:22:14: error: no type named 'shared_ptr' in namespace 'std'
static std::shared_ptr<Sound> getFromTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& elem);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:22:24: error: expected member name or ';' after declaration specifiers
static std::shared_ptr<Sound> getFromTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& elem);
~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:43:37: error: no member named 'shared_ptr' in namespace 'std'
static std::map< std::string, std::shared_ptr<Sound> > sMap;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:43:48: error: 'Sound' does not refer to a value
static std::map< std::string, std::shared_ptr<Sound> > sMap;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:11:7: note: declared here
class Sound
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:43:55: error: expected member name or ';' after declaration specifiers
static std::map< std::string, std::shared_ptr<Sound> > sMap;
~~~~~~ ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:15:26: error: no member named 'shared_ptr' in namespace 'std'
static std::vector<std::shared_ptr<Sound>> sSoundVector;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:15:37: error: 'Sound' does not refer to a value
static std::vector<std::shared_ptr<Sound>> sSoundVector;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:11:7: note: declared here
class Sound
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:15:45: error: use of undeclared identifier 'sSoundVector'
static std::vector<std::shared_ptr<Sound>> sSoundVector;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:16:14: error: no type named 'shared_ptr' in namespace 'std'
static std::shared_ptr<AudioManager> sInstance;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:16:24: error: expected member name or ';' after declaration specifiers
static std::shared_ptr<AudioManager> sInstance;
~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:23:14: error: no type named 'shared_ptr' in namespace 'std'
static std::shared_ptr<AudioManager> & getInstance();
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:23:24: error: expected member name or ';' after declaration specifiers
static std::shared_ptr<AudioManager> & getInstance();
~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:28:26: error: no type named 'shared_ptr' in namespace 'std'
void registerSound(std::shared_ptr<Sound> & sound);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:28:36: error: expected ')'
void registerSound(std::shared_ptr<Sound> & sound);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:28:20: note: to match this '('
void registerSound(std::shared_ptr<Sound> & sound);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:29:28: error: no type named 'shared_ptr' in namespace 'std'
void unregisterSound(std::shared_ptr<Sound> & sound);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:29:38: error: expected ')'
void unregisterSound(std::shared_ptr<Sound> & sound);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:29:22: note: to match this '('
void unregisterSound(std::shared_ptr<Sound> & sound);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:14:18: error: use of undeclared identifier 'nullptr'
if (fiMemory != nullptr) {
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:21:20: error: use of undeclared identifier 'nullptr'
if (fiBitmap != nullptr)
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:24:30: error: use of undeclared identifier 'nullptr'
FIBITMAP * fiConverted = nullptr;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:28:25: error: use of undeclared identifier 'nullptr'
if (fiConverted != nullptr)
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:35:21: error: use of undeclared identifier 'nullptr'
if (fiBitmap != nullptr)
^
5 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/ImageIO.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:6:18: error: no member named 'shared_ptr' in namespace 'std'
std::vector<std::shared_ptr<Sound>> AudioManager::sSoundVector;
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o] Error 1
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:99:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
LOG(LogError) << "Error removing curl_easy handle from curl_multi: " << curl_multi_strerror(merr);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Log.h:5:40: note: expanded from macro 'LOG'
if(level > Log::getReportingLevel()) ; \
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:120:13: warning: using the result of an assignment as a condition without parentheses
[-Wparentheses]
while(msg = curl_multi_info_read(s_multi_handle, &msgs_left))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:120:13: note: place parentheses around the assignment to silence this warning
while(msg = curl_multi_info_read(s_multi_handle, &msgs_left))
^
( )
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:120:13: note: use '==' to turn this assignment into an equality comparison
while(msg = curl_multi_info_read(s_multi_handle, &msgs_left))
^
==
2 warnings generated.
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:7: error: no type named 'shared_ptr' in namespace 'std'
std::shared_ptr<Font> font;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:17: error: expected member name or ';' after declaration specifiers
std::shared_ptr<Font> font;
~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:29: error: no type named 'shared_ptr' in namespace 'std'
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:39: error: expected ')'
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:17: note: to match this '('
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.cpp:1:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:6:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:7: error: no type named 'shared_ptr' in namespace 'std'
std::shared_ptr<Font> font;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:17: error: expected member name or ';' after declaration specifiers
std::shared_ptr<Font> font;
~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:29: error: no type named 'shared_ptr' in namespace 'std'
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:39: error: expected ')'
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:17: note: to match this '('
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:62: error: no type named 'function' in namespace 'std'
void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:70: error: expected ')'
void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:19: note: to match this '('
void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:37: error: no type named 'shared_ptr' in namespace 'std'
virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:47: error: expected ')'
virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:25: note: to match this '('
virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.cpp:2:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Window.h:5:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:14:13: error: no type named 'shared_ptr' in namespace 'std'
const std::shared_ptr<unsigned char> ptr;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:14:23: error: expected member name or ';' after declaration specifiers
const std::shared_ptr<unsigned char> ptr;
~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:27: error: no type named 'shared_ptr' in namespace 'std'
virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:37: error: expected ')'
virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:21: note: to match this '('
virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:27: error: no type named 'shared_ptr' in namespace 'std'
virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:37: error: expected ')'
virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:21: note: to match this '('
virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:30:14: error: no type named 'shared_ptr' in namespace 'std'
static std::shared_ptr<ResourceManager>& getInstance();
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:30:24: error: expected member name or ';' after declaration specifiers
static std::shared_ptr<ResourceManager>& getInstance();
~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:26: error: no type named 'weak_ptr' in namespace 'std'
void addReloadable(std::weak_ptr<IReloadable> reloadable);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:34: error: expected ')'
void addReloadable(std::weak_ptr<IReloadable> reloadable);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:20: note: to match this '('
void addReloadable(std::weak_ptr<IReloadable> reloadable);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:43:14: error: no type named 'shared_ptr' in namespace 'std'
static std::shared_ptr<ResourceManager> sInstance;
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:13:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:62: error: no type named 'function' in namespace 'std'
void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:70: error: expected ')'
void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:19: note: to match this '('
void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:32: error: no template named 'shared_ptr' in namespace 'std'; did you mean
'boost::shared_ptr'?
virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:26:7: error: ISO C++ forbids forward references to 'enum' types
enum PropertyFlags : unsigned int
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:26:21: error: expected unqualified-id
enum PropertyFlags : unsigned int
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:45:7: error: exception specification of overriding function is more lax than base
version
class ThemeException : public std::exception
^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8/exception:64:13: note: overridden virtual function is here
virtual ~exception() _GLIBCXX_USE_NOEXCEPT;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:58:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto it = deque.begin() + 1; it != deque.end(); it++)
^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:140:53: error: no template named 'shared_ptr' in namespace 'std'; did you mean
'boost::shared_ptr'?
static std::vector<GuiComponent*> makeExtras(const std::shared_ptr<ThemeData>& theme, const std::string& view, Window* window);
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:142:15: error: no template named 'shared_ptr' in namespace 'std'; did you mean
'boost::shared_ptr'?
static const std::shared_ptr<ThemeData>& getDefault();
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:14:8: error: no template named 'shared_ptr' in namespace 'std'; did you
mean 'boost::shared_ptr'?
const std::shared_ptr<unsigned char> ptr;
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:22: error: no template named 'shared_ptr' in namespace 'std'; did
you mean 'boost::shared_ptr'?
virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:22: error: no template named 'shared_ptr' in namespace 'std'; did
you mean 'boost::shared_ptr'?
virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:30:9: error: no template named 'shared_ptr' in namespace 'std'; did you
mean 'boost::shared_ptr'?
static std::shared_ptr<ResourceManager>& getInstance();
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:21: error: no template named 'weak_ptr' in namespace 'std'; did you
mean 'boost::weak_ptr'?
void addReloadable(std::weak_ptr<IReloadable> reloadable);
^~~~~~~~~~~~~
boost::weak_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:723:36: note: 'boost::weak_ptr' declared here
template<class Y> friend class weak_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:43:9: error: no template named 'shared_ptr' in namespace 'std'; did you
mean 'boost::shared_ptr'?
static std::shared_ptr<ResourceManager> sInstance;
^~~~~~~~~~~~~~~
boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template<class Y> friend class shared_ptr;
^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:47:13: error: no template named 'weak_ptr' in namespace 'std'; did you
mean 'boost::weak_ptr'?
std::list< std::weak_ptr<IReloadable> > mReloadables;
^~~~~~~~~~~~~
boost::weak_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:723:36: note: 'boost::weak_ptr' declared here
template<class Y> friend class weak_ptr;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/HelpStyle.cpp.o] Error 1
20 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o] Error 1
make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
make: *** [all] Error 2
There were some symbols missing
(gdb) run
Starting program: /home/odroid/Projects/EmulationStation/EmulationStation/emulationstation
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
Program received signal SIGILL, Illegal instruction.
_armv7_tick () at armv4cpuid.S:17
17 armv4cpuid.S: No such file or directory.
(gdb) continue
Continuing.
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/exynos_dri.so failed (${ORIGIN}/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/exynos_dri.so failed (/usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Program received signal SIGABRT, Aborted.
__libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt full
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1 0xb69b3f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
_a1 = 0
_a3tmp = 6
_a1tmp = 0
_a3 = 6
_nametmp = 268
_a2tmp = 16345
_a2 = 16345
_name = 268
_sys_result = <optimized out>
pd = 0xb4181000
pid = 0
selftid = 16345
#2 0xb69b6766 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 3070209296, 3064440924, 11, 3063799645, 1, 3063799645,
3021475840, 3064995840, 3021475840, 3064995840, 663700, 3065080832, 0, 3065295429, 78, 0, 3070138831, 3021494544, 1, 1, 0, 3318696, 3063495592,
3318696, 1, 4431164, 0, 85, 3070157212, 4424192, 1}}, sa_flags = -1273490228, sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb6b4c69c in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
terminating = true
t = <optimized out>
#4 0xb6b4b0c4 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:38
No locals.
#5 0xb6b4b0e0 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
No locals.
#6 0xb6b4b31c in __cxxabiv1::__cxa_throw (obj=0x438278, tinfo=<optimized out>, dest=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:87
globals = <optimized out>
#7 0xb6b8284c in std::__throw_logic_error (__s=<optimized out>) at ../../../../../src/libstdc++-v3/src/c++11/functexcept.cc:64
No locals.
#8 0xb6b8a2d4 in std::string::_S_construct<char const*> (__beg=__beg@entry=0x0, __end=<optimized out>, __a=...)
at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.tcc:133
__dnew = <optimized out>
__r = <optimized out>
#9 0xb6b8a562 in _S_construct_aux<char const*> (__a=..., __end=<optimized out>, __beg=0x0)
at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.h:1725
No locals.
#10 _S_construct<char const*> (__a=..., __end=<optimized out>, __beg=0x0)
at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.h:1746
No locals.
#11 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (this=0xbeffede0, __s=0x0, __a=...)
at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.tcc:215
No locals.
#12 0x00059b22 in main (argc=1, argv=<optimized out>) at /home/odroid/Projects/EmulationStation/EmulationStation/es-app/src/main.cpp:225
glExts = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0xb6ba2f2c <construction vtable for std::ostream-in-std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >+12> "\245\360\266\266\035\361\266\266\324\377\377\377\324\377\377\377P.\272\266\325\360\266\266Q\361\266\266\024\240\062"}}
window = {mHelp = 0x35c190, mBackgroundOverlay = 0x35afd8, mGuiStack = {<std::_Vector_base<GuiComponent*, std::allocator<GuiComponent*> >> = {
_M_impl = {<std::allocator<GuiComponent*>> = {<__gnu_cxx::new_allocator<GuiComponent*>> = {<No data fields>}, <No data fields>}, _M_start = 0x35b130,
_M_finish = 0x35b134, _M_end_of_storage = 0x35b134}}, <No data fields>},
mDefaultFonts = {<std::_Vector_base<std::shared_ptr<Font>, std::allocator<std::shared_ptr<Font> > >> = {
_M_impl = {<std::allocator<std::shared_ptr<Font> >> = {<__gnu_cxx::new_allocator<std::shared_ptr<Font> >> = {<No data fields>}, <No data fields>},
_M_start = 0x3b26c8, _M_finish = 0x3b26e0, _M_end_of_storage = 0x3b26e8}}, <No data fields>}, mFrameTimeElapsed = 0, mFrameCountElapsed = 0,
mAverageDeltaTime = 10, mFrameDataText = {
_M_t = {<std::_Tuple_impl<0u, TextCache*, std::default_delete<TextCache> >> = {<std::_Tuple_impl<1u, std::default_delete<TextCache> >> = {<std::_Tuple_impl<2u>> = {<No data fields>}, <std::_Head_base<1u, std::default_delete<TextCache>, true>> = {<std::default_delete<TextCache>> = {<No data fields>}, <No data fields>}, <No data fields>}, <std::_Head_base<0u, TextCache*, false>> = {_M_head_impl = 0x0}, <No data fields>}, <No data fields>}}, mNormalizeNextUpdate = false,
mAllowSleep = true, mSleeping = false, mTimeSinceLastInput = 0, mRenderedHelpPrompts = 3}
running = <optimized out>
width = 0
height = 0
errorMsg = 0x0
lastTime = <optimized out>
The backtrace starts at
std::string glExts = (const char*)glGetString(GL_EXTENSIONS);
of es-app/src/main.cpp
Any idea?
Compile OK, but when you try to run, it complains about exynos_dri.so (why it does not try to use /usr/lib/libMali.so ?):
Any idea?
Using Lubuntu 14.04 from hardkernel.