HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling bind 834 on hpux 11.11
Operating System - HP-UX
1834481
Members
3597
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-11-2003 10:38 AM
09-11-2003 10:38 AM
Our parent company is insisting on using bind 834, so I am stuck with it and cannot jump to 920. My problem is that I cannot get it to compile. I have loaded the necessary utilities, including gcc, gnu make, flex and bison. The error messages that I am running into all concern struct sockaddr_storage code, mostly "storage size of 'xxxx' isn't known." Other messages relate to type conflicts between main and functions.
Has anyone successfully compiled bind 834 on hpux 11.11 with gcc. If so, please help.
Has anyone successfully compiled bind 834 on hpux 11.11 with gcc. If so, please help.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 11:01 AM
09-11-2003 11:01 AM
Re: Compiling bind 834 on hpux 11.11
Post 32 bit or 64 bit please.
Also post and error message.
Though its not exact, this depot might get you through until the standards at your shop change.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=BIND812
As a curiosity, I'd like to know where you found BIND 834?
You may however have an opportunity. If BIND 834 is unworkable(see what the outcome is if you post what I requested), its a good reason to install the later, secure version. "Sorry boss, its BIND 812 binary or 920?"
Anyway, the error message would be useful. I would guess that you will have to modify the headers and source code to make it work right on HP-UX.
SEP
Also post and error message.
Though its not exact, this depot might get you through until the standards at your shop change.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=BIND812
As a curiosity, I'd like to know where you found BIND 834?
You may however have an opportunity. If BIND 834 is unworkable(see what the outcome is if you post what I requested), its a good reason to install the later, secure version. "Sorry boss, its BIND 812 binary or 920?"
Anyway, the error message would be useful. I would guess that you will have to modify the headers and source code to make it work right on HP-UX.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 11:18 AM
09-11-2003 11:18 AM
Re: Compiling bind 834 on hpux 11.11
64 bit
The most common error message is:
error: storage size of 'variable' isn't known
The worst of the bunch is the host program:
host.c:190: warning: `struct sockaddr_storage' declared inside parameter list
host.c:190: warning: its scope is only this definition or declaration, which is probably not what you want
host.c: In function `main':
host.c:228: error: storage size of `addr' isn't known
host.c: At top level:
host.c:577: warning: `struct sockaddr_storage' declared inside parameter list
host.c:577: error: conflicting types for `addrinfo'
host.c:190: error: previous declaration of `addrinfo'
host.c: In function `addrinfo':
host.c:582: error: dereferencing pointer to incomplete type
The source for 834 is from www.isc.org. The gnu stuff if the the hp download site.
The most common error message is:
error: storage size of 'variable' isn't known
The worst of the bunch is the host program:
host.c:190: warning: `struct sockaddr_storage' declared inside parameter list
host.c:190: warning: its scope is only this definition or declaration, which is probably not what you want
host.c: In function `main':
host.c:228: error: storage size of `addr' isn't known
host.c: At top level:
host.c:577: warning: `struct sockaddr_storage' declared inside parameter list
host.c:577: error: conflicting types for `addrinfo'
host.c:190: error: previous declaration of `addrinfo'
host.c: In function `addrinfo':
host.c:582: error: dereferencing pointer to incomplete type
The source for 834 is from www.isc.org. The gnu stuff if the the hp download site.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 08:53 AM
09-12-2003 08:53 AM
Solution
I take it your parent company is obsessed with DNS performance?-)
Off the top of my head, the messages about storage size suggests missing include files.
IIRC, gcc is rather fond of "manipulating" the system include files and then placing copies somewhere. Perhaps it bothced that slightly during the install of gcc. I've only ever compiled bind sources with HP ANSI C.
You might find some pre-compiled stuff in the HPUX porting archives.
Off the top of my head, the messages about storage size suggests missing include files.
IIRC, gcc is rather fond of "manipulating" the system include files and then placing copies somewhere. Perhaps it bothced that slightly during the install of gcc. I've only ever compiled bind sources with HP ANSI C.
You might find some pre-compiled stuff in the HPUX porting archives.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP