- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The connect function faild when linking with l...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2008 12:29 AM
тАО10-29-2008 12:29 AM
Re: The connect function faild when linking with libxnet.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2008 10:34 AM
тАО10-29-2008 10:34 AM
Re: The connect function faild when linking with libxnet.sl
One issue with a 64 bit application, socklen_t and size_t may have different sizes. So unless you are looking and correcting warnings, they may be picking up bogus lengths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2008 02:09 PM
тАО11-03-2008 02:09 PM
Re: The connect function faild when linking with libxnet.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2008 02:55 PM
тАО11-03-2008 02:55 PM
Re: The connect function faild when linking with libxnet.sl
First of all, do you know the differences with the -D? If this just changes the instructions, that would be hard to check. If it changes the functions, you could scan with nm(1). Of course you could have the wrong shlib, so just looking at chatr(1) may not help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 12:57 AM
тАО11-12-2008 12:57 AM
Re: The connect function faild when linking with libxnet.sl
1.In prior releases, if an executable includes binary objects compiled to X/Open Sockets and binary objects compiled to BSD specification, it may result in unexpected
behavior, including abnormal termination and unexpected socket errors. This
problem can now be avoided by:
├в Define _HPUX_ALT_XOPEN_SOCKET_API, in addition to either defining
_XOPEN_SOURCE=600 in UNIX03, or _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED in UNIX95;
├в Link with C library instead of Xnet library. Xnet library should not be included
in the link line.
2.The following interfaces and system calls are impacted by UNIX 2003 Conformance:
├в To conform to UNIX 2003, customers must define _XOPEN_SOURCE to 600. To
conform to UNIX 95, customers must continue to define _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED. Please note that applications using the X/Open
Sockets must be linked with the Xnet library for UNIX 2003 and UNIX 95 conformance.
The points are from HP-UX 11i Version 3 Release Notes
3.from man page(xopen_networking(7))
Note if the C library is also specified in the link line, the Xnetlibrary has to be specified before the C library. Otherwise, X/Open Sockets calls would have been resolved to BSD Sockets functions in the C library instead of X/Open Sockets functions in the Xnet library.
the above statement is a contradictory as both libc and xnet library are in the same directory.
I guess that was the main problem.
FINAL WORDS:
I guess HP has correct this problem in release B.11.31(current release level of the operating, uname -r)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 02:19 AM
тАО11-12-2008 02:19 AM
Re: The connect function faild when linking with libxnet.sl
please accept my apologies for the above wrong statement.
- « Previous
-
- 1
- 2
- Next »