Ok, no go still. The script may be wrong but here is what I found...
If I comment out LD_LIBRARY_PATH in the dev-x86-qpe.sh script, it will compile but when I try to run it using ./example -qws it doesn\'t work...so I put it back in.
If I comment out LD_LIBRARY_PATH in the dev-arm-qpe.sh script, it still gets link errors, but different ones...
arm-linux-gcc -o example main.o example.o examplebase.o moc_example.o moc_examp lebase.o -L/opt/Qtopia/sharp/lib -L/opt/Qtopia/sharp/lib -lqpe -lqtopia -lqte
/opt/Embedix/tools/arm-linux/bin/ld: warning: libuuid.so.1, needed by /opt/Qtopi a/sharp/lib/libqtopia.so, not found (try using -rpath or -rpath-link)
/opt/Embedix/tools/arm-linux/bin/ld: warning: libjpeg.so.62, needed by /opt/Qtop ia/sharp/lib/libqte.so, not found (try using -rpath or -rpath-link)
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_read_scanlines\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_set_defaults\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_start_decompress\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_destroy_decompress \'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_std_error\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_CreateDecompress\'
/opt/Qtopia/sharp/lib/libqtopia.so: undefined reference to `uuid_generate\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_read_header\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_start_compress\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_destroy_compress\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_finish_decompress\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_resync_to_restart\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_CreateCompress\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_finish_compress\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_set_quality\'
/opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_write_scanlines\'
collect2: ld returned 1 exit status
make: *** [example] Error 1
My scripts now look like this:
#!/bin/bash
# dev-x86-qpe.sh script
CROSSCOMPILE=/opt/Embedix/tools/arm-linux/bin:/opt/Embedix/tools/bin
QPEDIR=/opt/Qtopia
QTDIR=/opt/Qtopia
PATH=${QTDIR}/bin:${QPEDIR}/bin:${PATH}:${CROSSCOMPILE}
TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-x86-g++/
LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
export QPEDIR QTDIR PATH TMAKEPATH LD_LIBRARY_PATH
echo \"Altered environment for Sharp Zaurus Development x86\"
#!/bin/bash
# dev-arm-qpe.sh script
CROSSCOMPILE=/opt/Embedix/tools/arm-linux/bin:/opt/Embedix/tools/bin
QPEDIR=/opt/Qtopia/sharp
QTDIR=/opt/Qtopia/sharp
PATH=${QTDIR}/bin:${QPEDIR}/bin:${CROSSCOMPILE}:${PATH}
TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++/
#LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
export QPEDIR QTDIR PATH TMAKEPATH LD_LIBRARY_PATH
echo \"Altered environment for Sharp Zaurus Development ARM\"
Thanks again for your help guys!
Doc