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
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
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
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/
> 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
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.
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
> 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
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_