vaghanirahul / skpsmtpmessage

Automatically exported from code.google.com/p/skpsmtpmessage
0 stars 0 forks source link

Several build errors #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have incorporated the required SKPSMTPMessage.[m|h] and
NSStream+SKPSMTPExtension.[m|h] and used the test message code in the
senderAppDelegate example shown and incorporated that into a function of mine.

I am getting build errors in the SKPSMTPMessage.[m|h] and
NSStream+SKPSMTPExtension.[m|h]...

any thoughts?

Original issue reported on code.google.com by dhruv.g...@gmail.com on 12 Jan 2009 at 8:29

GoogleCodeExporter commented 9 years ago
The SKPSMTPMessage.m file actually has all the errors...it is also including 
files
which I have not added like the HSK_CFUtilities.h and 
NSData+Base64Additions.h...do
we have to include those into our project as well?

the other error relates to validateSSLChain and it is not delcared in the .h or
anywhere else..

It would be great if you could provide more detailed instructions in exactly 
what is
needed to set this up.

Thanks!

Original comment by dhruv.g...@gmail.com on 12 Jan 2009 at 8:34

GoogleCodeExporter commented 9 years ago
NARROWED DOWN TO 3 LINKING ERRORS. And I am stuck.

Undefined symbols:
  "_kCFStreamSSLValidatesCertificateChain", referenced from:
      _kCFStreamSSLValidatesCertificateChain$non_lazy_ptr in SKPSMTPMessage.o
  "_CFHostCreateWithName", referenced from:
      +[NSStream(SKPSMTPExtensions)
getStreamsToHostNamed:port:inputStream:outputStream:] in 
NSStream+SKPSMTPExtensions.o
  "_CFStreamCreatePairWithSocketToCFHost", referenced from:
      +[NSStream(SKPSMTPExtensions)
getStreamsToHostNamed:port:inputStream:outputStream:] in 
NSStream+SKPSMTPExtensions.o
ld: symbol(s) not found

Original comment by dhruv.g...@gmail.com on 12 Jan 2009 at 9:51

GoogleCodeExporter commented 9 years ago
I added the library and added the linker flags as "-ObjC" but I am still 
getting this
one linker error...

ld: duplicate symbol .objc_category_name_NSStream_SKPSMTPExtensions in
/Users/anmol/Desktop/1-1-2009
iPhone_ATT/libsmtpmessage.a(NSStream+SKPSMTPExtensions.o) and
/Users/anmol/Desktop/1-1-2009
iPhone_ATT/build/iPhone_ATT.build/Debug-iphonesimulator/iPhone_ATT.build/Objects
-normal/i386/NSStream+SKPSMTPExtensions.o

Original comment by dhruv.g...@gmail.com on 13 Jan 2009 at 5:55

GoogleCodeExporter commented 9 years ago
Hey, I had the same problem as you had here. 
Undefined symbols:
  "_kCFStreamSSLValidatesCertificateChain", referenced from:
      _kCFStreamSSLValidatesCertificateChain$non_lazy_ptr in libsmtpmessage.a(SKPSMTPMessage.o)
ld: symbol(s) not found

But I realized that I added SMTPSenderAppDelegate.m. Deleting or eliminating 
the source from my xcode 
project solve the problem. Make sense because if I do have a Delegate, and I 
don't need it.

Maybe I'm wrong but, that's your problem too.

Good luck.

Javier

Original comment by javier.f...@gmail.com on 4 Feb 2009 at 5:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Not an issue with SKPSMTPMessage. User error.

Original comment by ibaird@gmail.com on 11 Feb 2009 at 1:22

GoogleCodeExporter commented 9 years ago
getting the same problems as well. Anyone ?

Original comment by shai.win...@gmail.com on 23 Mar 2009 at 3:27

GoogleCodeExporter commented 9 years ago
I've got the same, with 8 errors ... ? :(

Original comment by guillaum...@gmail.com on 23 Apr 2009 at 10:33