Re: transcending the infinite: bug buddy 2.0.2 [peter wainwright nrpb org uk]
- From: Peter Wainwright <prw wainpr demon co uk>
- To: Miles Lane <miles megapathdsl net>, gnome-list gnome org
- Subject: Re: transcending the infinite: bug buddy 2.0.2 [peter wainwright nrpb org uk]
- Date: Fri, 15 Jun 2001 09:45:30 +0100
On Thu, 14 Jun 2001 23:25:06 Miles Lane wrote:
> I get zillions of errors trying to compile this package.
> Any ideas what I need to do diffently to get this compiled?
You have a rather strange installation, it seems. The compiler is confused
and is including the wrong file "tree.h". The version it is including is
actually a C++ header file related to the Standard Template Library (STL).
However, this file is not usually in /usr/include at all, but in one of its
subdirectories (for example /usr/include/g++-3 on Linux, /usr/include/CC on
Irix 6.5). What system are you using?
To fix this you need either to move the C++ header files from /usr/include
(a drastic solution and problematic if you ever use C++). Or you could try
removing the "-I/usr/include" from the compilation - this means that
/usr/include will be searched last, and there is more chance of finding the
correct tree.h first
>
> Miles
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl
> -I../intl -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I/usr/include
> -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/lib/vfs/include
> -D_REENTRANT -DBUDDY_DATADIR=\""/usr/share/bug-buddy"\"
> -DBUDDY_ICONDIR=\""/usr/share/pixmaps"\" -DCLIST_HEIGHT=20 -D_GNU_SOURCE
> -g -O2 -Wall -Wunused -c bug-buddy.c
> In file included from /usr/include/stl_algobase.h:39,
> from /usr/include/stl_tree.h:56,
> from /usr/include/tree.h:33,
> from bug-buddy.c:37:
> /usr/include/stl_relops.h:34: parse error before `std'
> /usr/include/stl_relops.h:34: syntax error before `{'
> In file included from /usr/include/stl_algobase.h:42,
> from /usr/include/stl_tree.h:56,
> from /usr/include/tree.h:33,
> from bug-buddy.c:37:
> /usr/include/stl_pair.h:34: syntax error before `{'
> /usr/include/stl_pair.h:39: parse error before `second_type'
> /usr/include/stl_pair.h:39: warning: data definition has no type or
> storage class
> /usr/include/stl_pair.h:41: parse error before `first'
> /usr/include/stl_pair.h:41: warning: data definition has no type or
> storage class
> /usr/include/stl_pair.h:42: parse error before `second'
> /usr/include/stl_pair.h:42: warning: data definition has no type or
> storage class
> /usr/include/stl_pair.h:43: parse error before `:'
> /usr/include/stl_pair.h:44: parse error before `&'
> /usr/include/stl_pair.h:52: parse error before `<'
> In file included from /usr/include/stl_algobase.h:45,
> from /usr/include/stl_tree.h:56,
> from /usr/include/tree.h:33,
> from bug-buddy.c:37:
> /usr/include/type_traits.h:61: parse error before `<'
> /usr/include/type_traits.h:81: parse error before
> `has_trivial_default_constructor'
> /usr/include/type_traits.h:81: warning: data definition has no type or
> storage class
> /usr/include/type_traits.h:82: parse error before
> `has_trivial_copy_constructor'
> /usr/include/type_traits.h:82: warning: data definition has no type or
> storage class
> /usr/include/type_traits.h:83: parse error before
> `has_trivial_assignment_operator'
> /usr/include/type_traits.h:83: warning: data definition has no type or
> storage class
> /usr/include/type_traits.h:84: parse error before
> `has_trivial_destructor'
> /usr/include/type_traits.h:84: warning: data definition has no type or
> storage class
>
>
>
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
>
--
This e-mail transmission is strictly confidential and intended
solely for the person or organisation to whom it is
addressed. It may contain privileged and confidential
information and if you are not the intended recipient,
please do not copy, distribute or take any action in
reliance on it. If you have received this e-mail in error,
please notify the sender as soon as possible and delete
the message.
Please note that NRPB monitors incoming and outgoing
e-mail for compliance with its Acceptable Use Policy. This
will include scanning incoming e-mails to detect viruses
and key-words and may in some circumstances result in
the manual monitoring of the content of messages.
Peter Wainwright
Home: prw wainpr demon co uk Work: peter wainwright nrpb org uk
http://www.wainpr.demon.co.uk Fax: +44-870-052-3185
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]