[Orca-users] Errors while running Make for RRDTool 1.48

Wilson Kirubakaran rwkirubakaran at yahoo.com
Thu Aug 5 00:20:48 PDT 2004


Any idea why this error is coming when make is run for
HPUX 11i

Writing Makefile for RRDs                             
                         
        cd perl-shared && make                        
                         
        gcc -c -I.. -I../src -I../gd1.3
-DHAVE_CONFIG_H -O    -DVERSION=\"1.0004
81\"  -DXS_VERSION=\"1.000481\" -fPIC
-I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-mu
lti/CORE -DPERLPATCHLEVEL=6 RRDs.c                    
                         
In file included from
/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/perl.h:72
2,                                                    
                         
                 from RRDs.xs:6:                      
                         
/usr/include/sys/socket.h:484: error: parse error
before "sendfile"             
/usr/include/sys/socket.h:484: error: parse error
before "bsize_t"              
/usr/include/sys/socket.h:486: error: parse error
before "sendpath"             
/usr/include/sys/socket.h:486: error: parse error
before "bsize_t"              
In file included from ../src/rrd_tool.h:24,           
                         
                 from RRDs.xs:13:                     
                         
../config.h:191:1: warning: "VERSION" redefined       
                         
<command line>:5:1: warning: this is the location of
the previous definition    
*** Error exit code 1                                 
                         
                                                      
                         
Stop.                                                 
                         
*** Error exit code 1                                 
                         
Regards
Wilson


Lines 484-486 of Socket.h is as follows
-----------------------------------------------
   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));   



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail



More information about the Orca-users mailing list