Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Can not compile on Lubuntu. #412

Open
govnokoder opened this issue Jun 27, 2018 · 1 comment
Open

Can not compile on Lubuntu. #412

govnokoder opened this issue Jun 27, 2018 · 1 comment

Comments

@govnokoder
Copy link

Hi. I have an issue while i do latest step. Sorry for bad english.

usr@usr-K42DY:~/mcpelauncher-linux$ make
Scanning dependencies of target server
[  3%] Building C object CMakeFiles/server.dir/libs/hybris/src/cache.c.o
[  6%] Building C object CMakeFiles/server.dir/libs/hybris/src/dlfcn.c.o
[  9%] Building C object CMakeFiles/server.dir/libs/hybris/src/hooks.c.o
[ 12%] Building C object CMakeFiles/server.dir/libs/hybris/src/hooks_shm.c.o
[ 16%] Building C object CMakeFiles/server.dir/libs/hybris/src/logging.c.o
[ 19%] Building C object CMakeFiles/server.dir/libs/hybris/src/properties.c.o
[ 22%] Building C object CMakeFiles/server.dir/libs/hybris/src/strlcpy.c.o
[ 25%] Building C object CMakeFiles/server.dir/libs/hybris/src/ctype.c.o
[ 29%] Building C object CMakeFiles/server.dir/libs/hybris/src/sysconf.c.o
[ 32%] Building C object CMakeFiles/server.dir/libs/hybris/src/jb/dlfcn.c.o
[ 35%] Building C object CMakeFiles/server.dir/libs/hybris/src/jb/linker.c.o
/home/usr/mcpelauncher-linux/libs/hybris/src/jb/linker.c: In function ‘alloc_info’:
/home/usr/mcpelauncher-linux/libs/hybris/src/jb/linker.c:287:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
     strlcpy((char*) si->name, name, sizeof(si->name));
     ^~~~~~~
     strncpy
