[hobbit] Error making todays snapshot (10/6)

David Gore David.Gore at verizonbusiness.com
Sat Jun 10 15:07:43 CEST 2006



lars ebeling wrote:
> gcc -g -O -D_REENTRANT  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -DHPUX -I. -I
> /home/hobbit/snapshot/include -I/usr/local/include 
> -I/usr/local/include -I/usr/l
> ocal/include -c -o do_rrd.o 
> do_rrd.c                                           
> In file included from 
> do_rrd.c:238:                                            
> rrd/do_disk.c: In function 
> édo_disk_rrd':                                      
> rrd/do_disk.c:179: error: too many arguments to function 
> ésetupfn'             
> In file included from 
> do_rrd.c:254:                                            
> rrd/do_external.c: In function 
> édo_external_rrd':                              
> rrd/do_external.c:108: warning: passing arg 2 of éstrncpy' makes 
> pointer from in
> teger without a 
> cast                                                           
> rrd/do_external.c:108: warning: passing arg 3 of éstrncpy' makes 
> integer from po
> inter without a 
> cast                                                           
> In file included from 
> do_rrd.c:256:                                            
> rrd/do_counts.c: In function 
> édo_one_counts_rrd':                              
> rrd/do_counts.c:30: error: too many arguments to function 
> ésetupfn'            
> In file included from 
> do_rrd.c:261:                                            
> rrd/do_bea.c: In function 
> édo_bea_rrd':                                        
> rrd/do_bea.c:155: error: too many arguments to function 
> ésetupfn'              
> rrd/do_bea.c:191: error: too many arguments to function 
> ésetupfn'              
> rrd/do_bea.c:192: error: too many arguments to function 
> ésetupfn'              
> makeÄ1Å: *** Ädo_rrd.oÅ Error 
> 1                                                
> makeÄ1Å: Leaving directory 
> é/home/hobbit/snapshot/hobbitd'                     
> Regards
> Lars Ebeling
>  
> http://leopg9.no-ip.org
> Hobbithobbyist
>  
> "It is better to keep your mouth shut and appear stupid than to open 
> it and remove all doubt."
> -- Mark Twain
>  
I get the same thing doing the server build on a Linux Fedora Core 5 
box, there is also an error in hobbitclient-$OS.sh, missing 'then', *** 
then ***.

# $TOP must be set, the install utility should do that for us if it exists.
if test "$TOP" != ""
then
    if test -x "$TOP"
*** then ***
       echo "[top]"
        $TOP -l 1 -n 20
    fi
fi

>  





More information about the Xymon mailing list