Undefined Symbol sysdep.o

Post Reply
Tico
Posts: 1
Joined: Tue Jan 07, 2003 5:38 pm

Undefined Symbol sysdep.o

Post by Tico »

I am currently attempting to create a shared object that includes the texis libraries on AIX version 4.3.

I get the following error when attempting to link to texis libraries.

*******************************************************

ld: 0711-318 ERROR: Undefined symbols were found.
The following symbols are in error:
Symbol Inpndx TY CL Source-File(Object-File) OR Import-File{Shared-object}
RLD: Address Section Rld-type Referencing Symbol
----------------------------------------------------------------------------------------------
_end [130] ER UA sysdep.c(/usr/local/morph3/api/libtexis.a[sysdep.o])
00002460 .data R_POS [132] <_end>

*************************************************

Any ideas on how to resolve the symbol _end?

This is the only unresolved reference in my object.

Thanks,
Tim at QVC
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Undefined Symbol sysdep.o

Post by mark »

It should be in stdlib. If not, you can create it yourself as it's only used for debug printing of memory usage. It's an int. Somewhere in your code add the global C variable:

int _end=0;
Post Reply