-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile error GSSAPI_Token" is undefined and more #16
Comments
I encountered the same problem and was able to fix it. it seems you need to add 3 more .asn files to the command (which are already in the folder) so just change it to this: |
thanks for the reply, sorry im late, with your hint i was finally able to move on and get the kull_m_kerberos_oss_asn1_internal_x64.c compiled. Severity Code Description Project File Line Suppression State but i think those are related to the code, did you made it by any chance |
Hello Benjamin,
i have downloaded the trial license for ASN1/C for x64 kekeo use and followed the procedure to make the .h file:
c:\temp\kekeo\modules\asn1>set ASN1C="C:\Program Files\OSS Nokalva\ossasn1\winx64.trial\10.7.0"
c:\temp\kekeo\modules\asn1>%ASN1C%\bin\asn1.exe ^
More? %ASN1C%\asn1dflt\asn1dflt.msx64.zp8 ^
More? KerberosV5Spec2.asn KerberosV5-PK-INIT-SPEC.asn PKIX1Explicit88.asn PKINIT.asn MS-SFU-KILE.asn ^
More? -noSampleCode -der -root -CStyleComments -externalName kekeo_asn1 -messageFormat msvc -verbose ^
More? -headerFile kull_m_kerberos_oss_asn1_internal.h -soedFile kull_m_kerberos_oss_asn1_internal_x64.c
OSS ASN.1 Compiler Version 10.7
Copyright (C) 2019 OSS Nokalva, Inc. All rights reserved.
asn1 : C0556I: Reading configuration file C:\Program Files\OSS Nokalva\ossinfoctrial.
asn1 : C0284I: Syntax checking file 'C:\Program Files\OSS Nokalva\ossasn1\winx64.trial\10.7.0\asn1dflt\asn1dflt.msx64.zp8'.
asn1 : C0284I: Syntax checking file 'KerberosV5Spec2.asn'.
asn1 : C0284I: Syntax checking file 'KerberosV5-PK-INIT-SPEC.asn'.
asn1 : C0284I: Syntax checking file 'PKIX1Explicit88.asn'.
asn1 : C0284I: Syntax checking file 'PKINIT.asn'.
asn1 : C0284I: Syntax checking file 'MS-SFU-KILE.asn'.
asn1 : C0285I: Global checking abstract syntax.
KerberosV5-PK-INIT-SPEC.asn(33) : KerberosV5-PK-INIT-SPEC: warning A0073W: 'identified-organization', not 'org', is the standard identifier for 3.
asn1 : C0286I: Generating header file.
asn1 : C0287I: Generating control file.
asn1 : C1310I: No critical errors found, but message(s) were suppressed due to the compiler's default permissive mode. Compile with -noRelaxedMode to see all messages.
asn1 : C0245I: 110 warning messages suppressed, 0 informatory messages suppressed, 1 error message ignored.
To see the suppressed messages use the option -warningMessages.
asn1 : C0043I: 0 error messages, 1 warning message and 11 informatory messages issued.
file generated: kull_m_kerberos_oss_asn1_internal.h
elsewhere once i load the project using VStudio 2017 i get this error once compiliing:
Severity Code Description Project File Line Suppression State
Error (active) E0020 identifier "GSSAPI_Token" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 321
Error (active) E0020 identifier "GSSAPI_Token_PDU" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 320
Error (active) E0020 identifier "gssapi_Token" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 321
Error (active) E0020 identifier "NegotiationToken_PDU" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 370
Error (active) E0020 identifier "NegotiationToken" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 371
Error (active) E0020 identifier "negotiationToken" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 371
Error (active) E0020 identifier "negTokenInit_chosen" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 375
Error (active) E0020 identifier "NegTokenInit_mechToken_present" is undefined kekeo C:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 377
Error C2220 warning treated as error - no 'object' file generated kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_ntlm.c 703
Error C2065 'GSSAPI_Token_PDU': undeclared identifier kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 320
Error C2065 'GSSAPI_Token': undeclared identifier kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 321
Error C2065 'gssapi_Token': undeclared identifier kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 321
Error C2106 '=': left operand must be l-value kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 321
Error C2065 'gssapi_Token': undeclared identifier kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 351
Error C2065 'gssapi_Token': undeclared identifier kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 353
Error C2223 left of '->innerToken' must point to struct/union kekeo c:\temp\kekeo\kekeo\modules\kuhl_m_tgt.c 353
...
anything i do wrong or miss ?
thanks in advance
The text was updated successfully, but these errors were encountered: