- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- configure: error: Need to know how to pack structu...
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
02-02-2006 08:42 PM
02-02-2006 08:42 PM
configure: error: Need to know how to pack structures with this compiler
I am working on HP UX 11.11 OS. Trying to build clamAV using gcc for 11.11 64 bit version.
I am getting above error. How to resolve that?
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2006 12:27 AM
02-03-2006 12:27 AM
Re: configure: error: Need to know how to pack structures with this compiler
found on the WEB:
1.
> ....and the problem is not due to the #pragma packed test, but is due to
> configure trying to link tcpwrapper (-lwrap) in.
>
> You could try:
>
> ./configure --without-tcpwrappers
2.
Could you try compiling the attachment, and running it, and noting the
output. Then do it again with each of the following compiler flags
added, one per re-compile:
-xmemalign=1s
-xmemalign=8i
-xmemalign=2i
Cheers,
-trog
int main(int argc, char **argv) {
#pragma pack(1)
struct { char c; long l; } s;
if (sizeof(s)==sizeof(s.c)+sizeof(s.l)) {
printf("ok\n");
} else {
printf("not ok\n");
}
}
Please let us know if either solves your problem !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2006 12:32 AM
02-03-2006 12:32 AM
Re: configure: error: Need to know how to pack structures with this compiler
ClamAV is included in the hpuxiexpress1 A.06.00-004 package (free download)
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2006 01:10 AM
02-03-2006 01:10 AM
Re: configure: error: Need to know how to pack structures with this compiler
e.g.
typedef struct tagX
{
int A;
int B;
} __attribute__((packed)) X, *pX;
- Tags:
- attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 12:53 AM
02-06-2006 12:53 AM
Re: configure: error: Need to know how to pack structures with this compiler
any update on this?