- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compile problem with 64bit statvfs
Operating System - HP-UX
1753361
Members
5366
Online
108792
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО08-02-2002 10:34 AM
тАО08-02-2002 10:34 AM
compile problem with 64bit statvfs
I am compile errors on my code that uses the 64bit version of statvfs. My compiler is aCC A.03.33.
I really appreciate any help!
Thanks,
Ed
-------------------------------
#include
#include
int main(){
struct statvfs b;
int i;
i=statvfs ("/", &b);
return i;
}
------------------------------
$ aCC +DAportable -o stest stest.cpp -D_FILE_OFFSET_BITS=64
/usr/ccs/bin/ld: Unsatisfied symbols:
statvfs(const char *,statvfs *) (code)
$
I really appreciate any help!
Thanks,
Ed
-------------------------------
#include
#include
int main(){
struct statvfs b;
int i;
i=statvfs ("/", &b);
return i;
}
------------------------------
$ aCC +DAportable -o stest stest.cpp -D_FILE_OFFSET_BITS=64
/usr/ccs/bin/ld: Unsatisfied symbols:
statvfs(const char *,statvfs *) (code)
$
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2002 12:19 AM
тАО08-05-2002 12:19 AM
Re: compile problem with 64bit statvfs
Ed,
I took your code snippet and compiled it on a HP-UX 11.0 64bit machine. It compiled and ran without problems. Strange.
Maybe you have environment variables set so that the compiler uses the wrong header files?
Also, the obvious remedy "have you installed all patches" comes to mind...
Regards
Martin
I took your code snippet and compiled it on a HP-UX 11.0 64bit machine. It compiled and ran without problems. Strange.
Maybe you have environment variables set so that the compiler uses the wrong header files?
Also, the obvious remedy "have you installed all patches" comes to mind...
Regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 05:36 AM
тАО08-06-2002 05:36 AM
Re: compile problem with 64bit statvfs
Hi Martin,
Thank you for your reply!
Are these the compiler patches or OS patches? I just purchased this system with a preinstalled OS and when I was installing the compiler I don't remember any option for instaling patches. Where do I find the patches? How to install them? Is there any installation guide for the compiler?
Thanks again for your help!
Ed
Thank you for your reply!
Are these the compiler patches or OS patches? I just purchased this system with a preinstalled OS and when I was installing the compiler I don't remember any option for instaling patches. Where do I find the patches? How to install them? Is there any installation guide for the compiler?
Thanks again for your help!
Ed
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP