PilzAdam wrote:Can you post the commands you used to compile?
sfan5 wrote:The "y�P+" looks suspicious, maybe your Irrlicht library is broken?
sfan5 wrote:The "y�P+" looks suspicious, maybe your Irrlicht library is broken?
ssieb wrote:sfan5 wrote:The "y�P+" looks suspicious, maybe your Irrlicht library is broken?
Yes, the reason you get random garbage is because the structure changed between versions. Minetest is compiled against the new headers so thinks the version string pointer is at a certain position, but the library actually has it elsewhere.
sfan5 wrote:ssieb wrote:sfan5 wrote:The "y�P+" looks suspicious, maybe your Irrlicht library is broken?
Yes, the reason you get random garbage is because the structure changed between versions. Minetest is compiled against the new headers so thinks the version string pointer is at a certain position, but the library actually has it elsewhere.
Minetest compiles fine for me with Irrlicht 1.7.2 and 1.8
./minetest
Warning: The library version of the Irrlicht Engine (1.7.3) does not match the version the application was compiled with ($�). This may cause problems.
Erreur de segmentation (core dumped)
(gdb) run
Starting program: /home/alexandre/Téléchargements/Minetest/minetest-master/bin/minetest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Warning: The library version of the Irrlicht Engine (1.7.3) does not match the version the application was compiled with ($�). This may cause problems.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7c6a169 in irr::gui::CGUIEditBox::CGUIEditBox(wchar_t const*, bool, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int> const&) () from /lib64/libIrrlicht.so.1
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-7.fc18.x86_64 cyrus-sasl-lib-2.1.23-37.fc18.x86_64 glibc-2.16-30.fc18.x86_64 irrXML-1.2-12.fc18.x86_64 irrlicht-1.7.3-12.fc18.x86_64 keyutils-libs-1.5.5-3.fc18.x86_64 krb5-libs-1.10.3-15.fc18.x86_64 libICE-1.0.8-2.fc18.x86_64 libSM-1.2.1-2.fc18.x86_64 libX11-1.5.0-3.fc18.x86_64 libXau-1.0.6-4.fc18.x86_64 libXcursor-1.1.13-2.fc18.x86_64 libXext-1.3.1-2.fc18.x86_64 libXfixes-5.0-3.fc18.x86_64 libXrender-0.9.7-2.fc18.x86_64 libXxf86vm-1.1.2-2.fc18.x86_64 libaesgm-20090429-6.fc18.x86_64 libcom_err-1.42.5-1.fc18.x86_64 libcurl-7.27.0-8.fc18.x86_64 libgcc-4.7.2-8.fc18.x86_64 libidn-1.26-1.fc18.x86_64 libjpeg-turbo-1.2.90-1.fc18.x86_64 libogg-1.3.0-2.fc18.x86_64 libpng-1.5.13-1.fc18.x86_64 libselinux-2.1.12-7.3.fc18.x86_64 libssh2-1.4.3-2.fc18.x86_64 libstdc++-4.7.2-8.fc18.x86_64 libuuid-2.22.2-6.fc18.x86_64 libvorbis-1.3.3-3.fc18.x86_64 libxcb-1.9-1.fc18.x86_64 mesa-libGLU-9.0.0-1.fc18.x86_64 nspr-4.9.5-2.fc18.x86_64 nss-3.14.3-1.fc18.x86_64 nss-softokn-freebl-3.14.3-1.fc18.x86_64 nss-util-3.14.3-1.fc18.x86_64 openal-soft-1.15.1-1.fc18.x86_64 openldap-2.4.34-1.fc18.x86_64 openssl-libs-1.0.1e-4.fc18.x86_64 pcre-8.31-4.fc18.x86_64 zlib-1.2.7-9.fc18.x86_64
(gdb) bt full
#0 0x00007ffff7c6a169 in irr::gui::CGUIEditBox::CGUIEditBox(wchar_t const*, bool, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int> const&) () from /lib64/libIrrlicht.so.1
No symbol table info available.
#1 0x00007ffff7c6dbcb in irr::gui::CGUIEnvironment::addEditBox(wchar_t const*, irr::core::rect<int> const&, bool, irr::gui::IGUIElement*, int) ()
from /lib64/libIrrlicht.so.1
No symbol table info available.
#2 0x000000000048f13a in main ()
No symbol table info available.
(gdb)
ssieb wrote:See the bug I filed at https://bugzilla.redhat.com/show_bug.cgi?id=928037
They added the new irrlicht version while keeping the old one. But the new headers replaced the old ones, so when you compile minetest, it gets the wrong headers. I put a patch for the spec file in the bug.
cmake . -DRUN_IN_PLACE=1 -DIRRLICHT_INCLUDE_DIR=/usr/include/irrlicht18 -DIRRLICHT_LIBRARY=/usr/lib64/libIrrlicht18.so
make -j9
cmake . -DRUN_IN_PLACE=1 -DIRRLICHT_INCLUDE_DIR=/usr/include/irrlicht -DIRRLICHT_LIBRARY=/usr/lib64/libIrrlicht18.so.1
make -j9
Users browsing this forum: No registered users and 4 guests