LD script errors
Ankur Arora
ankura@cse.iitk.ac.in
Tue Jun 15 19:14:00 GMT 2004
Hi,
I need to get absolute placement for functions in a program I am
compiling. However, with a linker script like:
./apps/apps.o(.text.program_name)
./crypto/bio/bio_lib.o(.text.BIO_new)
/* 17:29 */
/* 0x8a0 = */ . = . + 0x3;
/* 17:32 */
./apps/openssl.o(.text.SortFnByName)
I am getting errors of the form:
./apps/apps.o(.text.load_cert+0x0): first defined here
apps/apps.o(.text.load_key+0x0): In function `load_key':
: multiple definition of `load_key'
./apps/apps.o(.text.load_key+0x0): first defined here
apps/apps.o(.text.load_pubkey+0x0): In function `load_pubkey':
: multiple definition of `load_pubkey'
./apps/apps.o(.text.load_pubkey+0x0): first defined here
apps/apps.o(.text.load_certs+0x0): In function `load_certs':
: multiple definition of `load_certs'
Any clue what's wrong? None of these symbols are actually
multiply defined.
Regards,
ankur
--
Friction is a drag.
More information about the Binutils
mailing list