HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installing Filesys::Statvfs_DF
Operating System - HP-UX
1829262
Members
1627
Online
109988
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
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-20-2002 03:14 PM
08-20-2002 03:14 PM
Installing Filesys::Statvfs_DF
When trying to gmake this module I get the following error. I have installed gcc 3.2, gmake 3.79.1 and perl 5.6.1.
# gmake
gcc -mpa-risc-2-0 -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\" -I/usr/local/lib/perl5/5.6.1/PA-RISC2.0/CORE Statvfs.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
:1:2: missing '(' after predicate
In file included from /usr/local/lib/perl5/5.6.1/PA-RISC2.0/CORE/perl.h:713,
from Statvfs.xs:5:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
gmake: *** [Statvfs.o] Error 1
-----------------------------------------------
Here are lines 484-487 from the socket.h file...
extern sbsize_t sendfile __((int, int, off_t, bsize_t,
const struct iovec *, int));
extern sbsize_t sendpath __((int, char *, off_t, bsize_t,
const struct iovec *, int));
# gmake
gcc -mpa-risc-2-0 -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\" -I/usr/local/lib/perl5/5.6.1/PA-RISC2.0/CORE Statvfs.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from /usr/local/lib/perl5/5.6.1/PA-RISC2.0/CORE/perl.h:713,
from Statvfs.xs:5:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
gmake: *** [Statvfs.o] Error 1
-----------------------------------------------
Here are lines 484-487 from the socket.h file...
extern sbsize_t sendfile __((int, int, off_t, bsize_t,
const struct iovec *, int));
extern sbsize_t sendpath __((int, char *, off_t, bsize_t,
const struct iovec *, int));
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 03:55 PM
08-20-2002 03:55 PM
Re: Installing Filesys::Statvfs_DF
I'd go to this site:
https://www.beepz.com/personal/merijn/#Gcc
and follow some of procura's advice.
live free or die
harry
Live Free or Die
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