You are not logged in.

#1 2008-07-08 00:08:25

shearn89
Member
Registered: 2008-01-13
Posts: 16

compiling error - trying to build fbsplash

hey all. Trying to compile fbsplash, and keep getting this error;

make --silent all-recursive
Making all in libs
Making all in src
  CREATE  fbsplash.h
Making all in .
daemon_cmd.c: In function 'cmd_log':
daemon_cmd.c:346: warning: incompatible implicit declaration of built-in function 'strndup'
daemon_cmd.c:348: warning: incompatible implicit declaration of built-in function 'strndup'
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make[4]: *** [fbsplashctl] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

I have the libfreetype, as shown here:

ls -l /usr/lib/libfree*
-rwxr-xr-x 1 root root 259150 2008-07-06 16:34 /usr/lib/libfreebl3.so
lrwxrwxrwx 1 root root     30 2008-07-07 23:52 /usr/lib/libfreetype.so -> /usr/lib/libfreetype.so.6.3.18
lrwxrwxrwx 1 root root     30 2008-07-07 23:52 /usr/lib/libfreetype.so.6 -> /usr/lib/libfreetype.so.6.3.18
-rwxr-xr-x 1 root root 595471 2008-07-07 23:53 /usr/lib/libfreetype.so.6.3.18

any help appreciated. I know its out of date and everything, but this seems to be a compiler error, not a package thing? or i'm just wrong. Don't just suggest splashy either, thats not what i want - i'm trying to get a background on my terminal. Sorry for the grumpy tone, but i've been battling with this and trawling the web for about 5 hours now, and its 1am...

Offline

#2 2008-07-08 15:03:13

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: compiling error - trying to build fbsplash

I think i remember coming across the same problem a few weeks back when trying to get fbsplash to work. Try compiling freetype2 again, but instead of shared, compile it statically.

You may want to take a peek at this thread: http://bbs.archlinux.org/viewtopic.php?id=48978

Last edited by dyscoria (2008-07-08 15:04:07)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2008-07-09 11:02:10

shearn89
Member
Registered: 2008-01-13
Posts: 16

Re: compiling error - trying to build fbsplash

awesome! thanks man - worked like a charm.

Offline

#4 2008-07-09 12:09:37

shearn89
Member
Registered: 2008-01-13
Posts: 16

Re: compiling error - trying to build fbsplash

it compiled, but i get the same kernel panic when i use this on the end of my boot line:

splash=verbose,theme:darch console=tty1

And the error is:

kinit: nuking initramfs contents, directory not empty
Kernel Panic - not syncing: attempted to kill init

Also, just trying to run "/etc/rc.d/fbsplash start" gives me "line 6: splash_check not found"

again, any help appreciated.

Offline

Board footer

Powered by FluxBB