- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: CC linking problem (cfront)
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
тАО01-26-2005 11:18 AM
тАО01-26-2005 11:18 AM
CC +a1 -g -o gs4 gs4.o Tframe.o Initializer.o QIV_quad.o Maimd.o MAB.o gtfptof.o -lm -luser
nm: /lib/libm.sl: bad magic
nm: /lib/libC.ansi.sl: bad magic
nm: /lib/libcl.sl: bad magic
nm: /lib/libc.sl: bad magic
nm: /usr/lib/libdld.sl: bad magic
All the routines are *.C except for one which is a .c
What's the usual cause of the "bad magic" messages?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 12:40 PM
тАО01-26-2005 12:40 PM
Re: CC linking problem
It would also help if you identified your OS and compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 01:28 PM
тАО01-26-2005 01:28 PM
Re: CC linking problem
/usr/bin/CC:
HP C++ HPCPLUSPLUS A.10.01
Platform is HP 9000 K200, running HP-UX 10.01.
make -n shows:
CC +a1 -g -c gs4.C
CC +a1 -g -c Tframe.C
CC +a1 -g -c Initializer.C
CC +a1 -g -c QIV_quad.C
CC +a1 -g -c Maimd.C
CC +a1 -g -c MAB.C
CC +a1 -g -o gs4 gs4.o Tframe.o Initializer.o QIV_quad.o Maimd.o MAB.o -lm -luser
(-luser is our user lib)
Are shared libraries usually the ones called?
Another odd thing is that a directory, ./ptrepository shows up all of a sudden (not noticed before).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 10:58 PM
тАО01-30-2005 10:58 PM
Re: CC linking problem
to store various intermediate files. This directory can be changed using
the "-ptr${New_Directory}" flag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 04:02 AM
тАО01-31-2005 04:02 AM
Re: CC linking problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2005 01:00 AM
тАО02-01-2005 01:00 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 02:50 AM
тАО02-02-2005 02:50 AM
Re: CC linking problem
A bit difficult with a 10.01 version O/S admittedly. But interested to know if you have it installed.
http://www5.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHSS_14732
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 05:04 AM
тАО02-02-2005 05:04 AM
Re: CC linking problem
I'll post a reply when I get it in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 08:21 PM - edited тАО09-25-2011 03:52 PM
тАО07-06-2007 08:21 PM - edited тАО09-25-2011 03:52 PM
Re: CC linking problem (cfront)
cfront was obsoleted in 2001. You should NOT be still using this. The proper C++ compiler is aC++. But catch-22 since you said your OS version is 10.01, aC++ was never supported on that OS version.
>Clay: but "normally" CC is not used to invoke the C (or C++) compiler (cc, aCC, gcc, g++).
That was the command to invoke obsolete cfront. And it invokes c++ptlink and nm to do link time template instantiation.