Splashy bootsplash with st sh4
Hi
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[2]: *** [libsplashycnf.la] Error 1 make[2]: Leaving directory `/home/palavesam/working/splashy/src' make[1]: *** [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 |
I also tried to search internet and various forum to get some idea...but couldnot do it successfully... i am also new to linux..
|
Hi
Any help would be good |
Hi
Am i in wrong section.... where can i get help for this problem... |
Quote:
You can add /home/project/target/usr/lib to $PATH ! Setting $PATH: 1. http://www.faqs.org/docs/Linux-mini/Path.html and 2. http://www.troubleshooters.com/linux/prepostpath.htm |
Hi anisha
thanks for your reply. Sorry to mention before...but i have checked the PATH environment variable before.. It doesnot contain usr/lib path.. also i had tried exporting home/project/target/usr/lib to PATH then also it gives the same error PATH=/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/STM/STLinux-2.2/devkit/sh4/bin:/opt/STM/STLinux-2.2/host/bin:/home/project/bin:/home/project/target/usr/lib |
See I did :
Code:
anisha@linux-p0mg:~> locate libglib See this section: http://www.troubleshooters.com/linux...d_post_pathing |
All times are GMT -5. The time now is 01:22 PM. |