- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error "ld: warning: global symbol `' has non-globa...
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
Forums
Discussions
Discussions
Discussions
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
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
05-06-2007 07:34 PM
05-06-2007 07:34 PM
Error "ld: warning: global symbol `' has non-global binding"
We have a application running on HP-UX 11.23 IA64 server. The logic has been written in COBOL and we are using MicroFocus Server Express 4.0SP2. But we are now testing it on Sun Solaris box(SunOS 5.10 sun4u sparc SUNW,UltraAX-i2).
While trying to create a sharable object linking my C objects with COBOL & Oracle libraries, I am getting following error:
ld: warning: global symbol `' has non-global binding:
(file /opt/microfocus/cobol/lib/libcobrts.so value=LOCL);
ld: warning: global symbol `' has non-global binding:
(file /opt/microfocus/cobol/lib/libcobcrtn.so value=LOCL);
ld: warning: global symbol `' has non-global binding:
(file /opt/microfocus/cobol/lib/libcobmisc.so value=LOCL);
ld: warning: global symbol `' has non-global binding:
(file /opt/microfocus/cobol/lib/libcobscreen.so.2 value=LOCL);
Undefined first referenced
symbol in file
bind /fns/l/r/int/beatcpio.o
recv /fns/l/r/int/beatcpio.o
send /fns/l/r/int/beatcpio.o
ld: fatal: Symbol referencing errors. No output written to rtsunx.l
cob32: bad magic number:
Any idea about such kind of error??
Regards,
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2007 02:05 PM
07-14-2007 02:05 PM
Re: Error "ld: warning: global symbol `' has non-global binding"
Why are you asking Sun and MicroFocus questions here? (I thought I didn't recognize those linker messages.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2007 05:48 PM
07-15-2007 05:48 PM
Re: Error "ld: warning: global symbol `' has non-global binding"
Even though there is a diff between 2 Unix but the cause of the error would remain same. Thats what I thought and posted the message here.
The problem was I was linking a 64-bit Oracle library with 32-bit objects.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 04:57 AM
07-16-2007 04:57 AM
Re: Error "ld: warning: global symbol `' has non-global binding"
Not at all.
>The problem was I was linking a 64-bit Oracle library with 32-bit objects.
The HP-UX linker has a very specific error for that and it would be very obvious.
You should close this thread. (Any should have closed it when you figured out the problem.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 09:41 PM
07-16-2007 09:41 PM