Error 1:
[Email protected]:/opt/tuxedo/simpapp# buildclient-f simpcl.c-o SIMPCL
simpcl.c:in function ' main ':
Simpcl.c:43:12:warning:incompatible implicit declaration of built-in function ' strlen ' [enabled by default]
Sendlen = strlen (argv[1]);
^
Simpcl.c:60:9: warning:incompatible Implicit declaration of built-in function ' strcpy ' [enabled by default]
(void) strcpy (SendBuf, argv[1]);
^
/opt/tuxedo/tuxedo11gr1/lib/libengine.so:undefined reference to ' Dlopen '
/opt/tuxedo/tuxedo11gr1/lib/libengine.so:undefined reference to ' Dlclose '
/opt/tuxedo/tuxedo11gr1/lib/libengine.so:undefined reference to ' Dlerror '
/opt/tuxedo/tuxedo11gr1/lib/libengine.so:undefined reference to ' Dlsym '
Collect2:error:ld returned 1 exit status
Cmdtux_cat:512:error:cannot Execute C compiler cc-i$tuxdir/include-o simpcl-l${tuxdir}/lib SIMPCL.C-LTUX-LBUFT-LFM L-lfml32-lengine-ldl-lpthread
Encountered this error, because Ubuntu is not a tuxedo supported platform, when compiling the client program, you need to execute the following compile command
Buildclient-o simpcl-f "-xlinker--no-as-needed simpcl.c"
For specific explanations, see
https://forums.oracle.com/forums/thread.jspa?threadID=2344582
Tuxedo Error Resolution