Re: [squid-users] Re: Squid Compilation Error on Ubuntu for squid-3.HEAD

From: Kinkie <gkinkie_at_gmail.com>
Date: Tue, 18 Sep 2012 16:28:51 +0200

Hi,
   Are you using parallel compilation at some stage? (make -jX) ?
Are you sure that you have the openssl header files properly installed
on your system?

Thanks,
  Kinkie

On Tue, Sep 18, 2012 at 2:51 PM, Ahmed Talha Khan <auny87_at_gmail.com> wrote:
> I now tried on Fedora 13 and same problem occurs. In this case the
> make clean solution is not working.
>
> On Tue, Sep 18, 2012 at 2:24 PM, Ahmed Talha Khan <auny87_at_gmail.com> wrote:
>> Well it turns out the doing a "make clean" followed by "make" solves
>> the problem. It works now but it is weird.
>>
>> On Tue, Sep 18, 2012 at 1:43 PM, Ahmed Talha Khan <auny87_at_gmail.com> wrote:
>>> I am trying to build squid-3.HEAD on Ubuntu 11 but i am getting the
>>> following compilation errors.
>>>
>>>
>>> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
>>> -I../.. -I../../include -I../../lib -I../../src -I../../include
>>> -I../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments
>>> -Werror -pipe -D_REENTRANT -g -O2 -std=c++0x -MT Acl.lo -MD -MP -MF
>>> .deps/Acl.Tpo -c -o Acl.lo Acl.cc
>>> libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
>>> -I../../lib -I../../src -I../../include -I../../libltdl -Wall
>>> -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
>>> -g -O2 -std=c++0x -MT Acl.lo -MD -MP -MF .deps/Acl.Tpo -c Acl.cc
>>> -fPIC -DPIC -o .libs/Acl.o
>>> In file included from ../../src/ProtoPort.h:12:0,
>>> from Acl.cc:40:
>>>
>>> /src/ssl/gadgets.h:57:1: error: variable or field 'TXT_DB_free_cpp'
>>> declared void
>>> ../../src/ssl/gadgets.h:57:1: error: 'TXT_DB' was not declared in this scope
>>> ../../src/ssl/gadgets.h:57:1: error: 'a' was not declared in this scope
>>> ../../src/ssl/gadgets.h:58:21: error: 'TXT_DB' was not declared in this scope
>>> ../../src/ssl/gadgets.h:58:29: error: 'TXT_DB_free_cpp' was not
>>> declared in this scope
>>> ../../src/ssl/gadgets.h:58:44: error: template argument 1 is invalid
>>> ../../src/ssl/gadgets.h:58:44: error: template argument 2 is invalid
>>> ../../src/ssl/gadgets.h:58:60: error: invalid type in declaration
>>> before ';' token
>>>
>>>
>>> The version for open-ssl is "1.0.0e-2ubuntu4.6"(latest) and gcc is "4:4.6.1".
>>>
>>> What can be the issue and how to resolve it.
>>>
>>> --
>>> Regards,
>>> -Ahmed Talha Khan
>>
>>
>>
>> --
>> Regards,
>> -Ahmed Talha Khan
>
>
>
> --
> Regards,
> -Ahmed Talha Khan

-- 
    /kinkie
Received on Tue Sep 18 2012 - 14:28:58 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 19 2012 - 12:00:04 MDT