obj_dat.c doesn't compile

2006-04-08 Thread Gisle Vanem
Since a few days back, crypto/objects/obj_dat.c doesn't compile. 
Here are the errors from gcc:


2112: error: `NID_id_GostR3410_94_cc' undeclared here (not in a function)
2112: error: initializer element is not constant
2112: error: (near initialization for `nid_objs[797].nid')
2113: error: initializer element is not constant
2113: error: (near initialization for `nid_objs[797]')
2114: error: `NID_id_GostR3410_2001_cc' undeclared here (not in a function)
2114: error: initializer element is not constant
2114: error: (near initialization for `nid_objs[798].nid')
2115: error: initializer element is not constant
2115: error: (near initialization for `nid_objs[798]')
2118: error: initializer element is not constant
2118: error: (near initialization for `nid_objs[799]')
2121: error: initializer element is not constant
2121: error: (near initialization for `nid_objs[800]')
2124: error: initializer element is not constant
2124: error: (near initialization for `nid_objs[801]')

--

The missing defines are in obj_mac.h. So shouldn't this file be included
before obj_dat.h?

--gv
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: obj_dat.c doesn't compile

2006-04-08 Thread Dr. Stephen Henson
On Sat, Apr 08, 2006, Gisle Vanem wrote:

 Since a few days back, crypto/objects/obj_dat.c doesn't compile. 
 Here are the errors from gcc:
 
 2112: error: `NID_id_GostR3410_94_cc' undeclared here (not in a function)
 2112: error: initializer element is not constant
 2112: error: (near initialization for `nid_objs[797].nid')
 2113: error: initializer element is not constant
 2113: error: (near initialization for `nid_objs[797]')
 2114: error: `NID_id_GostR3410_2001_cc' undeclared here (not in a function)
 2114: error: initializer element is not constant
 2114: error: (near initialization for `nid_objs[798].nid')
 2115: error: initializer element is not constant
 2115: error: (near initialization for `nid_objs[798]')
 2118: error: initializer element is not constant
 2118: error: (near initialization for `nid_objs[799]')
 2121: error: initializer element is not constant
 2121: error: (near initialization for `nid_objs[800]')
 2124: error: initializer element is not constant
 2124: error: (near initialization for `nid_objs[801]')
 

Can't reproduce that here. I've checked out the HEAD and tried the last
snapshot and that compiles with no problems.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]