All of lore.kernel.org
 help / color / mirror / Atom feed
From: packz@autistici.org
To: linux-c-programming@vger.kernel.org
Subject: Re: Plot graph using C
Date: Fri, 23 Jan 2009 11:02:52 +0100	[thread overview]
Message-ID: <glc4l9$2qj$1@ger.gmane.org> (raw)
In-Reply-To: <1f714d50901220920n15dcf308yec582e91488f0a7f@mail.gmail.com>

Jai Sharma ha scritto:
> Dear Friends
> 
> After a one day search I found libploticus.
> 
> but when i compile this program. I got errors:
> 
> root@linux:/data/programming/c/chart# cc main.c -lploticus -lpng -lz
> -lm -o api_exampmain.c: In function 'main':
> main.c:16: warning: incompatible implicit declaration of built-in
> function 'exit'
> /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libploticus.so:
> undefined reference to `XDrawString'
> /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libploticus.so:
> undefined reference to `XLoadFont'
[cut]
> Plz help to solve this problem.

You are missing the -lgd linker flag...

> 
> 
> 
> Thanks and Regards
> Jai
> 


  reply	other threads:[~2009-01-23 10:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 15:39 Plot graph using C Jai Sharma
2009-01-22 15:59 ` XComp
2009-01-22 17:20   ` Jai Sharma
2009-01-23 10:02     ` packz [this message]
2009-01-23 13:22     ` Chamith Kumarage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='glc4l9$2qj$1@ger.gmane.org' \
    --to=packz@autistici.org \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.