dtruchan: Can you post a howto compile this....?
get source
cvs -z9 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/gplflash co gplflash2
autogen outside dev enviroment.
configure craps out trying to run a test program while cross compiling.
XOpenDisplay is in libX11, it better be.
configure needs to ignore the test result, so I fool it.
edit configure, around line 20019
change
ac_cv_lib_X11_XOpenDisplay=no
to
ac_cv_lib_X11_XOpenDisplay=yes
configure it
./configure \
--host=armv5tel-cacko-linux \
--build=i686-linux \
--x-includes=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include \
--x-libraries=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib \
--prefix=/usr
should fail in player dir with the dumb libXxf86vm.so error.
Player is just a test program used for debugging.
switch to plugin/mozilla dir
run make
should fail
grab gcc line
armv5tel-cacko-linux-g++ -shared -nostdlib /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/../../../../armv5tel-cacko-linux/lib/crti.o /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/crtbeginS.o .libs/libnpflash_la-flash_interface.o .libs/libnpflash_la-plugin.o .libs/libnpflash_la-npunix.o -Wl,--whole-archive ../../lib/.libs/libflash2.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -Wl,--rpath -Wl,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -L/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -ljpeg -lX11 -lXt -lXext -lGL -lGLU -lavformat -lavcodec /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libSDL.so -L/home/sash/Work/Corgi/pdaXrom-builder/build/gcc-3.4.5-armv5tel-cacko-linux-stage2/armv5tel-cacko-linux/libstdc++-v3/src -L/home/sash/Work/Corgi/pdaXrom-builder/build/gcc-3.4.5-armv5tel-cacko-linux-stage2/armv5tel-cacko-linux/libstdc++-v3/src/.libs -L/home/sash/Work/Corgi/pdaXrom-builder/build/gcc-3.4.5-armv5tel-cacko-linux-stage2/gcc -L/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/bin -L/opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5 -L/opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/../../../../armv5tel-cacko-linux/lib -lpthread -L/usr/lib /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libxml2.so /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libfreetype.so /usr/lib/libfreetype.so /usr/lib/libxml2.so -ldl -lz /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libstdc++.so -lm -lc -lgcc_s /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/crtendS.o /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/../../../../armv5tel-cacko-linux/lib/crtn.o -Wl,-soname -Wl,libnpflash.so.0 -o .libs/libnpflash.so.0.0.0
find /usr/lib/libfreetype.so and /usr/lib/libxml2.so and remove them from the command.
run it
in .libs you'll have libnpflash.so.0.0.0
player is the same process, but libXxf86vm.so is not made with kdrive, it is not needed. just remove it from the gcc line too.
I havn't tried the konqueror plugin.
Fun right.