OpenBSD and NetBSD error on make with SSL include - squid

This is a discussion on OpenBSD and NetBSD error on make with SSL include - squid ; Configured ok with the following commands but does not make. squid-3.0-PRE3-20050928 ../configure --enable-ssl --with-openssl=/usr/include/openssl ../configure --enable-ssl When I go to make it crashes with the following. I was able to configure and make with just a straight ./configure but this ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: OpenBSD and NetBSD error on make with SSL include

  1. OpenBSD and NetBSD error on make with SSL include

    Configured ok with the following commands but does not make.

    squid-3.0-PRE3-20050928

    ../configure --enable-ssl --with-openssl=/usr/include/openssl
    ../configure --enable-ssl

    When I go to make it crashes with the following. I was able to
    configure and
    make with just a straight ./configure but this doesn't include the ssl.

    f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
    client_side.cc: In function `void clientNegotiateSSL(int, void*)':
    client_side.cc:2951: error: invalid conversion from `int (*)()' to `int
    (*)(...)'
    *** Error code 1

    Stop in /usr/squidsrc/squid-3.0-PRE3-20050928/src.
    *** Error code 1

    Stop in /usr/squidsrc/squid-3.0-PRE3-20050928/src (line 2510 of
    Makefile).
    *** Error code 1

    Stop in /usr/squidsrc/squid-3.0-PRE3-20050928/src (line 2740 of
    Makefile).
    *** Error code 1

    Stop in /usr/squidsrc/squid-3.0-PRE3-20050928 (line 372 of Makefile).


  2. Re: OpenBSD and NetBSD error on make with SSL include

    I'm getting the same problem w/ squid-3.0-PRE3-20051019::

    ../configure --enable-pf-transparent --enable-ssl

    client_side.cc: In function `void clientNegotiateSSL(int, void*)':
    client_side.cc:2951: error: invalid conversion from `int (*)()' to `int
    (*)(...)'
    *** Error code 1

    Stop in /tmp/squid-3.0-PRE3-20051019/src.
    *** Error code 1

    Stop in /tmp/squid-3.0-PRE3-20051019/src (line 2514 of Makefile).
    *** Error code 1

    Stop in /tmp/squid-3.0-PRE3-20051019/src (line 1653 of Makefile).
    *** Error code 1

    Stop in /tmp/squid-3.0-PRE3-20051019 (line 374 of Makefile).
    #

    My associate Andre says it has to do with a pointer. I don't know how
    to go through the code and fix it.

    Anyone have any other ideas?

    J


    betterthanya@aol.com wrote:
    > Configured ok with the following commands but does not make.
    >
    > squid-3.0-PRE3-20050928
    >
    > ./configure --enable-ssl --with-openssl=/usr/include/openssl
    > ./configure --enable-ssl
    >
    > When I go to make it crashes with the following. I was able to
    > configure and
    > make with just a straight ./configure but this doesn't include the ssl.
    >
    > f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
    > client_side.cc: In function `void clientNegotiateSSL(int, void*)':
    > client_side.cc:2951: error: invalid conversion from `int (*)()' to `int
    > (*)(...)'
    > *** Error code 1
    >
    > Stop in /usr/squidsrc/squid-3.0-PRE3-20050928/src.
    > *** Error code 1
    >
    > Stop in /usr/squidsrc/squid-3.0-PRE3-20050928/src (line 2510 of
    > Makefile).
    > *** Error code 1
    >
    > Stop in /usr/squidsrc/squid-3.0-PRE3-20050928/src (line 2740 of
    > Makefile).
    > *** Error code 1
    >
    > Stop in /usr/squidsrc/squid-3.0-PRE3-20050928 (line 372 of Makefile).



+ Reply to Thread