XTSTRINGS COMPILE PROBLEM WITH NEW C COMPILER (V1.3)
ITEM: RTA000042036
QUESTION:
My customer upgraded to 3.2.5, with the new release of the C Compiler.
(v1.3)
They tried recompiling one of their applications, and it experienced
an error that didn't occur on the previous version of the C compiler.
cc -D_BSD -D_BSD_INCLUDES -o InstinetV InstinetV.o read_dir.o load_lis
error.c:
speak.c:
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error(followed by references) are
dumped to the load map.
The -bloadmap: option will create a load map.
XtStrings
make: 1254-004 The error code from the last command is 8.
Make Quitting.
I think the compiler may not allow you to declare a char XtStrings
of zero characters anymore, but I'm not sure.
Is there anything that should of been added to the application due to
the new compiler change?
Thank you for your help¢¢
---------- ---------- ---------- --------- ---------- ----------
A: The unresolved symbol error message is produced when you compile
code which references an undefined function or symbol. In your
case the undefined symbol is "XtStrings". XtStrings is defined
in the X11R5 version of the libXt.a library. The compile line
you provided does not instruct the libXt.a library to be included.
You need to add "-lXt" to the compile line to include libXt.a.
This will cause the program to look in /usr/lib for the libXt.a
library. libXt.a should be linked to /usr/lpp/X11/lib/R5/libXt.a
for the XtStrings to be resolved. If the link points to
/usr/lpp/X11/lib/libXt.a, then you are using the X11R4 libXt.a
which does not include XtStrings in AIX 3.2.5. If this is the
case you will need to change /usr/lib/libXt.a to point to the
X11R5 version of libXt.a.
For a detailed discussion of how to use and switch between the
different versions of the libXt and libX11 libraries, please
refer to /usr/lpp/X11/README.
---------- ---------- ---------- --------- ---------- ----------
This item was created from library item Q658546 CRGRT
Additional search words:
COMPILE COMPILER COMPILERS CRGRT FREE IX MAY94 NEW OZNEW PROBLEM
RELEASE RISCL RISCSYSTEM SOFTWARE URGENT XTSTRINGS 1.3
WWQA: ITEM: RTA000042036 ITEM: RTA000042036
Dated: 06/1996 Category: RISCL
This HTML file was generated 99/06/24~12:43:16
Comments or suggestions?
Contact us