Compile Problems
Compile Problems
- Subject: Compile Problems
- From: Barry Fawthrop <email@hidden>
- Date: Wed, 11 Mar 2009 12:18:12 -0400
Greetings All
I'm trying to build a kerberos based application for the iPhone 2.2.1
I'm getting errors like this
...
...
Compiling /Users/xxxx/Desktop/XXXX/Classes/crypto/enc_provider/des.mm (1 errors)
error: 'krb5int_c_mit_des_zeroblock' was not declared in this scope
Compiling /Users/xxxx/Desktop/XXXX/Classes/crypto/enc_provider/des3.mm (2 errors)
error: 'krb5int_c_mit_des_zeroblock' was not declared in this scope
error: 'krb5int_c_mit_des_zeroblock' was not declared in this scope
The des.mm error comes from the line
mit_des_cbc_encrypt((const mit_des_cblock *)input->data,
(mit_des_cblock *) output->data, input->length,
schedule, (ivec ? (unsigned char *)ivec->data :
(unsigned char *)mit_des_zeroblock), enc);
des.mm has at the beginning
#import <UIKit/UIKit.h>
#import "krb5.h"
#import "enc_provider.h"
#import "des_int.h"
des_int.h has
typedef des_cblock mit_des_cblock;
typedef mit_des_cblock mit_des3_cblock[3];
...
...
...
extern const mit_des_cblock mit_des_zeroblock;
#define mit_des_zeroblock krb5int_c_mit_des_zeroblock
Any assistance gratefully appriecated
Thanks
Barry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden