I wanted to implement Splash Screen during bootup on my Set top box( ST-sh4 architecture ). After reading through the internet i found splashy and decided to try this as this doesnot require any kernel patch.(http://splashy.alioth.debian.org/wiki/start
since i didnot find direct build for sh4 i downloaded the code and tried to cross compile it for sh4 architecute
I was able to do the ./configure and generate the make command
./configure --prefix=/home/project/target --exec-prefix=/home/project/target/usr --libdir=/home/project/target/usr/lib --datarootdir=/home/project/target/usr/share CC=sh4-linux-gcc --host=sh4-linux
also set the env variable PKG_CONFIG_PATH = /home/project/target/usr/lib/pkgconfig
Now when i do make i get following error
cat .libs/libsplashycnf.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libsplashycnf.ver
echo "local: *; };" >> .libs/libsplashycnf.ver
sh4-linux-gcc -shared .libs/xml_config.o .libs/xml_parser.o -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libsplashycnf.so.1 -Wl,-version-script -Wl,.libs/libsplashycnf.ver -o .libs/libsplashycnf.so.1.0.0
/usr/lib/libglib-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [libsplashycnf.la] Error 1
make: Leaving directory `/home/palavesam/working/splashy/src'
make: *** [all-recursive] Error 1
The program is trying to read libglib-2.0.so from usr/lib directory but this is not the correct path it need to read from /home/project/target/usr/lib
I did a total search of all the places where usr/lib is being used inside splashy folder and replaced it with /home/project/target/usr/lib but then also every time its looking for usr/lib directory only..
I have almost tried this for 3 days...
Can anyone help me ... how can i change this hardcored path /usr/lib