Risan 115 Posted December 13, 2014 Share Posted December 13, 2014 Hello, i will Compile this ( http://metin2dev.org/board/index.php/topic/4066-core-sources-enhancemt-working-together-to-improve-core-sources/) on Linux. I use Debian 7.7.0 x32... root@debian:/usr/mt2/cmake-3.0.2-Linux-i386/bin/src/libthecore# uname -a Linux debian 3.2.0-4-486 #1 Debian 3.2.63-2+deb7u2 i686 GNU/Linux The Error: root@debian:/usr/mt2/cmake-3.0.2-Linux-i386/bin/src/libthecore# make [ 14%] Building CXX object src/libthecore/CMakeFiles/libthecore.dir/fdwatch.cpp.o /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âfdwatch* fdwatch_new(int)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:276:5: error: âstruct fdwatchâ has no member named ârfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:277:5: error: âstruct fdwatchâ has no member named âwfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:279:5: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:280:5: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:282:7: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âvoid fdwatch_delete(LPFDWATCH)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:294:15: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:295:15: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âint fdwatch_get_fdidx(LPFDWATCH, socket_t)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:305:23: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:306:12: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âvoid fdwatch_add_fd(LPFDWATCH, socket_t, void*, int, int)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:317:12: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:320:14: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:321:8: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:321:24: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:329:2: error: âstruct fdwatchâ has no member named ârfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:332:2: error: âstruct fdwatchâ has no member named âwfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âvoid fdwatch_del_fd(LPFDWATCH, socket_t)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:337:11: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:345:9: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:347:7: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:347:30: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:347:46: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:348:43: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:349:39: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:351:5: error: âstruct fdwatchâ has no member named ârfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:352:5: error: âstruct fdwatchâ has no member named âwfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âint fdwatch(LPFDWATCH, timeval*)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:360:10: error: âstruct fdwatchâ has no member named âworking_rfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:360:33: error: âstruct fdwatchâ has no member named ârfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:361:10: error: âstruct fdwatchâ has no member named âworking_wfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:361:33: error: âstruct fdwatchâ has no member named âwfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:367:22: error: âstruct fdwatchâ has no member named âworking_rfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:367:45: error: âstruct fdwatchâ has no member named âworking_wfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:372:22: error: âstruct fdwatchâ has no member named âworking_rfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:372:45: error: âstruct fdwatchâ has no member named âworking_wfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:380:26: error: âstruct fdwatchâ has no member named ânselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:382:34: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:383:9: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âint fdwatch_check_fd(LPFDWATCH, socket_t)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:396:38: error: âstruct fdwatchâ has no member named âworking_rfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:399:39: error: âstruct fdwatchâ has no member named âworking_wfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âvoid* fdwatch_get_client_data(LPFDWATCH, unsigned int)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:407:17: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âint fdwatch_get_ident(LPFDWATCH, unsigned int)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:416:17: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:420:19: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âvoid fdwatch_clear_event(LPFDWATCH, socket_t, unsigned int)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:425:17: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:429:22: error: âstruct fdwatchâ has no member named âselect_fdsâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:433:5: error: âstruct fdwatchâ has no member named âworking_rfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:434:5: error: âstruct fdwatchâ has no member named âworking_wfd_setâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp: In function âint fdwatch_check_event(LPFDWATCH, socket_t, unsigned int)â: /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:439:17: error: âstruct fdwatchâ has no member named âselect_rfdidxâ /usr/mt2/Server-master/src/libthecore/fdwatch.cpp:443:22: error: âstruct fdwatchâ has no member named âselect_fdsâ make[2]: *** [src/libthecore/CMakeFiles/libthecore.dir/fdwatch.cpp.o] Fehler 1 make[1]: *** [src/libthecore/CMakeFiles/libthecore.dir/all] Fehler 2 make: *** [all] Fehler 2 root@debian:/usr/mt2/cmake-3.0.2-Linux-i386/bin/src/libthecore# root@debian:/usr/mt2/cmake-3.0.2-Linux-i386/bin/src/libthecore# On Windows is all Works.. lua and shared is compile on Linux finish.. I Hope everbody can help.. Link to comment Share on other sites More sharing options...
Reboot 772 Posted December 13, 2014 Share Posted December 13, 2014 What is compiler? You included the compiler libraries? Link to comment Share on other sites More sharing options...
Risan 115 Posted December 13, 2014 Author Share Posted December 13, 2014 gcc... yes is all included... Link to comment Share on other sites More sharing options...
Honorable Member NoFr1ends 754 Posted December 13, 2014 Honorable Member Share Posted December 13, 2014 Did you ported the source to debian? By default Metin2 use libraries which aren't available under Debian. Kind regards Chuck Link to comment Share on other sites More sharing options...
CrashTest 0 Posted September 7, 2015 Share Posted September 7, 2015 Hello guys, I've the same error and I don't know how to fix, have you some suggestion on how to resolve? Link to comment Share on other sites More sharing options...
FiszuSobieGra 1 Posted November 8, 2016 Share Posted November 8, 2016 libthecore/include/fdwatch.h Line 4 #ifndef __WIN32__ -> #ifdef __WIN32__ Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now