You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2015/07/20 18:29:35 UTC

Build error w/ 2.2.31 and Fbsd10

Someone reported that 2.2.31 (w/ mod_ssl) doesn't build under FreeBSD 10:

    https://feld.me/freebsd/apache22-2.2.31.log

I will try it out and see.

Re: Build error w/ 2.2.31 and Fbsd10

Posted by Rainer Jung <ra...@kippdata.de>.
Am 20.07.2015 um 18:29 schrieb Jim Jagielski:
> Someone reported that 2.2.31 (w/ mod_ssl) doesn't build under FreeBSD 10:
>
>      https://feld.me/freebsd/apache22-2.2.31.log
>
> I will try it out and see.

It seems

http://svnweb.freebsd.org/ports/head/www/apache22/

is still at 2.2.29 and people are working on it. Under "files" there are 
several mod_ssl patches, including changes to DH code, so like Rüdiger I 
expect they have to adjust or drop some of these patches.

Regards,

Rainer

Re: Build error w/ 2.2.31 and Fbsd10

Posted by Andy Wang <aw...@ptc.com>.
http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/ssl/ssl_engine_dh.c?revision=1680916&view=markup

Line 80
static const unsigned char dh1024_p[] = {
is in an #if 0

Line 113
is not
static const unsigned char dh1024_p[] = {

ssl_engine_dh.c:123:28: error: redefinition of 'dh1024_p' with a 
different type: 'const unsigned char []' vs 'unsigned char [128]'
static const unsigned char dh1024_p[] = {
                            ^
ssl_engine_dh.c:84:22: note: previous definition is here
static unsigned char dh1024_p[] = {

unless their patch screwed it up like you were speculating, could the 
freebsd preprocessor be picky?

Andy

On 07/20/2015 01:59 PM, Ruediger Pluem wrote:
> Hmm, I don't see the line numbers of ssl_engine_dh.c in the the log matching with the ones of 2.2.31.
> And the log says somewhere above:
>
> Applying FreeBSD patches for apache22-2.2.31
>
> Maybe a faulty patch to ssl_engine_dh.c that changed the DH code for FreeBSD before 2.2.31?
>
> Regards
>
> Rüdiger
>
> On 07/20/2015 06:29 PM, Jim Jagielski wrote:
>> Someone reported that 2.2.31 (w/ mod_ssl) doesn't build under FreeBSD 10:
>>
>>      https://feld.me/freebsd/apache22-2.2.31.log
>>
>> I will try it out and see.
>>

Re: Build error w/ 2.2.31 and Fbsd10

Posted by Ruediger Pluem <rp...@apache.org>.
Hmm, I don't see the line numbers of ssl_engine_dh.c in the the log matching with the ones of 2.2.31.
And the log says somewhere above:

Applying FreeBSD patches for apache22-2.2.31

Maybe a faulty patch to ssl_engine_dh.c that changed the DH code for FreeBSD before 2.2.31?

Regards

Rüdiger

On 07/20/2015 06:29 PM, Jim Jagielski wrote:
> Someone reported that 2.2.31 (w/ mod_ssl) doesn't build under FreeBSD 10:
> 
>     https://feld.me/freebsd/apache22-2.2.31.log
> 
> I will try it out and see.
>