Stuckie
Member
Oops, didn't realise you were devving direct from NAND... GTK is a big bugger :\
Sorry about that!
Sorry about that!
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lgio-2.0
collect2: ld returned 1 exit status
make[2]: *** [seq24] Error 1
make[2]: Leaving directory `/media/PAND4GB1/seq24-0/seq24-0.8.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/PAND4GB1/seq24-0/seq24-0.8.7/src'
make: *** [all-recursive] Error 1
gruseaux-openpandora:/media/PAND4GB1/seq24-0/seq24-0.8.7$
libgio-2.0-0
libfreetype6
libgobject-2.0-0
libgmodule-2.0-0
libgthread-2.0-0
libglib-2.0-0
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
snd_seq_open() error
sudo modprobe snd-seq
Gruso said:For now I've just dropped the modprobe command into a launcher icon. A bit clunky and it prompts me for password, but it's very late in the evening here and I feel it will do for now.
if ! lsmod|grep -q snd-seq;then
# the module isn't loaded
if ! grep -q snd-seq /etc/modules;then
# not loaded automagically
gksudo -D "load MIDI module on startup ?" "echo snd-seq>>/etc/modules"
fi
gksudo -D "load MIDI module" "modprobe -k snd-seq"
fi
This was giving me a permission denied error, just needed some root action:sebt3 said:sudo "echo snd-seq>>/etc/modules"
and be done with this
sudo su
echo snd-seq >> /etc/modules
Doing "ldd executable" should give you a nice list (not sure if it's installed on the Pandora by default though - something tells me it's not). You only need to include what's not already in /usr/lib or /lib in your PND, of course.Gruso said:Worst case, I presume there is a way to query a running app for this info? (Google could help me there, but no time for sidetracks right now).
libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0x40026000)
libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0x402ee000)
libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0x4032d000)
libgiomm-2.4.so.1 => /usr/lib/libgiomm-2.4.so.1 (0x4036d000)
libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0x403f9000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40422000)
libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0x407b1000)
libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0x407fd000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x4081e000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x4082a000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x408be000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x408e0000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x4095a000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x40985000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x409a4000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x409b4000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40a1b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40a5a000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40acf000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40b03000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40b36000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40b40000)
librt.so.1 => /lib/librt.so.1 (0x40b4c000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40b5b000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x40c26000)
libdl.so.2 => /lib/libdl.so.2 (0x40ce5000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40cf0000)
libjack.so.0 => /usr/lib/libjack.so.0 (0x40d0f000)
libm.so.6 => /lib/libm.so.6 (0x40d31000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x40da4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40e55000)
libc.so.6 => /lib/libc.so.6 (0x40e67000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40f8e000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x40fa9000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4100f000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x41036000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x41046000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x41161000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x4116c000)
libz.so.1 => /usr/lib/libz.so.1 (0x41178000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x41191000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x411bb000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x411c6000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x411d5000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x411e5000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x411ef000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x41205000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x4120f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x4121c000)
libpthread-stubs.so.0 => /usr/lib/libpthread-stubs.so.0 (0x41239000)
/lib/ld-linux.so.3 (0x40000000)
Not sure what's preventing you from copying the libraries - they're just files like any other. Still a good idea to set up an SD card though, that way you have the original firmware image to test on and it's easy to see which libraries are missing (the program will complain quite specifically if it can't find what it needs).Gruso said:I think I've isolated all the libraries I need to include. Now I need to grab these from their respective folders, but I'm not permitted to do that. I'm thinking I need to set up a firmware image on SD so I can boot from that, before copying files from the NAND. I had to do this anyway so maybe now is the best time.
Somewhere on there is a few lines on how to create the actual PND. Basically, make a directory, put your stuff in it, make an ISO/SquashFS from your directory and cat the PXML and icon to it. The PXML I'd just borrow from an existing packages. You shouldn't need too much from the cookbook either, just the LD_LIBRARY_PATH part. Stick at it, you're almost there ;-)I've just been reading up on libpnd and the pnd cookbook... aarrghhh this is one big mountain I have to climb. Feeling a little overwhelmed.