/home/usr/mcpelauncher-linux/libs/hybris/src/jb/linker.c: In function ‘reloc_library’:
/home/usr/mcpelauncher-linux/libs/hybris/src/jb/linker.c:1358:24: warning: implicit declaration of function ‘get_hooked_symbol’ [-Wimplicit-function-declaration]
             sym_addr = get_hooked_symbol(sym_name);
                        ^~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/libs/hybris/src/jb/linker.c:1359:26: warning: comparison between pointer and integer
             if (sym_addr != NULL) {
                          ^~
/home/usr/mcpelauncher-linux/libs/hybris/src/jb/linker.c:1365:25: warning: comparison between pointer and integer
             if(sym_addr == NULL)
                         ^~
[ 38%] Building C object CMakeFiles/server.dir/libs/hybris/src/jb/linker_environ.c.o
[ 41%] Building C object CMakeFiles/server.dir/libs/hybris/src/jb/linker_format.c.o
[ 45%] Building C object CMakeFiles/server.dir/libs/hybris/src/jb/rt.c.o
[ 48%] Building C object CMakeFiles/server.dir/libs/hybris/src/hooks_pthread.c.o
[ 51%] Building C object CMakeFiles/server.dir/libs/hybris/src/hooks_dirent.c.o
/home/usr/mcpelauncher-linux/libs/hybris/src/hooks_dirent.c: In function ‘my_readdir_r’:
/home/usr/mcpelauncher-linux/libs/hybris/src/hooks_dirent.c:58:5: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
     int res = readdir_r(dir, &entry_r, &result_r);
     ^~~
In file included from /home/usr/mcpelauncher-linux/libs/hybris/src/hooks_dirent.c:3:0:
/usr/include/dirent.h:183:12: note: declared here
 extern int readdir_r (DIR *__restrict __dirp,
            ^~~~~~~~~
/home/usr/mcpelauncher-linux/libs/hybris/src/hooks_dirent.c: In function ‘my_scandir’:
/home/usr/mcpelauncher-linux/libs/hybris/src/hooks_dirent.c:153:58: warning: passing argument 5 of ‘my_scandirat’ from incompatible pointer type [-Wincompatible-pointer-types]
     return my_scandirat(AT_FDCWD, dir, namelist, filter, (__compar_fn_t) compar);
                                                          ^
/home/usr/mcpelauncher-linux/libs/hybris/src/hooks_dirent.c:94:12: note: expected ‘int (*)(const struct bionic_dirent **, const struct bionic_dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’
 static int my_scandirat(int fd, const char *dir,
            ^~~~~~~~~~~~
[ 54%] Building C object CMakeFiles/server.dir/libs/hybris/src/hooks_io.c.o
[ 58%] Building C object CMakeFiles/server.dir/libs/hybris/src/hooks_net.c.o
[ 61%] Building CXX object CMakeFiles/server.dir/src/common/common.cpp.o
[ 64%] Building CXX object CMakeFiles/server.dir/src/common/hook.cpp.o
[ 67%] Building CXX object CMakeFiles/server.dir/src/client/appplatform.cpp.o
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp: In static member function ‘static void LinuxAppPlatform::initVtable(void*)’:
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:71:104: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 ZNK19AppPlatform_android10getDataUrlEv", (void*) &LinuxAppPlatform::getDataUrl);
                                                                     ^~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:72:108: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 9AppPlatform_android14getUserDataUrlEv", (void*) &LinuxAppPlatform::getUserDataUrl);
                                                                     ^~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:73:107: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 9AppPlatform_android14getPackagePathEv", (void*) &LinuxAppPlatform::getPackagePath);
                                                                     ^~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:74:101: warning: converting from ‘void (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
  "_ZN11AppPlatform16hideMousePointerEv", (void*) &LinuxAppPlatform::hideMousePointer);
                                                                     ^~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:75:101: warning: converting from ‘void (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
  "_ZN11AppPlatform16showMousePointerEv", (void*) &LinuxAppPlatform::showMousePointer);
                                                                     ^~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:76:104: warning: converting from ‘void (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 ZN19AppPlatform_android11swapBuffersEv", (void*) &LinuxAppPlatform::swapBuffers);
                                                                     ^~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:77:109: warning: converting from ‘const mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 AppPlatform_android15getSystemRegionEv", (void*) &LinuxAppPlatform::getSystemRegion);
                                                                     ^~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:78:118: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 m_android25getGraphicsTearingSupportEv", (void*) &LinuxAppPlatform::getGraphicsTearingSupport);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:79:123: warning: converting from ‘void (LinuxAppPlatform::*)(ImagePickingCallback&)’ to ‘void*’ [-Wpmf-conversions]
 roid9pickImageER20ImagePickingCallback", (void*) &LinuxAppPlatform::pickImage);
                                                                     ^~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:80:112: warning: converting from ‘void (LinuxAppPlatform::*)(FilePickerSettings&)’ to ‘void*’ [-Wpmf-conversions]
 Platform8pickFileER18FilePickerSettings", (void*) &LinuxAppPlatform::pickFile);
                                                                      ^~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:81:105: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 NK11AppPlatform19supportsFilePickingEv", (void*) &LinuxAppPlatform::supportsFilePicking);
                                                                     ^~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:82:115: warning: converting from ‘mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 form_android22getExternalStoragePathEv", (void*) &LinuxAppPlatform::getExternalStoragePath);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:83:115: warning: converting from ‘mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 form_android22getInternalStoragePathEv", (void*) &LinuxAppPlatform::getInternalStoragePath);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:84:114: warning: converting from ‘mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 tform_android21getCurrentStoragePathEv", (void*) &LinuxAppPlatform::getCurrentStoragePath);
                                                                     ^~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:85:108: warning: converting from ‘mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 AppPlatform_android15getUserdataPathEv", (void*) &LinuxAppPlatform::getUserdataPath);
                                                                     ^~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:86:117: warning: converting from ‘mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 rm_android24getUserdataPathForLevelsEv", (void*) &LinuxAppPlatform::getUserdataPathForLevels);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:87:108: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)(const mcpe::string&)’ to ‘void*’ [-Wpmf-conversions]
 AppPlatform20getAssetFileFullPathERKSs", (void*) &LinuxAppPlatform::getAssetFileFullPath);
                                                                     ^~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:88:100: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 , "_ZNK11AppPlatform14useCenteredGUIEv", (void*) &LinuxAppPlatform::useCenteredGUI);
                                                                     ^~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:89:109: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 ppPlatform_android16getApplicationIdEv", (void*) &LinuxAppPlatform::getApplicationId);
                                                                     ^~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:90:118: warning: converting from ‘void (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 m_android25_updateUsedMemorySnapshotEv", (void*) &LinuxAppPlatform::_updateUsedMemorySnapshot);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:91:123: warning: converting from ‘void (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 roid30_updateAvailableMemorySnapshotEv", (void*) &LinuxAppPlatform::_updateAvailableMemorySnapshot);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:92:119: warning: converting from ‘void (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 _android26_updateTotalMemorySnapshotEv", (void*) &LinuxAppPlatform::_updateTotalMemorySnapshot);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:93:104: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 ZN19AppPlatform_android11getDeviceIdEv", (void*) &LinuxAppPlatform::getDeviceId);
                                                                     ^~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:94:111: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 Platform_android18isFirstSnoopLaunchEv", (void*) &LinuxAppPlatform::isFirstSnoopLaunch);
                                                                     ^~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:95:122: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 droid29hasHardwareInformationChangedEv", (void*) &LinuxAppPlatform::hasHardwareInformationChanged);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:96:100: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 a, "_ZN19AppPlatform_android8isTabletEv", (void*) &LinuxAppPlatform::isTablet);
                                                                      ^~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:97:117: warning: converting from ‘void (LinuxAppPlatform::*)(int)’ to ‘void*’ [-Wpmf-conversions]
 rm17setFullscreenModeE14FullscreenMode", (void*) &LinuxAppPlatform::setFullscreenMode);
                                                                     ^~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:98:104: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 ZNK19AppPlatform_android10getEditionEv", (void*) &LinuxAppPlatform::getEdition);
                                                                     ^~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:99:127: warning: converting from ‘long long int (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 31calculateAvailableDiskFreeSpaceERKSs", (void*) &LinuxAppPlatform::calculateAvailableDiskFreeSpace);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:100:119: warning: converting from ‘int (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 m_android25getPlatformUIScalingRulesEv", (void*) &LinuxAppPlatform::getPlatformUIScalingRules);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:101:112: warning: converting from ‘mcpe::string& (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 latform_android19getPlatformTempPathEv", (void*) &LinuxAppPlatform::getPlatformTempPath);
                                                                     ^~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:102:107: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 9AppPlatform_android14createDeviceIDEv", (void*) &LinuxAppPlatform::createDeviceID_old);
                                                                     ^~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:103:109: warning: converting from ‘mcpe::string (LinuxAppPlatform::*)(const string&) {aka mcpe::string (LinuxAppPlatform::*)(const std::__cxx11::basic_string<char>&)}’ to ‘void*’ [-Wpmf-conversions]
 ppPlatform_android14createDeviceIDERSs", (void*) &LinuxAppPlatform::createDeviceID);
                                                                     ^~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:104:127: warning: converting from ‘void (LinuxAppPlatform::*)(std::function<void()>)’ to ‘void*’ [-Wpmf-conversions]
 18queueForMainThreadESt8functionIFvvEE", (void*) &LinuxAppPlatform::queueForMainThread);
                                                                     ^~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:105:128: warning: converting from ‘std::vector<std::shared_ptr<Social::MultiplayerService> > (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
 5getMultiplayerServiceListToRegisterEv", (void*) &LinuxAppPlatform::getMultiplayerServiceListToRegister);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/usr/mcpelauncher-linux/src/client/appplatform.cpp:106:101: warning: converting from ‘bool (LinuxAppPlatform::*)()’ to ‘void*’ [-Wpmf-conversions]
  "_ZN11AppPlatform16allowSplitScreenEv", (void*) &LinuxAppPlatform::allowSplitScreen);
                                                                     ^~~~~~~~~~~~~~~~
[ 70%] Building CXX object CMakeFiles/server.dir/src/minecraft/string.cpp.o
[ 74%] Building CXX object CMakeFiles/server.dir/src/common/base64.cpp.o
[ 77%] Building CXX object CMakeFiles/server.dir/src/common/extract.cpp.o
[ 80%] Building CXX object CMakeFiles/server.dir/src/common/path_helper.cpp.o
[ 83%] Building CXX object CMakeFiles/server.dir/src/common/log.cpp.o
[ 87%] Building CXX object CMakeFiles/server.dir/src/minecraft/symbols.cpp.o
/home/usr/mcpelauncher-linux/src/minecraft/symbols.cpp: In function ‘void minecraft_symbols_init(void*)’:
/home/usr/mcpelauncher-linux/src/minecraft/symbols.cpp:545:34: warning: casting ‘void**’ to ‘void*&’ does not dereference pointer
     ((void*&) ResourcePackStack::vtable_sym) = hybris_dlsym(handle, "_ZTV17ResourcePackStack");
                                  ^~~~~~~~~~
/home/usr/mcpelauncher-linux/src/minecraft/symbols.cpp:593:28: warning: casting ‘void**’ to ‘void*&’ does not dereference pointer
     ((void*&) AppPlatform::myVtable) = hybris_dlsym(handle, "_ZTV11AppPlatform");
                            ^~~~~~~~
[ 90%] Building CXX object CMakeFiles/server.dir/src/common/modloader.cpp.o
[ 93%] Building CXX object CMakeFiles/server.dir/src/server/server.cpp.o
[ 96%] Building CXX object CMakeFiles/server.dir/src/server/server_properties.cpp.o
[100%] Linking CXX executable server
[100%] Built target server
@lukeeey
Copy link

lukeeey commented Jun 27, 2018

The build was successful...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants