Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
splashutils compile fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
theothermatt
n00b
n00b


Joined: 10 Apr 2004
Posts: 57
Location: Leamington, UK

PostPosted: Sat Apr 08, 2006 5:21 pm    Post subject: splashutils compile fails Reply with quote

Hi, having some problems getting splashutils to compile.
Another thread suggested to emerge klibc again, I tried that, still the same problem. I'm at a loss, any help
would be greatly appreciated.

I'm running linux-2.6.15-gentoo-r1 kernel.
Code:

emerge -av splashutils

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] media-gfx/splashutils-1.1.9.8-r1 [1.1.9.10] -hardened -kdgraphics +png +truetype 0 kB
...
...
...

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.15-gentoo-r1
>>> Unpacking source...
>>> Unpacking splashutils-lite-1.1.9.8.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work
>>> Unpacking splashutils-gentoo-0.1.12.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work
>>> Unpacking miscsplashutils-0.1.3.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work
>>> Unpacking libpng-1.2.8.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/splashutils-1.1.9.8-r1/work>>> Unpacking freetype-2.1.9.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work
>>> Unpacking zlib-1.2.1.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work>>> Unpacking klibc-1.0.8.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8-r1/work
 * Applying splashutils-depscan.patch ...                                 [ ok ]>>> Source unpacked.
  MAKE    klibc
In file included from ../include/sys/types.h:15,
                 from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
/usr/src/linux/include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/types.h:16:23: asm/types.h: No such file or directory
In file included from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/types.h:23: error: syntax error before "ino_t"
../include/sys/types.h:23: warning: type defaults to `int' in declaration of `ino_t'
../include/sys/types.h:23: warning: data definition has no type or storage class../include/sys/types.h:24: error: syntax error before "mode_t"
../include/sys/types.h:24: warning: type defaults to `int' in declaration of `mode_t'
../include/sys/types.h:24: warning: data definition has no type or storage class../include/sys/types.h:25: error: syntax error before "nlink_t"
../include/sys/types.h:25: warning: type defaults to `int' in declaration of `nlink_t'
../include/sys/types.h:25: warning: data definition has no type or storage class../include/sys/types.h:26: error: syntax error before "off_t"
../include/sys/types.h:26: warning: type defaults to `int' in declaration of `off_t'
../include/sys/types.h:26: warning: data definition has no type or storage class../include/sys/types.h:27: error: syntax error before "loff_t"
../include/sys/types.h:27: warning: type defaults to `int' in declaration of `loff_t'
../include/sys/types.h:27: warning: data definition has no type or storage class../include/sys/types.h:28: error: syntax error before "pid_t"
../include/sys/types.h:28: warning: type defaults to `int' in declaration of `pid_t'
../include/sys/types.h:28: warning: data definition has no type or storage class../include/sys/types.h:29: error: syntax error before "daddr_t"
../include/sys/types.h:29: warning: type defaults to `int' in declaration of `daddr_t'
../include/sys/types.h:29: warning: data definition has no type or storage class../include/sys/types.h:31: error: syntax error before "suseconds_t"
../include/sys/types.h:31: warning: type defaults to `int' in declaration of `suseconds_t'
../include/sys/types.h:31: warning: data definition has no type or storage class../include/sys/types.h:35: error: syntax error before "uid_t"
../include/sys/types.h:35: warning: type defaults to `int' in declaration of `uid_t'
../include/sys/types.h:35: warning: data definition has no type or storage class../include/sys/types.h:36: error: syntax error before "gid_t"
../include/sys/types.h:36: warning: type defaults to `int' in declaration of `gid_t'
../include/sys/types.h:36: warning: data definition has no type or storage class../include/sys/types.h:38: error: syntax error before "fsid_t"
../include/sys/types.h:38: warning: type defaults to `int' in declaration of `fsid_t'
../include/sys/types.h:38: warning: data definition has no type or storage class../include/sys/types.h:61: error: syntax error before "time_t"
../include/sys/types.h:61: warning: type defaults to `int' in declaration of `time_t'
../include/sys/types.h:61: warning: data definition has no type or storage class../include/sys/types.h:66: error:

Goes on for quite a while...
...
...
...

../include/stdio.h:64: error: `__o' undeclared (first use in this function)
../include/stdio.h:64: error: `__w' undeclared (first use in this function)
../include/stdio.h: At top level:
../include/stdio.h:66: error: syntax error before "ftell"
../include/stdio.h:67: warning: return type defaults to `int'
../include/stdio.h: In function `ftell':
../include/stdio.h:68: error: syntax error before "lseek"
make[1]: *** [vsnprintf.o] Error 1
make: *** [klibc] Error 2

!!! ERROR: media-gfx/splashutils-1.1.9.8-r1 failed.
!!! Function src_compile, Line 124, Exitcode 2
!!! failed to build splashutils
!!! If you need support, post the topmost build error, NOT this status message.

_________________
"God doesn't play dice." - Einstein
"Einstein, stop telling God what to do." - Niels Bohr
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Sun Apr 09, 2006 7:42 am    Post subject: linuxheaders, maybe ? Reply with quote

Hi,
May be (re-)emerging linux-headers would set /usr/include/linux and /usr/include/asm right.
Hth
Back to top
View user's profile Send private message
kerstman
n00b
n00b


Joined: 27 Nov 2004
Posts: 68

PostPosted: Sun Apr 09, 2006 9:26 am    Post subject: Reply with quote

After re-emerging klibc I ran into another issue which seems to be common the forum. The solution was to rename /usr/src/linux/include/linux/input.h, emerge splashutils, then rename the file back.
Back to top
View user's profile Send private message
theothermatt
n00b
n00b


Joined: 10 Apr 2004
Posts: 57
Location: Leamington, UK

PostPosted: Tue Apr 11, 2006 10:24 am    Post subject: Reply with quote

Thank you for the help. Unfortunately, neither of those suggestions worked.
It seems there's been some movement of includes from include/asm-ppc to include/asm-powerpc, at some point, and
that was screwing everything up. See https://bugs.gentoo.org/show_bug.cgi?id=112742

The version of splashutils I was trying to compile (the stable version, I might add), seems
to want to use an older version of klibc (1.0.8 vs. 1.1.16-r1 that I actually have installed), which won't compile now that these
moves have taken place.

So the semi-solution is to emerge an unstable version of splashutils. I find it funny that the stable version doesn't compile,
but an unstable version does.
_________________
"God doesn't play dice." - Einstein
"Einstein, stop telling God what to do." - Niels Bohr
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum