Squid - can't compile squid-3.0-PRE3 on BSD 5.3 box

This is Interesting: Free IT Magazines  
Home > Archive > Squid > February 2005 > can't compile squid-3.0-PRE3 on BSD 5.3 box





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author can't compile squid-3.0-PRE3 on BSD 5.3 box
jbehl

2005-01-11, 8:45 pm

any ideas? thx

www6.cdn.#uname -a
FreeBSD www6.cdn 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov 16
15:41:52 PST 2004 root@www6.cdn:/usr/obj/usr/src/sys/SMP amd64


www6.cdn#
www6.cdn#
www6.cdn#./configure --prefix=/usr/local/squid-3.0-PRE3 --disable-poll
--disable-select --enable-kqueue --disable-epoll
--disable-ident-lookups


www6.cdn#make
Making all in lib
Making all in libTrie
make all-recursive
Making all in src
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Werror -Wall
-Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments -g -O2
-MT Trie.o -MD -MP -MF ".deps/Trie.Tpo" -c -o Trie.o `test -f
'Trie.cc' || echo './'`Trie.cc; then mv -f ".deps/Trie.Tpo"
".deps/Trie.Po"; else rm -f ".deps/Trie.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for C/ObjC but not for C++
*** Error code 1

Stop in /usr/local/src/squid-3.0-PRE3/lib/libTrie/src.
*** Error code 1

Stop in /usr/local/src/squid-3.0-PRE3/lib/libTrie.
*** Error code 1

Stop in /usr/local/src/squid-3.0-PRE3/lib/libTrie.
*** Error code 1

Stop in /usr/local/src/squid-3.0-PRE3/lib.
*** Error code 1

Stop in /usr/local/src/squid-3.0-PRE3.

Muthukumar_K

2005-02-28, 5:08 am

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Werror -Wall
-Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments -g -O2
-MT Trie.o -MD -MP -MF ".deps/Trie.Tpo" -c -o Trie.o `test -f
'Trie.cc' || echo './'`Trie.cc; then mv -f ".deps/Trie.Tpo"
".deps/Trie.Po"; else rm -f ".deps/Trie.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for C/ObjC but not for C++

Stop in /usr/local/src/squid-3.0-PRE3. [/B][/QUOTE]

The problem is because of compiler TAGs. Try to remove -Werror (all occurences) for configuration. Before that, do make distclean and configure, make again.

I hope it will work now.

HTH.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com