Tuxedo Error Resolution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.