DrTurk 133 Posted January 6, 2020 Share Posted January 6, 2020 (edited) So basicly im moving back to improved_packet_encryption due a small bug with shutdown command, which the auth doesnt receive without that encryption. I compiled cryptopp on windows for server and client, no problems. But on freebsd it doesnt work for me. Using: - FreeBSD 11.3 64bit - CryptoPP 5.6.4 Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Solution Jira 458 Posted January 7, 2020 Premium Solution Share Posted January 7, 2020 you must to build and link your libcryptopp with '-m32' compile option if you build a application with target x86 on freebsd amd64... what i mean ? https://www.geeksforgeeks.org/compile-32-bit-program-64-bit-gcc-c-c/ 1 1 Link to comment Share on other sites More sharing options...
DrTurk 133 Posted January 7, 2020 Author Share Posted January 7, 2020 vor 10 Stunden schrieb Moț: you must to build and link your libcryptopp with '-m32' compile option if you build a application with target x86 on freebsd amd64... what i mean ? https://www.geeksforgeeks.org/compile-32-bit-program-64-bit-gcc-c-c/ wow im so stupid, i did this legit 1 month ago in my whole source so much time wasted by beeing dumb oof. 1 Link to comment Share on other sites More sharing options...
OtherChoice 77 Posted January 9, 2020 Share Posted January 9, 2020 Also remember to set i386 os when debugging with gdb set gnutarget i386-marcel-freebsd Link to comment Share on other sites More sharing options...
DrTurk 133 Posted January 9, 2020 Author Share Posted January 9, 2020 im usually debugging on windows, but i used gdb 3 or 4 times on 64bit (i didnt set i386 for gdb) Link to comment Share on other sites More sharing options...
Nitro Booster xLoGaN 26 Posted January 9, 2020 Nitro Booster Share Posted January 9, 2020 for 64bit you don't need to use set gnutarget i386-marcel-freebsd its only for 32bit Link to comment Share on other sites More sharing options...
DrTurk 133 Posted January 9, 2020 Author Share Posted January 9, 2020 Ah okay, im always using 64bit, but good to know 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