Re: Problems compiling Totem (GARNOME 2.10.0) on RH9
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Subject: Re: Problems compiling Totem (GARNOME 2.10.0) on RH9
- Date: Sun, 20 Mar 2005 23:43:05 -0500
Some of the kernel include files under RH9 are broken. Specifically,
some of the declarations found in <linux/types.h> are available only
when "__KERNEL__" is defined. Many of these have been fixed in later
releases.
For now, the workaround is to define the missing symbols. Arbitrarily
defining "__KERNEL__" is *not* the right thing to do and will cause even
more problems. You can add the missing declarations in a "heavy-handed
way", or work your way through the nested include files to find "the
right spot" to add the declarations. If you choose to hunt, things like
gcc -E
and
gcc -E -dN
and
gcc -E -dM
will be helpful.
-Joseph
===========================================================
On Thu, 2005-03-17 at 10:20, Kyle Girard wrote:
> I am attempting to compile GARNOME on RH9 and I get the following when
> building totem:
>
> In file included from /usr/include/netdb.h:28,
>
> from /usr/local/garnome/2.10.0/garnome/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-address.h:31,
>
> from /usr/local/garnome/2.10.0/garnome/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h:28,
> from totem-disc.c:46:
> /usr/include/netinet/in.h:261: parse error before '(' token
> /usr/include/netinet/in.h:261: parse error before "__u32"
> /usr/include/netinet/in.h:262: parse error before '(' token
> /usr/include/netinet/in.h:262: parse error before "__u16"
> /usr/include/netinet/in.h:264: parse error before '(' token
> /usr/include/netinet/in.h:264: parse error before "__u32"
> /usr/include/netinet/in.h:266: parse error before '(' token
> /usr/include/netinet/in.h:266: parse error before "__u16"
> make[3]: *** [totem-disc.lo] Error 1
> make[3]: Leaving directory
> `/usr/local/garnome/2.10.0/garnome-2.10.0/desktop/totem/work/main.d/totem-1.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/local/garnome/2.10.0/garnome-2.10.0/desktop/totem/work/main.d/totem-1.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/usr/local/garnome/2.10.0/garnome-2.10.0/desktop/totem/work/main.d/totem-1.0'
> make: *** [build-work/main.d/totem-1.0/Makefile] Error 2
>
>
> garnome 2.9.91 worked fine. Anyone have any ideas?
>
> Kyle
--
joseph_sacco[at]comcast[dot]net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]