shearn89
July 8th, 2008, 01:01 AM
okay, this is driving me frigging bonkers. I'm trying to compile fbsplash/splashutils, and everytime i get this error:
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:
[/var/abs/local/fbsplash] 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 21 2008-07-06 18:43 /usr/lib/libfreetype.so -> libfreetype.so.6.3.18
lrwxrwxrwx 1 root root 21 2008-07-06 18:43 /usr/lib/libfreetype.so.6 -> libfreetype.so.6.3.18
-rwxr-xr-x 1 root root 595471 2008-07-06 18:43 /usr/lib/libfreetype.so.6.3.18
[/var/abs/local/fbsplash]
and this is the output of "freetype-config" (i read that it might be useful):
[/var/abs/local/fbsplash] freetype-config --libs
-lfreetype -lz
any help at all would be greatly appreciated.
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:
[/var/abs/local/fbsplash] 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 21 2008-07-06 18:43 /usr/lib/libfreetype.so -> libfreetype.so.6.3.18
lrwxrwxrwx 1 root root 21 2008-07-06 18:43 /usr/lib/libfreetype.so.6 -> libfreetype.so.6.3.18
-rwxr-xr-x 1 root root 595471 2008-07-06 18:43 /usr/lib/libfreetype.so.6.3.18
[/var/abs/local/fbsplash]
and this is the output of "freetype-config" (i read that it might be useful):
[/var/abs/local/fbsplash] freetype-config --libs
-lfreetype -lz
any help at all would be greatly appreciated.