Re: Compiling on a Mac

2008-02-07 Thread Victor Duchovni
On Thu, Feb 07, 2008 at 05:42:59PM -0800, Joel Christner wrote: > As an aside, anyone have issues with unrecognized symbols > EVP_CIPHER_CTX_block_size? > > I've tried including everything under the sun - evp.h, bio.h, err.h, rand.h, > ssl.h, x509v3.h. This changed from a macro in older OpenSSL

Re: Compiling on a Mac

2008-02-07 Thread Joel Christner
As an aside, anyone have issues with unrecognized symbols EVP_CIPHER_CTX_block_size? I've tried including everything under the sun - evp.h, bio.h, err.h, rand.h, ssl.h, x509v3.h. On Feb 7, 2008 5:20 PM, Jeremy Farrell <[EMAIL PROTECTED]> wrote: > > From: Larry Bugbee > > > > > The source for in

RE: Compiling on a Mac

2008-02-07 Thread Jeremy Farrell
> From: Larry Bugbee > > > The source for incremental_send isn't in the book anywhere > > that I've seen. I'm using the first edition (June 2002). > > My code does call incremental_send, and the code I'm trying > > to compile is the example code provided in the book itself > > (in chapter 6 - se

RE: Compiling on a Mac

2008-02-06 Thread David Schwartz
> Hi David, > Yes indeed I do. I have seen that link before, > but it doesn't contain the contents of incremental_send > (this data is left hanging in limbo with nothing to do). That is the contents of incremental_send. > My goal is to integrate this into a sockets application > I'm using wher

Re: Compiling on a Mac

2008-02-06 Thread Joel Christner
Hi David, Yes indeed I do. I have seen that link before, but it doesn't contain the contents of incremental_send (this data is left hanging in limbo with nothing to do). My goal is to integrate this into a sockets application I'm using where there will indeed be a continuous stream of data. Tha

Re: Compiling on a Mac

2008-02-06 Thread Larry Bugbee
The source for incremental_send isn't in the book anywhere that I've seen. I'm using the first edition (June 2002). My code does call incremental_send, and the code I'm trying to compile is the example code provided in the book itself (in chapter 6 - see example 6-4). The book provides t

RE: Compiling on a Mac

2008-02-06 Thread David Schwartz
> Can you share the code that you found, a link to it, or at > least a hint as to which search engine you found it on? >> http://www.cs.odu.edu/~cs772/sourcecode/NSwO/compiled/encdec.c There you go. I'm curious -- do you understand what the code you are compiling is supposed to actually *do*? B

Re: Compiling on a Mac

2008-02-05 Thread Joel Christner
Can you share the code that you found, a link to it, or at least a hint as to which search engine you found it on? On Feb 5, 2008 8:01 PM, David Schwartz <[EMAIL PROTECTED]> wrote: > > > > The source for incremental_send isn't in the book anywhere > > that I've seen. > > Well then that explains t

RE: Compiling on a Mac

2008-02-05 Thread David Schwartz
> The source for incremental_send isn't in the book anywhere > that I've seen. Well then that explains the problem. You are calling a function that does not exist. > I'm using the first edition (June 2002). > My code does call incremental_send, > and the code I'm trying to compile is the exampl

Re: Compiling on a Mac

2008-02-05 Thread Joel Christner
Hi David, The source for incremental_send isn't in the book anywhere that I've seen. I'm using the first edition (June 2002). My code does call incremental_send, and the code I'm trying to compile is the example code provided in the book itself (in chapter 6 - see example 6-4). The book provides

Re: Compiling on a Mac

2008-02-05 Thread Kyle Hamilton
on Mac, dynamically-loaded libraries have the extension .dylib, not .so. On Feb 3, 2008, at 11:04 AM, Michael Sierchio wrote: Joel Christner wrote: The issue I'm seeing is when compiling: mac# openssl version OpenSSL 0.9.7l 28 Sep 2006 mac# gcc blowfish.c -o blowfish ... Undefined symbols:

RE: Compiling on a Mac

2008-02-05 Thread David Schwartz
> Ummm, I realize that. I've tried hunting down where the > incremental_send method is and I can't find it anywhere. It's in your book. > Can you give some suggestions on the "rational troubleshooting" > you recommend? Check your source code for references to "incremental_send". You can use "

Re: Compiling on a Mac

2008-02-05 Thread Joel Christner
Ummm, I realize that. I've tried hunting down where the incremental_send method is and I can't find it anywhere. Can you give some suggestions on the "rational troubleshooting" you recommend? I have no idea what the cc4DdydW.o file is, I'm assuming this is being produced by the compiler. Where i

RE: Compiling on a Mac

2008-02-05 Thread David Schwartz
> Hi David, > I'm down to symbol not defined for one item - incremental_send > (and I can't find what file this is supposed to be in). Well, you need to do that. > I re-installed to /usr/include/openssl and used --prefix=/usr/include > and --openssldir=/usr/include/openssl > I'm trying to comp

