LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 03-31-2010, 11:59 PM   #1
ToKnownMore
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
Splash bootsplash with st sh4 arch


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
 
Old 04-01-2010, 12:04 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hi,

Your previous location where you posted this was as good a location as any, for this problem. If you had wanted to move your thread to a different location, you could use the REPORT button near the lower right corner of your post, and ask a moderator to move it for you. We don't mind.

Meanwhile, since this thread is a duplicate, it is scheduled for closure. Kindly post your question in one location only; this keeps the discussion in one place, and makes it easier for people to help you.

Thanks!
Sasha
 
1 members found this post helpful.
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Splashy bootsplash with st sh4 ToKnownMore Linux - Newbie 6 04-05-2010 12:14 AM
Printing: cups for sh4 jana05 Linux - Embedded & Single-board computer 3 05-31-2009 06:31 AM
Where to find Grub+Bootsplash+GDM+GNOME splash+Wallpaper themes that match? General Linux - Desktop 1 06-09-2007 12:10 AM
Grub Splash and Bootsplash strangeness circleback SUSE / openSUSE 3 05-17-2006 04:47 PM
GCC and SH4 Pantherman Programming 0 07-20-2003 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration