[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] make error for xymon -4.2.2-RC1



On Thu, Dec 25, 2008 at 10:48 PM, pankaj dorlikar
<pankaj.dorlikar (at) gmail.com> wrote:
> hi,
> these are error lines.Os is fedore core 5...
>
> hobbitd_rrd.c: In function 'main':
> hobbitd_rrd.c:106: warning: pointer targets in assignment differ in
> signedness
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/xymon/xymon-4.2.2-RC1/include
> -I/usr/include -I/usr/local/rrdtool-1.3.4/include -I/usr/include -c -o
> do_rrd.o do_rrd.c
> do_rrd.c:24:17: error: rrd.h: No such file or directory

You need rrd.h file. You are probably missing the header files in your
fedora installation. You probably
need to get the development pkg for rrdtool for fedora, which should
have all the header files and libraries for rrdtool.


> do_rrd.c: In function 'create_and_update_rrd':
> do_rrd.c:175: warning: implicit declaration of function 'rrd_clear_error'
> do_rrd.c:176: warning: implicit declaration of function 'rrd_create'
> do_rrd.c:178: warning: implicit declaration of function 'rrd_get_error'
> do_rrd.c:207: warning: implicit declaration of function 'rrd_update'
> do_rrd.c: In function 'rrddatasets':
> do_rrd.c:233: error: 'rrd_value_t' undeclared (first use in this function)
> do_rrd.c:233: error: (Each undeclared identifier is reported only once
> do_rrd.c:233: error: for each function it appears in.)
> do_rrd.c:233: error: 'rrddata' undeclared (first use in this function)
> do_rrd.c:240: warning: implicit declaration of function 'rrd_fetch'
> In file included from do_rrd.c:317:
> rrd/do_disk.c: In function 'do_disk_rrd':
> rrd/do_disk.c:63: warning: enumeration value 'DT_IRIX' not handled in switch
> rrd/do_disk.c:63: warning: enumeration value 'DT_AS400' not handled in
> switch
> rrd/do_disk.c:63: warning: enumeration value 'DT_NT' not handled in switch
> rrd/do_disk.c:63: warning: enumeration value 'DT_UNIX' not handled in switch
> rrd/do_disk.c:63: warning: enumeration value 'DT_NETAPP' not handled in
> switch
> rrd/do_disk.c:63: warning: enumeration value 'DT_NETWARE' not handled in
> switch
> rrd/do_disk.c:63: warning: enumeration value 'DT_BBWIN' not handled in
> switch
> make[1]: *** [do_rrd.o] Error 1
> make[1]: Leaving directory `/home/xymon/xymon-4.2.2-RC1/hobbitd'
> make: *** [hobbitd-build] Error 2
>
>
> On Thu, Dec 25, 2008 at 4:56 PM, Henrik Størner <henrik (at) hswn.dk> wrote:
>>
>> In <74c599800812250125o7a89cb27p88f1dffd05c6cb31 (at) mail.gmail.com> "pankaj
>> dorlikar" <pankaj.dorlikar (at) gmail.com> writes:
>>
>> >when i give make command ,i get fallowing error..
>> >i have installed rrdtool-1.2.2 succesfully..
>>
>> >make[1]: *** [do_rrd.o] Error 1
>> >make[1]: Leaving directory `/var/hobbit/xymon-4.2.2-RC1/hobbitd'
>>
>> You need to show us a couple of lines above that "Error 1"
>>
>>
>> Regards,
>> Henrik
>>
>> --
>> Henrik Storner
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>
>
>
> --
> Pankaj V. Dorlikar
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu