Re: [squid-users] how to use Intel C++ Compiler for squid

From: unixware <datareactor@dont-contact.us>
Date: Sun, 16 May 2004 20:28:01 -0700 (PDT)

> > i have installed Intel C++ compiler but squid-3 is
> not
> > picking this up i move the gcc from path .
>
> try :
> ./configure <your options here>
CC=/path/to/intel-C-compiler
CXX=/path/to/intel-C++-compiler
 
i can able to run ./configure successfully but running
make giving the following error

[root@mx2 squid-3.0-PRE3-20040516]# make
Making all in lib
make[1]: Entering directory
`/home/mak/squid-3.0-PRE3-20040516/lib'
Making all in libTrie
make[2]: Entering directory
`/home/mak/squid-3.0-PRE3-20040516/lib/libTrie'
make all-recursive
make[3]: Entering directory
`/home/mak/squid-3.0-PRE3-20040516/lib/libTrie'
Making all in src
make[4]: Entering directory
`/home/mak/squid-3.0-PRE3-20040516/lib/libTrie/src'
source='Trie.cc' object='Trie.o' libtool=no \
depfile='.deps/Trie.Po' tmpdepfile='.deps/Trie.TPo' \
depmode=gcc /bin/sh ../depcomp \
/opt/intel_cc_80/bin/icc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -Werror -Wall -Wpointer-arith -
Wwrite-strings -Wcomments -fhuge-objects -g -O2 -c -o
Trie.o `test -f 'Trie.cc' || echo './'`Trie.cc
icc: Command line warning: ignoring option '-W'; no
argument required
icc: Command line warning: ignoring option '-W'; no
argument required
icc: Command line warning: ignoring unknown option
'-fhuge-objects'
../include/TrieCharTransform.h(53): error #858: type
qualifier on return type is meaningless
      virtual char const operator () (char const) = 0;
                         ^

../include/TrieCharTransform.h(58): error #858: type
qualifier on return type is meaningless
      virtual char const operator () (char const
aChar) {return tolower(aChar);}
                         ^

../include/TrieCharTransform.h(58): error #810:
conversion from "int" to "const char" may lose signi
ficant bits
      virtual char const operator () (char const
aChar) {return tolower(aChar);}
                                                      
         ^

Trie.cc(30): error #1418: external definition with no
prior declaration
  extern "C" void *TrieCreate ()
                   ^

Trie.cc(41): error #1418: external definition with no
prior declaration
  extern "C" void TrieDestroy (void *aTrie)
                  ^

Trie.cc(46): error #1418: external definition with no
prior declaration
  extern "C" void *TrieFind (void *aTrie, char const
*aString, size_t theLength)
                   ^

Trie.cc(73): error #1418: external definition with no
prior declaration
  extern "C" int TrieAdd (void *aTrie, char const
*aString, size_t theLength, void *privatedata)
                 ^

compilation aborted for Trie.cc (code 2)
make[4]: *** [Trie.o] Error 2
make[4]: Leaving directory
`/home/mak/squid-3.0-PRE3-20040516/lib/libTrie/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/mak/squid-3.0-PRE3-20040516/lib/libTrie'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/mak/squid-3.0-PRE3-20040516/lib/libTrie'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/mak/squid-3.0-PRE3-20040516/lib'
make: *** [all-recursive] Error 1

        
                
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
Received on Sun May 16 2004 - 21:28:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT