help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] HELP


From: David Squire
Subject: Re: [help-GIFT] HELP
Date: Wed, 17 Oct 2001 15:20:34 +1000

tiger wrote:

> Hi  :
>      I found in package  gift-0.1.6pre3, a file named "hsv2rgb.c" has a line
> read
>                #include  "hsv2rgb.proto"
> but I cann't find this included file in this package.

The .proto files /arewere generated automatically when needed.

Don't worry. There is quite a bit of legacy code in the distribution 
(particularly in the FeatureExtraction directory) which is not compiled in the 
gift installation. The example above, for example, does not matter in any case, 
since hsv2rgb.c is not compiled.

Let's just concentrate on complaints from the compiler, rather than diving into 
legacy code.

>      Now I am using Redhat7.1, its default installation will install
> gcc-2.96-81. For you suggested that there are some problem with gcc higher
> than  gcc-2.95, I replaced it with gcc-2.95.3, but I still got some problem
> the following is the stderr:
>
> Server.o: In function `pair<bool, basic_string<char,
> string_char_traits<char>, __default_alloc_template<true, 0> > >::~pair(void)':
> /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h(.text+0x2847):
> undefined reference to `__vl.7fstream'
> /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h(.text+0x2852):
> undefined reference to `__vl.7fstream'
> /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h(.text+0x286b):
> undefined reference to `__vl.7fstream'
> /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h(.text+0x3290):
> undefined reference to `__vl.7fstream'
> /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h(.text+0x329b):
> undefined reference to `__vl.7fstream'
> Server.o(.text+0x32b5):/usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h:
> more undefined references to `__vl.7fstream' follow
> Server.o: In function `pair<bool, basic_string<char,
> string_char_traits<char>, __default_alloc_template<true, 0> > >::~pair(void)':
> /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/../../../../include/g++-3/stl_map.h(.gnu.linkonce.t._._8iostream+0x1a):
> undefined reference to `__vl.8iostream'
> collect2: ld returned 1 exit status
> make[3]: *** [gift] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

I'm sure that Wolfgang can answer this better than I can, but note that the 
problem seems to occur at link time, and all the complaints are about files in 
the g++ distribution, not the GIFT distribution. It does not seem to be a GIFT 
problem to me.

Cheers,

David


--
Dr. David McG. Squire, Postgraduate Research Coordinator (Caulfield)
Computer Science and Software Engineering, Monash University, Australia
http://www.csse.monash.edu.au/~davids/   http://viper.unige.ch/
Do/Don't want HTML mail? Let me know.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]