Re: Compiling on a Mac

2008-02-04 Thread Joel Christner
Hi David, I'm down to symbol not defined for one item - incremental_send (and I can't find what file this is supposed to be in). I re-installed to /usr/include/openssl and used --prefix=/usr/include and --openssldir=/usr/include/openssl I'm trying to compile now with -lssl -lcrypto -L/usr/includ

RE: Compiling on a Mac

2008-02-04 Thread David Schwartz
> Sorry I didn't update the list, but I tried with > -lssl and -lcrypto, as well as -I/usr/include/openssl. And what happened? Did you get the same error messages or different ones? > I've reinstalled openssl to no avail. What directories did you install to? And did you tell your compiler/linke

Re: Compiling on a Mac

2008-02-04 Thread Joel Christner
Sorry I didn't update the list, but I tried with -lssl and -lcrypto, as well as -I/usr/include/openssl. I've reinstalled openssl to no avail. Any other thoughts? Thanks On Feb 4, 2008 9:43 AM, David Schwartz <[EMAIL PROTECTED]> wrote: > > >> On Feb 3, 2008 10:51 AM, David Schwartz <[EMAIL PROT

RE: Compiling on a Mac

2008-02-04 Thread David Schwartz
>> On Feb 3, 2008 10:51 AM, David Schwartz <[EMAIL PROTECTED]> wrote: >>> mac# gcc blowfish.c -o blowfish >> Where did you get this command from and what >> was it supposed to accomplish? > blowfish.c is a progam I wrote which contained a series of methods for > initializing, encrypting, and dec

Re: Compiling on a Mac

2008-02-04 Thread Joel Christner
hat if your > planning on distributing it you will likely want to build a PPC version as > well as an > Intel version. > > Ted > > -Original Message- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] Behalf Of *Joel Christner > *Sent:* Sunday, February 03

RE: Compiling on a Mac

2008-02-04 Thread Ted Mittelstaedt
Sent: Sunday, February 03, 2008 1:14 PM To: openssl-users@openssl.org Subject: Re: Compiling on a Mac blowfish.c is a progam I wrote which contained a series of methods for initializing, encrypting, and decrypting. Joel On Feb 3, 2008 10:51 AM, David Schwartz <[EMAIL PROTECTED

Re: Compiling on a Mac

2008-02-03 Thread Joel Christner
blowfish.c is a progam I wrote which contained a series of methods for initializing, encrypting, and decrypting. Joel On Feb 3, 2008 10:51 AM, David Schwartz <[EMAIL PROTECTED]> wrote: > > > > mac# gcc blowfish.c -o blowfish > > Where did you get this command from and what was it supposed to > a

Re: Compiling on a Mac

2008-02-03 Thread Michael Sierchio
Joel Christner wrote: The issue I'm seeing is when compiling: mac# openssl version OpenSSL 0.9.7l 28 Sep 2006 mac# gcc blowfish.c -o blowfish ... Undefined symbols: Basic C compiler/linker usage error. gcc blowfish.c -o blowfish -L -lcrypto or something very much like that. - M ___

RE: Compiling on a Mac

2008-02-03 Thread David Schwartz
> mac# gcc blowfish.c -o blowfish Where did you get this command from and what was it supposed to accomplish? DS __ OpenSSL Project http://www.openssl.org User Support Mailing List