Hi, I am struggling embedding TCL in a C application. It looks like the provided library is built with the XPLINK option. When I compile my very simple program using xlc under z/OS 2.1
xlc -W c,XPLINK -W l,XPLINK -I ./include -L ./lib -o tclembed tclembed.c -ltcl8.5
I get the following binder error messages:
IEW2456E 9207 SYMBOL _ctype_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM
THE DESIGNATED CALL LIBRARY. NAME SPACE = 3
IEW2456E 9207 SYMBOL _tolower_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM
THE DESIGNATED CALL LIBRARY. NAME SPACE = 3
IEW2456E 9207 SYMBOL __read_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM
THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL __write_a UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM
THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL __gethostbyname_OE_a UNRESOLVED. MEMBER COULD NOT BE
INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL __gethostbyaddr_OE_a UNRESOLVED. MEMBER COULD NOT BE
INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL __getservbyname_OE_a UNRESOLVED. MEMBER COULD NOT BE
INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2689W 4C40 DEFINITION SIDE FILE IS NOT DEFINED.
FSUM3065 The LINKEDIT step ended with return code 8
Checked the IBM manuals on how to cope with XPLINK but found nothing relevant. Am I missing something / doing something wrong?
Thanks in advance,
mario