torpor
hack hack hack, the little machines fight back
Install those packages!
This has been a problem with Angstrom for a long time. You need to compile mesa from source, or at least that's what I did. You can then install libglu-dev with opkg install --force-depends.Jdbye said:I have a problem, I can't install libgl1 in opkg, which means I can't install libgl-dev or libglu-dev so I can't compile mupen64plus, it's in the repo though: libgl1 1:7.2-r6.1 for armv7a (Ångström 2008.6 glibc armv7a base feed), so I'm stumped as to why it won't work, and I tried downloading the .ipk manually once before and installing it broke EGL_Init so mupen64plus wouldn't work at all. I'm not gonna try that again, but does anyone know why opkg won't install it?
Where exactly can I find the patch? I found this: http://maemo.org/packages/source/vi...free_source/mupen64plus-arm/20100929-0maemo1/ but it's just 1 big diff file with all the changes (I did see something about making OpenGL optional in there though)Ari64 said:This has been a problem with Angstrom for a long time. You need to compile mesa from source, or at least that's what I did. You can then install libglu-dev with opkg install --force-depends.Jdbye said:I have a problem, I can't install libgl1 in opkg, which means I can't install libgl-dev or libglu-dev so I can't compile mupen64plus, it's in the repo though: libgl1 1:7.2-r6.1 for armv7a (Ångström 2008.6 glibc armv7a base feed), so I'm stumped as to why it won't work, and I tried downloading the .ipk manually once before and installing it broke EGL_Init so mupen64plus wouldn't work at all. I'm not gonna try that again, but does anyone know why opkg won't install it?
Alternatively, you can remove the OpenGL code from the mupen64plus core. There's a patch to do this in the maemo repositories. OpenGL is only used for screenshots and a few other minor things, so it's not a huge problem to remove it.
#0 0x408397ec in g_atomic_int_exchange_and_add ()
from /usr/lib/libglib-2.0.so.0
#1 0x40766b28 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
#2 0x407e3b94 in g_list_foreach () from /usr/lib/libglib-2.0.so.0
#3 0x403bdfc0 in gtk_window_set_icon_list ()
from /usr/lib/libgtk-x11-2.0.so.0
#4 0x080cdf34 in ?? ()
Cannot access memory at address 0x0
#5 0x080cdf34 in ?? ()
Cannot access memory at address 0x0
That's it. You should only need the first three patches.Jdbye said:Where exactly can I find the patch? I found this: http://maemo.org/packages/source/vi...free_source/mupen64plus-arm/20100929-0maemo1/ but it's just 1 big diff file with all the changes (I did see something about making OpenGL optional in there though)
Crashes after what logo?Jdbye said:Edit: I applied just the opengl patches, but my compiled mupen64plus segfaults after the logo, that's the same problem i had when i was cross compiling and manually removed the opengl parts, any idea why? How do you debug linux apps?
I haven't seen anything like this. The GTK GUI works fine for me. What triggers this crash?Jdbye said:Edit2: From GDB traceWhat could be causing this?Code:#0 0x408397ec in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0 #1 0x40766b28 in g_object_ref () from /usr/lib/libgobject-2.0.so.0 #2 0x407e3b94 in g_list_foreach () from /usr/lib/libglib-2.0.so.0 #3 0x403bdfc0 in gtk_window_set_icon_list () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x080cdf34 in ?? () Cannot access memory at address 0x0 #5 0x080cdf34 in ?? () Cannot access memory at address 0x0
Right after the ascii logo in the terminal.Ari64 said:That's it. You should only need the first three patches.Jdbye said:Where exactly can I find the patch? I found this: http://maemo.org/packages/source/vi...free_source/mupen64plus-arm/20100929-0maemo1/ but it's just 1 big diff file with all the changes (I did see something about making OpenGL optional in there though)
Crashes after what logo?Jdbye said:Edit: I applied just the opengl patches, but my compiled mupen64plus segfaults after the logo, that's the same problem i had when i was cross compiling and manually removed the opengl parts, any idea why? How do you debug linux apps?
I haven't seen anything like this. The GTK GUI works fine for me. What triggers this crash?Jdbye said:Edit2: From GDB traceWhat could be causing this?Code:#0 0x408397ec in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0 #1 0x40766b28 in g_object_ref () from /usr/lib/libgobject-2.0.so.0 #2 0x407e3b94 in g_list_foreach () from /usr/lib/libglib-2.0.so.0 #3 0x403bdfc0 in gtk_window_set_icon_list () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x080cdf34 in ?? () Cannot access memory at address 0x0 #5 0x080cdf34 in ?? () Cannot access memory at address 0x0
There must be something unusual about your setup, because the GUI is unmodified from mupen64plus v1.5, and works on many different Linux distributions. Try clearing your configuration files.Jdbye said:Right after the ascii logo in the terminal.Ari64 said:I haven't seen anything like this. The GTK GUI works fine for me. What triggers this crash?
It's the default configuration files that were in the source, and the existing PND works fine.Ari64 said:There must be something unusual about your setup, because the GUI is unmodified from mupen64plus v1.5, and works on many different Linux distributions. Try clearing your configuration files.Jdbye said:Right after the ascii logo in the terminal.Ari64 said:I haven't seen anything like this. The GTK GUI works fine for me. What triggers this crash?
#0 0x408397ec in g_atomic_int_exchange_and_add ()
from /usr/lib/libglib-2.0.so.0
#1 0x40766b28 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
#2 0x407e3b94 in g_list_foreach () from /usr/lib/libglib-2.0.so.0
#3 0x403bdfc0 in gtk_window_set_icon_list ()
from /usr/lib/libgtk-x11-2.0.so.0
#4 0x080cdf34 in create_mainWindow () at main/gui_gtk/main_gtk.c:1214
#5 0x080cf8a8 in gui_init (argc=0xbea61884, argv=0xbea61880)
at main/gui_gtk/main_gtk.c:100
#6 0x08003544 in main (argc=Cannot access memory at address 0xc6b538a0
) at main/main.c:1488
Sorry, I went kind of off topic there, I also posted in the Mupen64Plus thread but Ari64 responded here, so it just continued like that...torpor said:Hey .. umm .. guys .. you're getting mupen64plus debugging messages in my "bollocks to the toolchain" thread .. maybe you can start a new thread for this? I don't think this problem is toolchain related .. looks more like a NULL pointer dereference to me (just a glib look) ..
skeezix said:I found of late that instead of opkg installing the works (as I reflash pretty much 2-3 times a week so its a pita for me to opkg install everythign over and over I just use a stuckie extend for Debian, and made a few GB overlay, and just apt-get installed the works there; that way it survives across reflashes (thogh dmittedly his debian extend is aging
Since this thread popped back up here, thought I'd note this anyway; after a bajillion opkg gcc and emac installs, I'm currently happy using the debian one for native builds. (and a swap js handy sometimes too when building big stuff.)
Mind you, using a debian-extend is no good for driver work or thigns that depend very tightly on such things.