[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Heimdal PKINIT complile errors



Hi,

	I've compiled 20040917 snapshot of heimdal with asn1-choice
using Love's instuctions, but it exited with variuos errors in gen.c:

gen.c: In function `define_asn1':
gen.c:250: warning: implicit declaration of function `TAILQ_FOREACH'
gen.c:250: error: `members' undeclared (first use in this function)
gen.c:250: error: (Each undeclared identifier is reported only once
gen.c:250: error: for each function it appears in.)
gen.c:250: error: parse error before '{' token
gen.c:253: warning: implicit declaration of function `TAILQ_NEXT'
gen.c:253: warning: comparison between pointer and integer
gen.c:259: error: case label not within a switch statement
gen.c:262: error: case label not within a switch statement
gen.c:265: error: case label not within a switch statement
gen.c:268: error: case label not within a switch statement
gen.c:271: error: case label not within a switch statement
gen.c:272: error: case label not within a switch statement
gen.c:280: error: parse error before '{' token
gen.c:283: warning: comparison between pointer and integer
gen.c:257: warning: enumeration value `TBigInteger' not handled in switch
gen.c:257: warning: enumeration value `TBitString' not handled in switch
gen.c:257: warning: enumeration value `TBoolean' not handled in switch
gen.c:257: warning: enumeration value `TChoice' not handled in switch
gen.c:257: warning: enumeration value `TEnumerated' not handled in switch
gen.c:257: warning: enumeration value `TGeneralString' not handled in switch
gen.c:257: warning: enumeration value `TGeneralizedTime' not handled in 
switch
gen.c:257: warning: enumeration value `TIA5String' not handled in switch
gen.c:257: warning: enumeration value `TNull' not handled in switch
gen.c:257: warning: enumeration value `TOID' not handled in switch
gen.c:257: warning: enumeration value `TOctetString' not handled in switch
gen.c:257: warning: enumeration value `TPrintableString' not handled in 
switch
gen.c:257: warning: enumeration value `TSequence' not handled in switch
gen.c:257: warning: enumeration value `TSequenceOf' not handled in switch
gen.c:257: warning: enumeration value `TSet' not handled in switch
gen.c:257: warning: enumeration value `TSetOf' not handled in switch
gen.c:257: warning: enumeration value `TTag' not handled in switch
gen.c:257: warning: enumeration value `TUInteger' not handled in switch
gen.c:257: warning: enumeration value `TUTCTime' not handled in switch
gen.c:257: warning: enumeration value `TUTF8String' not handled in switch
gen.c:258: error: break statement not within loop or switch
gen.c:261: error: break statement not within loop or switch
gen.c:264: error: break statement not within loop or switch
gen.c:267: error: break statement not within loop or switch
gen.c:270: error: break statement not within loop or switch
gen.c:288: error: break statement not within loop or switch
gen.c: At top level:
gen.c:290: error: parse error before "case"
gen.c:296: error: parse error before "if"
gen.c:302: error: parse error before '->' token
gen.c:302: warning: return type defaults to `int'
gen.c:302: warning: no previous prototype for `TAILQ_FOREACH'
gen.c: In function `TAILQ_FOREACH':
gen.c:303: error: `m' undeclared (first use in this function)

.. and so on ...

    Maybe there is a problem in how I replace the lib/asn1 directory. 
Could someone describe me the exact process?

thanks,
Robert