• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Compile Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Compile Problems
      • From: Barry Fawthrop <email@hidden>
    • Re: Compile Problems
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Handling WebView DOM events in Cocoa
  • Next by Date: Re: Examples or Documentation for Non-document-based Multi-window App
  • Previous by thread: Re: Handling WebView DOM events in Cocoa
  • Next by thread: Re: Compile Problems
  • Index(es):
    • Date
    • Thread