- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: compiling bash 4.0.033
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
тАО11-23-2009 07:23 PM
тАО11-23-2009 07:23 PM
HP-UX wcalqa1w B.11.11 U 9000/800
I'm trying to build a 64 bit version of bash 4.0.033 on this machine from the source distribution found of the HP porting center (http://hpux.connect.org.uk). It works until ld is run to create the bash executable and then I get the following errors.
ld: Unsatisfied symbol "__strtoull" in file ./builtins/libbuiltins.a[printf.o]
ld: Unsatisfied symbol "__strtoll" in file general.o
The bash distribution has two files, strtoll.c and strtoull.c, that define strtoll() and strtoull() properly after the configure script is run. The objects of those two C files have strtoll and strtoull, which I can see with nm.
Could somebody explain to me where are references to __strtoll and __strtoull coming from, even if nothing in the bash source files is referencing those two symbols?
Thanks in advance for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 09:57 PM
тАО11-23-2009 09:57 PM
Re: compiling bash 4.0.033
There are some macros in
Unfortunately this fails in 64 bit mode because you should just use strtol or strtoul there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 10:42 PM
тАО11-23-2009 10:42 PM
Re: compiling bash 4.0.033
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 04:12 AM
тАО11-24-2009 04:12 AM
Re: compiling bash 4.0.033
Thanks for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 05:01 AM
тАО11-24-2009 05:01 AM
Re: compiling bash 4.0.033
I presume that you fetched the build-time dependencies, too since to create a fully executable package those will have to be compiled too.
> I don't have root access to this server. There is a non privileged moded described in the documentation of SD-UX, but that didn't work for me.
May I suggest (along the lines of Torsten's thinking) that you ask your Server Administrator to install a pre-built binary for you from the Porting Centre.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 12:47 PM
тАО11-24-2009 12:47 PM
Re: compiling bash 4.0.033
I was able to build 64 bit versions of the build time dependencies for bash (gettext, libiconv, make and libtermcap). Does the reply from Dennis (Handly) mean that building a 64 bit version is hopeless, or could the sources be tweaked?
Thank you all for the replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 04:31 PM
тАО11-24-2009 04:31 PM
SolutionIt should be trivial:
1) #undef those macros. Find why you are using strtoimax?
2) Define __strtoll and __strtoull and have them either call your function, or call the ones for long: strtol and strtoul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 06:02 PM
тАО11-24-2009 06:02 PM
Re: compiling bash 4.0.033
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 07:51 AM
тАО11-29-2009 07:51 AM
Re: compiling bash 4.0.033
$ which bash
/home/limpet/ex36672/tools/hppa64/bin/bash
$ file /home/limpet/ex36672/tools/hppa64/bin/bash
/home/limpet/ex36672/tools/hppa64/bin/bash: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Most of the tests in the bash test suite succeded.
Thanks again to all for your replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2009 12:34 AM
тАО11-30-2009 12:34 AM
Re: compiling bash 4.0.033
If you are happy with the answers you were given, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33