[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] make command for xymon gives error
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] make command for xymon gives error
- From: "Asif Iqbal" <vadud3 (at) gmail.com>
- Date: Thu, 18 Dec 2008 09:08:41 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SQe3zaqpKOSq1d2xns7o63gRmbgDDK8TYQvwCJLBSDA=; b=Q68AVi6tA3S2NOqT+uXxkuvlD3vahiLX3fIIVfvX6I080aEvJ3qrNd/+/j+ulO7jv6 WtRjT1CrSYrfAm2iSqtBPMUWrCvahBTCOroyCsfWW0ATO/UEGQMXv59ICVU3w8FxlhBA 4IvkX6SphzOCWpaMPG0Wi3PwJ4SKRwLKJK/1k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HdoXxnENMFjovlkA82Y99S27LF0QHMproldfywoNPbJFiDTPAsdjgyj8nQXDzfEkRv XGzvM1+a91OzfpTkk+gGIidABag3CzujkL1EXG5qHE17GTBdfuaVF8TokwAllobDbxKL Y4/aX/AIQFczBIrIcL49rJG+xA0meKcWp4Q14=
- References: <74c599800812172307v29095c39r2e0986d36533103f (at) mail.gmail.com> <gid7da$ttv$1 (at) voodoo.hswn.dk> <74c599800812180450y1aaf0239l5c20f6bf4f456cc (at) mail.gmail.com>
On Thu, Dec 18, 2008 at 7:50 AM, pankaj dorlikar
<pankaj.dorlikar (at) gmail.com> wrote:
> Dear Hernik,
> Thanks for your Support..but i already have this setting..
>
> configure.server:echo "RRDLIBS = -L$RRDLIB -lrrd $PNGLIB" >>Makefile
> Makefile:RRDLIBS = -L/usr/local/rrdtool-1.3.4/lib -lrrd -L/usr/lib -lpng
Find the libpng and add it infront of the `-lpng'. So if your libpng
is in /path/to/lib/libpng
then you should add `-L/path/to/lib' infront of `-lpng'
>
> Can you suggest me some alternative solution..
>
> On Thu, Dec 18, 2008 at 3:37 PM, Henrik Størner <henrik (at) hswn.dk> wrote:
>>
>> In <74c599800812172307v29095c39r2e0986d36533103f (at) mail.gmail.com> "pankaj
>> dorlikar" <pankaj.dorlikar (at) gmail.com> writes:
>>
>> >I ma new to xymon/hobbit...
>> >"make " commad for xymon gives fallowing error :
>>
>> >/usr/local/rrdtool-1.3.4/lib/libcairo.so.2: undefined reference to
>> >`png_set_tIME (at) PNG12_0'
>> >/usr/local/rrdtool-1.3.4/lib/libcairo.so.2: undefined reference to
>> >`png_set_write_user_transform_fn (at) PNG12_0'
>> >/usr/local/rrdtool-1.3.4/lib/libcairo.so.2: undefined reference to
>> >`png_set_strip_16 (at) PNG12_0'
>> >collect2: ld returned 1 exit status
>> >make[1]: *** [hobbitgraph.cgi] Error 1
>>
>> Try changing the "RRDLIBS" setting in the top-level "Makefile",
>> add "-lpng" at the end of the line.
>>
>> I know rrdtool in version 1.3.x requires a lot of different
>> libraries to work, and it apparently does not pull them into
>> the linker automatically (depends on what type of system you're
>> compiling this on).
>>
>>
>> Regards,
>> Henrik
>>
>>
>> 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