Subject: Re: pkg/31392
To: None <rillig@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Rob Hamrick <rph@chaosnet.org>
List: pkgsrc-bugs
Date: 11/18/2005 09:20:02
The following reply was made to PR pkg/31392; it has been noted by GNATS.

From: Rob Hamrick <rph@chaosnet.org>
To: rillig@netbsd.org
Cc: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/31392
Date: Thu, 17 Nov 2005 23:54:24 -0800

 I added int SHOW_ME(OPENSSL_VERSION_NUMBER) = 0; at line 56.  (I have gcc
 3.3.3, which is the output of gcc --version -- I'm not sure if that's
 relevant.)  Below is the output of make build.  -Rob
 
 cc -I. -I. -I/usr/include  -DHAVE_CONFIG_H
 -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\"
 -DLOCALEDIR=\"/usr/pkg/share/locale\" -O2 -I/usr/include -c http-ntlm.c
 http-ntlm.c:56: warning: parameter names (without types) in function
 declaration
 http-ntlm.c:56: error: function `SHOW_ME' is initialized like a variable
 http-ntlm.c:186: error: parse error before "des_key_schedule"
 http-ntlm.c: In function `setup_des_key':
 http-ntlm.c:188: error: `des_cblock' undeclared (first use in this
 function)
 http-ntlm.c:188: error: (Each undeclared identifier is reported only once
 http-ntlm.c:188: error: for each function it appears in.)
 http-ntlm.c:188: error: parse error before "key"
 http-ntlm.c:190: error: `key' undeclared (first use in this function)
 http-ntlm.c:190: error: `key_56' undeclared (first use in this function)
 http-ntlm.c:200: error: `ks' undeclared (first use in this function)
 http-ntlm.c: In function `calc_resp':
 http-ntlm.c:211: error: `des_key_schedule' undeclared (first use in this
 function)
 http-ntlm.c:211: error: parse error before "ks"
 http-ntlm.c:213: error: `ks' undeclared (first use in this function)
 http-ntlm.c:214: error: `des_cblock' undeclared (first use in this
 function)
 http-ntlm.c:214: error: parse error before ')' token
 http-ntlm.c:218: error: parse error before ')' token
 http-ntlm.c:222: error: parse error before ')' token
 http-ntlm.c: In function `mkhash':
 http-ntlm.c:263: error: `des_key_schedule' undeclared (first use in this
 function)
 http-ntlm.c:263: error: parse error before "ks"
 http-ntlm.c:265: error: `ks' undeclared (first use in this function)
 http-ntlm.c:266: error: `des_cblock' undeclared (first use in this
 function)
 http-ntlm.c:266: error: parse error before ')' token
 http-ntlm.c:270: error: parse error before ')' token
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/net/wget/work/wget-1.10.2/src
 *** Error code 1
 
 
 On Thu, Nov 17, 2005 at 02:27:44PM +0000, rillig@netbsd.org wrote:
 > Synopsis: wget build fails, macppc
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: rillig@netbsd.org
 > State-Changed-When: Thu, 17 Nov 2005 14:27:42 +0000
 > State-Changed-Why:
 > 
 > Please try to insert the following in http-ntlm.c, line 56:
 > 
 > int SHOW_ME(OPENSSL_VERSION_NUMBER) = 0;
 > 
 > With gcc-2.95, this shows the actual value of the macro.
 > 
 > 
 > 
 
 --