• 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
two level namespace q
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

two level namespace q


  • Subject: two level namespace q
  • From: Alex Rice <email@hidden>
  • Date: Wed, 10 Oct 2001 07:42:42 -0600

Hi, I'm building my project using PB 1.1 (MacOS 10.1). I have read the developer release notes about two level namespace executables. However, I'm not sure about this linking warning and how to get rid of it, or if it matters.

I have an Obj-C class that uses some openssl functions for creating SHA message digest. The openssl headers were downloaded from the openssl project. These are the same headers I was using with 10.0.x.

Here is some pseudocode:
#import <openssl/evp.h> // in MyClass.m
EVP_MD_CTX
EVP_MD
OpenSSL_add_all_digests()
EVP_get_digestbyname()
EVP_DigestInit()
EVP_DigestUpdate()
EVP_DigestFinal()

When building in PB 1.1 I get these warnings:

warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used.
warning unused multiple definitions of symbol _crypt

However the app runs fine and no errors when calling the crypto functions.

I tried setting in my Build Settings tab panel the environment variable (that's where you set env vars, right?) DYLD_FORCE_FLAT_NAMESPACE then running the app, and got no errors. So, should I worry about this warning? What's causing it?

much TIA

Alex Rice <email@hidden>
Mindlube Software
http://www.mindlube.com/


  • Prev by Date: Rendering a View into an Image
  • Next by Date: FW: Classes for a dummy dummy <NSImage access>.
  • Previous by thread: Re: Rendering a View into an Image
  • Next by thread: Undo Causes Document Window to be Retained
  • Index(es):
    • Date
    • Thread