Re: missing symbols when building openssl1.0.0g as static library..

2012-02-29 Thread Michael S. Zick
On Tue February 28 2012, JonathonS wrote: > Thanks :) That was the problem! Very interesting. I didn't think > order mattered :) > It doesn't if you use "group notation" in your ld command line. Then ld makes multiple passes over the files mentioned in the group. Mike > I reordered it and it w

Re: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread JonathonS
Thanks :) That was the problem! Very interesting. I didn't think order mattered :) I reordered it and it worked. J On Tue, Feb 28, 2012 at 5:30 PM, Wim Lewis wrote: > > On 28 Feb 2012, at 5:15 PM, JonathonS wrote: >> Thanks guys. Sorry for the confusion.  I thought "U" meant undefined >> and

Re: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread Wim Lewis
On 28 Feb 2012, at 5:15 PM, JonathonS wrote: > Thanks guys. Sorry for the confusion. I thought "U" meant undefined > and "T" meant it *belongs* in the text section, NOT that it actually > *exists* in the text section :) > > Here is my linker command. > > g++ -g -o unit_tests unit_tests.o -L/hom

Re: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread JonathonS
Thanks guys. Sorry for the confusion. I thought "U" meant undefined and "T" meant it *belongs* in the text section, NOT that it actually *exists* in the text section :) Here is my linker command. g++ -g -o unit_tests unit_tests.o -L/home/user/build/openssl/debug/lib -lcrypto -lssl --L/home/user/

RE: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread Jeremy Farrell
> From: JonathonS [mailto:thejunk...@gmail.com] > > Thanks guys for all your help. > > I am using 64-bit linux Centos. The binaries were built with GCC > 4.4.4. > > I am not currently linking against libcurl. I am just linking against > my own project. I am pretty sure the cause of the proble

Re: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread JonathonS
Thanks guys for all your help. I am using 64-bit linux Centos. The binaries were built with GCC 4.4.4. I am not currently linking against libcurl. I am just linking against my own project. I am pretty sure the cause of the problem is that the symbols are not defined in the binaries produced.

Re: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread Wim Lewis
On 28 Feb 2012, at 9:57 AM, JonathonS wrote: > Here is the command I used to build openssl: > > ./Configure --prefix=/home/user/openssl_release > --openssldir=/home/user/openssl_release no-asm threads zlib shared > linux-x86_64 > > After the binaries have been built, it produces libcrypto.a and

RE: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread Jeremy Farrell
> From: JonathonS [mailto:thejunk...@gmail.com] > > I am building openssl as a static library, and when I link to it, I am > getting a bunch of missing symbols that *should* be defined by > openssl. > > Here is the command I used to build openssl: > > ./Configure --prefix=/home/user/openssl_rele

Re: missing symbols when building openssl1.0.0g as static library..

2012-02-28 Thread Michael S. Zick
On Tue February 28 2012, JonathonS wrote: > Hi all, > > I am building openssl as a static library, and when I link to it, I am > getting a bunch of missing symbols that *should* be defined by > openssl. > > Here is the command I used to build openssl: > > ./Configure --prefix=/home/user/openssl_