Gentoo Archives: gentoo-dev

From: Edward Muller <edwardam@××××××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Help needed with new ORBit/gnome-applets ebuild
Date: Sat, 09 Feb 2002 20:56:02
Message-Id: 1013321316.31310.7.camel@palin
1 I put together some slightly newer ebuilds for ORBit, oaf ,bonobo. The
2 main motivation beign that they were supposed to fix a bug in that I was
3 having in evolution (according to the evolution mailing list anway).
4 Well they fixed the bug ... but ...
5
6 I also started looking into what other gnome software hasn't been
7 updated so I started updating the ebuilds for those .... until ...
8
9 I ran across the gnome-applets ebuild...
10
11 My current ebuild dies compiling with the following error:
12
13 make[1]: Entering directory
14 `/var/tmp/portage/gnome-applets-1.4.0.5/work/gnome-applets-1.4.0.5/charpick'
15 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../intl -I../intl
16 -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I/usr/local/include
17 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
18 -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
19 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
20 -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
21 -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
22 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
23 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
24 -I/usr/lib/glib/include -I/usr/X11R6/include -ansi -Werror
25 -Wmissing-prototypes -Wmissing-declarations -c charpick.c
26 In file included from /usr/include/orbit-1.0/ORBitutil/os-specifics.h:6,
27 from /usr/include/orbit-1.0/ORBitutil/util.h:34,
28 from /usr/include/orbit-1.0/IIOP/IIOP.h:5,
29 from /usr/include/orbit-1.0/orb/orbit.h:55,
30 from /usr/include/gnome-1.0/libgnorba/gnorba.h:4,
31 from /usr/include/applet-widget.h:12,
32 from charpick.c:6:
33 /usr/include/orbit-1.0/ORBitutil/os-feature-alloca.h:13: warning:
34 `alloca' redefined
35 /usr/include/alloca.h:36: warning: this is the location of the previous
36 definition
37 make[1]: *** [charpick.o] Error 1
38 make[1]: Leaving directory
39 `/var/tmp/portage/gnome-applets-1.4.0.5/work/gnome-applets-1.4.0.5/charpick'
40 make: *** [all-recursive] Error 1
41
42
43 So I took a look ... and /usr/include/alloca.h defines alloca as ...
44
45 define alloca(size) __builtin_alloca (size)
46
47 and /usr/include/orbit-1.0/ORBitutil/os-feature-alloca.h defines alloca
48 as ...
49
50 define alloca __builtin_alloca
51
52 This can't be right? Should I patch and re-build orbit with the correct
53 defs as a work around? Should I bring this up on the orbit list?
54
55 Sorry if the questions are pretty basic (C wise) but I don't do much C
56 stuff (but I'm trying to learn ... hence the question).

Replies

Subject Author
Re: [gentoo-dev] Help needed with new ORBit/gnome-applets ebuild Edward Muller <edwardam@××××××××.com>