LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-21-2007, 12:28 PM   #1
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
splashutils compile error


I have applied these patches to a 2.6.20.14 kernel:

vesafb-tng-1.0-rc2-2.6.20-rc2.patch
fbsplash-0.9.2-r5-2.6.20-rc6.patch

and I have tried using the utils from this site.

I can build the kernel, create the initrd and boot from grub with this line:
Code:
title  fbSplash-2.6.20.14a
kernel (hd0,2)/fbSplash-2.6.20.14a root=/dev/sda9 resume=/dev/sda6 pci=assign-busses video=vesafb:1024x768-32@60,mtrr,ywrap splash=silent,theme:BCSI,tty:8 quiet CONSOLE=/dev/tty1
initrd (hd0,2)/fbsplash-BCSI-1024x768
fbsplash still didn't seem to work correctly.

1. The splash images come up, but it doesn't move from the 'silent' image to a login console (have to push ctrl+alt+f1-6) after booting is complete.

2. progress bars & animations don't work.

so I thought it must be the version of splashutils on the j79zlr page. (binaries from gentoo, and for an older version kernel 2.6.15)

so I downloaded the -current splashutils source

I read and find that klibc is required. I get the latest, build and install - no problems.

So then I ./configure and make (in the splashutils) I get this error now:

Code:
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -lcms
collect2: ld returned 1 exit status
make: *** [objs/splash_util] Error 1
so I look for liblcms:
Code:
$ slocate liblcms
/lib/liblcms.la
/lib/liblcms.so
/usr/lib/liblcms.so.1
/usr/lib/liblcms.so.1.0.15
/usr/lib/liblcms.la
/usr/lib/liblcms.so
/usr/local/lib/liblcms.so.1
/usr/local/lib/liblcms.so
$ slocate lcms.h
/usr/include/lcms.h
to see if it was finding other dependency libs I also looked for libmng:
Code:
$ slocate libmng
/usr/lib/libmng.la
/usr/lib/libmng.so
/usr/lib/libmng.so.1.0.0
/usr/lib/libmng.so.1
/usr/lib/libmng.a
..
/usr/include/libmng.h
I also tried creating links in /lib to the liblcms.* (followed by ldconfig) but still no luck.

to me, it seems it can find the mng library but not the lcms for some reason. wierd? is this perhaps a versioning thing? should I try and upgrade my lcms libs?

I did do an LQ-slackware search but only I found this thread which was a bit discouraging..

any help?
 
Old 06-22-2007, 01:57 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Try:
LD_LIBRARY_PATH=/usr/lib make
 
Old 06-22-2007, 09:52 AM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
thanks, I tried that - same error.
 
Old 06-22-2007, 09:57 AM   #4
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
is there anything significant about not having a 'liblcms.a' file? I notice there is '/usr/lib/libmng.a' but not for lcms...

I don't really know what those lib extensions mean.

update

well, I built lcms-1.16 (slack-11 stock is 1.15) and now I do get a liblcms.a file, but it seems to make no difference.

I checked my lib cache:
Code:
# ldconfig -p | grep lcms
        liblcms.so.1 (libc6) => /usr/lib/liblcms.so.1
        liblcms.so (libc6) => /usr/lib/liblcms.so
# ldconfig -p | grep mng 
        libmng.so.1 (libc6) => /usr/lib/libmng.so.1
        libmng.so (libc6) => /usr/lib/libmng.so
which seems correct? and certainly the '-lmng' seems to be fine (no error) and it has equivalent files/locations as the lcms.

perhaps I should try moving the lcms source into the splashutils build directory?

Last edited by bioe007; 06-22-2007 at 11:09 AM.
 
Old 06-25-2007, 12:37 AM   #5
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
i should correct my first post where the error message was about not finding '-lcms' it should be '-llcms'

anyone else have any ideas?

I have contacted the devel but have not made any progress. I am now trying this on another box, but still no luck (same error)

there must be _some_ way to compile this eh?
 
Old 06-25-2007, 03:41 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Did you try installing your compiled version of liblcms? Or even just copying your compiled liblcms.a into /usr/lib and then trying to compile the splashutils? (the -l cuts off 'lib' from the lib names so -llcms is the correct one)
 
Old 06-25-2007, 12:34 PM   #7
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
I did removepkg liblcms<old> and install liblcms-1.16-pjh.tgz, this is what I've got now:

Code:
# ls /var/log/packages/ | grep lcms
lcms-1.16-pjh
# ldconfig -p | grep lcms
        liblcms.so.1 (libc6) => /usr/lib/liblcms.so.1
        liblcms.so (libc6) => /usr/lib/liblcms.so
# ls -l /usr/lib/liblcms.*
-rw-r--r-- 1 root root 586514 2007-06-22 08:54 /usr/lib/liblcms.a
-rwxr-xr-x 1 root root    793 2007-06-22 08:54 /usr/lib/liblcms.la
lrwxrwxrwx 1 root root     17 2007-06-22 08:55 /usr/lib/liblcms.so -> liblcms.so.1.0.16
lrwxrwxrwx 1 root root     17 2007-06-22 08:55 /usr/lib/liblcms.so.1 -> liblcms.so.1.0.16
-rwxr-xr-x 1 root root 443190 2007-06-22 08:54 /usr/lib/liblcms.so.1.0.16
#
Quote:
(the -l cuts off 'lib' from the lib names so -llcms is the correct one)
right, I was just trying to point that error (my careless editing of the makefile) out so people wouldn't think I was calling lcms with the wrong linker argument.
 
Old 06-25-2007, 12:36 PM   #8
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
do you think it might have anything to do with the klibc/libc relationship?

splashutils requires klibc, which I built and installed (by default to /usr/lib/klibc/)
 
Old 06-25-2007, 02:24 PM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Another thing -ldconfig will not report the *.a libs as they are static.
 
Old 06-25-2007, 03:30 PM   #10
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
well, I don't really know what I did, but it compiled, and seems to be working now..

??

now I just have to figure out where to put the script calls in slackware
 
  


Reply



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
splashutils-1.1.9.10 nemesi Slackware 4 04-26-2006 09:10 PM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
splashutils missing lib flying-tuxman Linux - General 2 01-08-2006 02:20 PM
how do i mount ramdisk created with splashutils? jogurt666 Linux - General 1 09-30-2005 05:52 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:45 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