- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using gcc on HP 11.11
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
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
тАО07-15-2004 03:42 AM - last edited on тАО01-02-2012 12:51 AM by Ajay-Kumar
тАО07-15-2004 03:42 AM - last edited on тАО01-02-2012 12:51 AM by Ajay-Kumar
using gcc on HP 11.11
I am using gcc 3.3.2 and binutils 2.14 on HP 11.11.
I can get code to compile but I am having problems with the linker. Are we supposed
to be using the HP linker (ld) or should
be using a gnu type linker ?
The following is the last few lines of my
link line and the unresolved symbols it complains about:
-lDtWidget -lDtSvc -ltt -lstdc++ -lglib -lMrm -lXm -lXt -
lX11 -lcl -lisamstub -lndbm -lc -lC -lPW -lm -lX11 -lndbm -lcurses -lMrm -lXm -lXt -lX11 -lm -ldld -ltt -lc -lC -lcl -lPW -ltt
ld: Unsatisfied symbols:
_Unwind_SjLj_Register (code)
__divdi3 (code)
_Unwind_SjLj_Resume (code)
_Unwind_SjLj_Unregister (code)
$global$ (data)
__moddi3 (code)
ld: Unsatisfied symbols:
$global$ (data)
Any help, suggestions, comments, etc.
would be much appreciated.
Thank you.
Sincerely,
Fred Bartholomai
-----------------------------------
P.S. This thread has been moved from General to Languages & Scripting - Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 03:48 AM
тАО07-15-2004 03:48 AM
Re: using gcc on HP 11.11
Find the location of libgcc.a and then add in the makefile
-L/your/path/to/libgcc -lgcc
probably something like
-L/usr/local/pa20_32/lib/gcc/hppa2.0w-hp-hpux11.00/3.4.1 -lgcc
on HP-UX 11.00 with 32bit gcc-3.4.1
YMMV
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 04:23 AM
тАО07-15-2004 04:23 AM
Re: using gcc on HP 11.11
I did what you suggested, it cleaned up
most of the symbols but the following remain:
-lDtWidget -lDtSvc -ltt -lstdc++ -lglib -lMrm -lXm -L /us
r/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2 -lXt -lX11 -lcl -lisamstub -lndb
m -lc -lC -lPW -lm -lX11 -lndbm -lcurses -lMrm -lXm -lXt -lX11 -lm -ldld -ltt -l
c -lC -lcl -lPW -ltt -lgcc
ld: Unsatisfied symbols:
$global$ (data)
ld: Unsatisfied symbols:
$global$ (data)
Any ideas ?
I appreciate your help.
Thank you.
Fred Bartholomai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 05:00 AM
тАО07-15-2004 05:00 AM
Re: using gcc on HP 11.11
You might wanna try to replace 'ld' with 'gcc' and see what happens.
Or you might want to force load /usr/lib/crt0.o
Enjoy, Have FUN! H.Merijn