MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
311 stars 44 forks source link

/usr/bin/ld: cannot find -lEGL #61

Open gordonmhy opened 8 years ago

gordonmhy commented 8 years ago

$ make Scanning dependencies of target mcpelauncher [ 4%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/cache.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/cache.c: In function ‘cache_update’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/cache.c:105:10: warning: ‘return’ with a value, in function returning void return NULL; ^ [ 9%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/dlfcn.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/dlfcn.c: In function ‘hybris_dlerror’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/dlfcn.c:47:12: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] return android_dlerror(); ^ [ 14%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/hooks.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:24:0: warning: "_GNU_SOURCE" redefined

define _GNU_SOURCE

^

:0:0: note: this is the location of the previous definition /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘my_pthread_attr_setstackaddr’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:297:5: warning: ‘pthread_attr_setstackaddr’ is deprecated [-Wdeprecated-declarations] return pthread_attr_setstackaddr(realattr, stack_addr); ^ In file included from /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:34:0: /usr/include/pthread.h:363:12: note: declared here extern int pthread_attr_setstackaddr (pthread_attr_t ___attr, ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘my_pthread_attr_getstackaddr’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:303:5: warning: ‘pthread_attr_getstackaddr’ is deprecated [-Wdeprecated-declarations] return pthread_attr_getstackaddr(realattr, stack_addr); ^ In file included from /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:34:0: /usr/include/pthread.h:355:12: note: declared here extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘hybris_set_realrwlock’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:844:20: warning: comparison between pointer and integer if (realrwlock <= ANDROID_TOP_ADDR_VALUE_RWLOCK) { ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘my_clearerr’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:963:29: warning: passing argument 1 of ‘_get_actual_fp’ from incompatible pointer type [-Wincompatible-pointer-types] clearerr(_get_actual_fp(fp)); ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:948:14: note: expected ‘struct aFILE *’ but argument is of type ‘FILE \* {aka struct _IO_FILE *}’ static FILE *_get_actual_fp(struct aFILE *fp) ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘my_fdopen’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:980:25: warning: passing argument 1 of ‘fdopen’ makes integer from pointer without a cast [-Wint-conversion] FILE_ file = fdopen(filename, mode); ^ In file included from /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:25:0: /usr/include/stdio.h:306:14: note: expected ‘int’ but argument is of type ‘const char _’ extern FILE *fdopen (int __fd, const char *__modes) __THROW __wur; ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘my_scandirat’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:1354:67: warning: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types] qsort(result, nItems, sizeof(struct bionic_dirent *), compar); ^ In file included from /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:29:0: /usr/include/stdlib.h:764:13: note: expected ‘__compar_fn_t {aka int (_)(const void _, const void *)}’ but argument is of type ‘int (_)(const struct bionic_dirent **, const struct bionic_dirent *_)’ extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘my_system_property_get’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:1435:28: warning: passing argument 2 of ‘property_get’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] return property_get(name, value, NULL); ^ In file included from /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:57:0: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/../include/hybris/properties.h:51:6: note: expected ‘char *’ but argument is of type ‘const char *’ int property_get(const char *key, char *value, const char *default_value); ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c: In function ‘convert_addrinfo’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks.c:1474:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ares->ai_next = convert_addrinfo(res->ai_next); ^ [ 19%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/hooks_shm.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks_shm.c:21:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE ^ :0:0: note: this is the location of the previous definition /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks_shm.c: In function ‘_hybris_shm_init’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks_shm.c:140:21: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset((void_)_hybris_shm_data, 0, size_to_map); ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks_shm.c:140:21: warning: incompatible implicit declaration of built-in function ‘memset’ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/hooks_shm.c:140:21: note: include ‘’ or provide a declaration of ‘memset’ [ 23%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/logging.c.o [ 28%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/properties.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/properties.c:28:0: warning: "__USE_GNU" redefined #define __USE_GNU ^ In file included from /usr/include/string.h:25:0, from /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/properties.c:22: /usr/include/features.h:325:0: note: this is the location of the previous definition # define __USE_GNU 1 ^ [ 33%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/strlcpy.c.o [ 38%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/sysconf.c.o [ 42%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/jb/dlfcn.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/dlfcn.c:16:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE ^ :0:0: note: this is the location of the previous definition /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/dlfcn.c: In function ‘android_dladdr’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/dlfcn.c:139:9: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(info, 0, sizeof(Dl_info)); ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/dlfcn.c:139:9: warning: incompatible implicit declaration of built-in function ‘memset’ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/dlfcn.c:139:9: note: include ‘’ or provide a declaration of ‘memset’ [ 47%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/jb/linker.c.o /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/linker.c: In function ‘alloc_info’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/linker.c:287:5: warning: implicit declaration of function ‘strlcpy’ [-Wimplicit-function-declaration] strlcpy((char*) si->name, name, sizeof(si->name)); ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/linker.c: In function ‘reloc_library’: /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/linker.c:1330:24: warning: implicit declaration of function ‘get_hooked_symbol’ [-Wimplicit-function-declaration] sym_addr = get_hooked_symbol(sym_name); ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/linker.c:1331:26: warning: comparison between pointer and integer if (sym_addr != NULL) { ^ /home/hoyinm14mc/mcpelauncher-linux-master/hybris/src/jb/linker.c:1337:25: warning: comparison between pointer and integer if(sym_addr == NULL) ^ [ 52%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/jb/linker_environ.c.o [ 57%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/jb/linker_format.c.o [ 61%] Building C object CMakeFiles/mcpelauncher.dir/hybris/src/jb/rt.c.o [ 66%] Building C object CMakeFiles/mcpelauncher.dir/eglut/eglut.c.o /home/hoyinm14mc/mcpelauncher-linux-master/eglut/eglut.c: In function ‘eglutCreateWindow’: /home/hoyinm14mc/mcpelauncher-linux-master/eglut/eglut.c:321:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] win->keyboard_cb = _eglutDefaultKeyboard; ^ [ 71%] Building C object CMakeFiles/mcpelauncher.dir/eglut/eglut_x11.c.o [ 76%] Building C object CMakeFiles/mcpelauncher.dir/subhook/subhook.c.o [ 80%] Building CXX object CMakeFiles/mcpelauncher.dir/src/main.cpp.o /home/hoyinm14mc/mcpelauncher-linux-master/src/main.cpp: In function ‘int main(int, char**)’: /home/hoyinm14mc/mcpelauncher-linux-master/src/main.cpp:509:76: warning: converting from ‘void (LinuxHttpRequestInternal::_)()’ to ‘void_’ [-Wpmf-conversions] linuxHttpRequestInternalVtable[0] = (void_) &LinuxHttpRequestInternal::destroy; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/main.cpp:510:76: warning: converting from ‘void (LinuxHttpRequestInternal::_)()’ to ‘void_’ [-Wpmf-conversions] linuxHttpRequestInternalVtable[1] = (void_) &LinuxHttpRequestInternal::destroy; ^ [ 85%] Building CXX object CMakeFiles/mcpelauncher.dir/src/LinuxAppPlatform.cpp.o /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp: In static member function ‘static void LinuxAppPlatform::initVtable(void*_, int)’: /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:37:46: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[2] = (void_) &LinuxAppPlatform::getDataUrl; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:38:46: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[4] = (void_) &LinuxAppPlatform::getPackagePath; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:39:47: warning: converting from ‘void (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[13] = (void_) &LinuxAppPlatform::hideMousePointer; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:40:47: warning: converting from ‘void (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[14] = (void_) &LinuxAppPlatform::showMousePointer; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:41:47: warning: converting from ‘void (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[18] = (void_) &LinuxAppPlatform::swapBuffers; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:42:47: warning: converting from ‘const string& (LinuxAppPlatform::_)() {aka const std::basic_string& (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[20] = (void_) &LinuxAppPlatform::getSystemRegion; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:43:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[21] = (void_) &LinuxAppPlatform::getGraphicsVendor; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:44:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[22] = (void_) &LinuxAppPlatform::getGraphicsRenderer; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:45:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[23] = (void_) &LinuxAppPlatform::getGraphicsVersion; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:46:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[24] = (void_) &LinuxAppPlatform::getGraphicsExtensions; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:47:47: warning: converting from ‘void (LinuxAppPlatform::_)(ImagePickingCallback&)’ to ‘void_’ [-Wpmf-conversions] myVtable[25] = (void_) &LinuxAppPlatform::pickImage; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:48:47: warning: converting from ‘void (LinuxAppPlatform::_)(FilePickerSettings&)’ to ‘void_’ [-Wpmf-conversions] myVtable[26] = (void_) &LinuxAppPlatform::pickFile; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:49:47: warning: converting from ‘bool (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[27] = (void_) &LinuxAppPlatform::supportsFilePicking; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:50:47: warning: converting from ‘std::string& (LinuxAppPlatform::_)() {aka std::basic_string& (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[33] = (void_) &LinuxAppPlatform::getExternalStoragePath; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:51:47: warning: converting from ‘std::string& (LinuxAppPlatform::_)() {aka std::basic_string& (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[34] = (void_) &LinuxAppPlatform::getInternalStoragePath; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:52:47: warning: converting from ‘std::string& (LinuxAppPlatform::_)() {aka std::basic_string& (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[35] = (void_) &LinuxAppPlatform::getUserdataPath; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:53:47: warning: converting from ‘std::string& (LinuxAppPlatform::_)() {aka std::basic_string& (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[36] = (void_) &LinuxAppPlatform::getUserdataPathForLevels; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:54:47: warning: converting from ‘std::string (LinuxAppPlatform::_)(const string&) {aka std::basic_string (LinuxAppPlatform::_)(const std::basic_string&)}’ to ‘void_’ [-Wpmf-conversions] myVtable[53] = (void_) &LinuxAppPlatform::getAssetFileFullPath; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:55:47: warning: converting from ‘std::string (LinuxAppPlatform::_)(const string&) {aka std::basic_string (LinuxAppPlatform::_)(const std::basic_string&)}’ to ‘void_’ [-Wpmf-conversions] myVtable[54] = (void_) &LinuxAppPlatform::readAssetFile; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:56:47: warning: converting from ‘bool (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[68] = (void_) &LinuxAppPlatform::useCenteredGUI; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:57:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[74] = (void_) &LinuxAppPlatform::getApplicationId; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:58:47: warning: converting from ‘long long int (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[75] = (void_) &LinuxAppPlatform::getAvailableMemory; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:59:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[80] = (void_) &LinuxAppPlatform::getDeviceId; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:60:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[81] = (void_) &LinuxAppPlatform::createUUID; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:61:47: warning: converting from ‘bool (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[82] = (void_) &LinuxAppPlatform::isFirstSnoopLaunch; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:62:47: warning: converting from ‘bool (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[83] = (void_) &LinuxAppPlatform::hasHardwareInformationChanged; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:63:47: warning: converting from ‘bool (LinuxAppPlatform::_)()’ to ‘void_’ [-Wpmf-conversions] myVtable[84] = (void_) &LinuxAppPlatform::isTablet; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:64:47: warning: converting from ‘std::string (LinuxAppPlatform::_)() {aka std::basic_string (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[93] = (void_) &LinuxAppPlatform::getEdition; ^ /home/hoyinm14mc/mcpelauncher-linux-master/src/LinuxAppPlatform.cpp:65:48: warning: converting from ‘std::string& (LinuxAppPlatform::_)() {aka std::basic_string& (LinuxAppPlatform::_)()}’ to ‘void_’ [-Wpmf-conversions] myVtable[100] = (void_) &LinuxAppPlatform::getPlatformTempPath; ^ [ 90%] Building ASM object CMakeFiles/mcpelauncher.dir/src/amdfix.s.o [ 95%] Building CXX object CMakeFiles/mcpelauncher.dir/mcpe/types.cpp.o [100%] Linking CXX executable mcpelauncher CMakeFiles/mcpelauncher.dir/hybris/src/hooks.c.o: In function `my_pthread_attr_getstackaddr': hooks.c:(.text+0x3f8): warning: the use of`pthread_attr_getstackaddr' is deprecated, use `pthread_attr_getstack' CMakeFiles/mcpelauncher.dir/hybris/src/hooks.c.o: In function`my_pthread_attr_setstackaddr': hooks.c:(.text+0x3d7): warning: the use of `pthread_attr_setstackaddr' is deprecated, use`pthread_attr_setstack' /usr/bin/ld: cannot find -lEGL collect2: error: ld returned 1 exit status CMakeFiles/mcpelauncher.dir/build.make:581: recipe for target 'mcpelauncher' failed make[2]: **\* [mcpelauncher] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mcpelauncher.dir/all' failed make[1]: **\* [CMakeFiles/mcpelauncher.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: **\* [all] Error 2
andrusdiaz commented 8 years ago

tu problema es con el open gl : sudo apt-get install libgles2-mesa-dev:i386 libegl1-mesa-dev:i386 libmirclient-dev:i386 libwayland-dev:i386 libmircommon-dev:i386 libxkbcommon-dev:i386