public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew <ald2@arrakis.es>
To: linux-newbie@vger.kernel.org
Subject: Re: undefined reference
Date: Tue, 17 Jan 2006 21:59:47 +0100	[thread overview]
Message-ID: <43CD5AC3.6040608@arrakis.es> (raw)
In-Reply-To: <Pine.LNX.4.62.0601172256250.2938@grinch.ro>

caszonyi@rdslink.ro wrote:

> On Tue, 17 Jan 2006, Andrew wrote:
>
>> caszonyi@rdslink.ro wrote:
>>
>>> On Tue, 17 Jan 2006, Andrew wrote:
>>>
>>>> Good evening,
>>>>
>>>> Trying to compile gqcam-0.8 or 0.9 on a Slackware-10.1 I get a lot 
>>>> of 'undefined reference' messages about libpng.so. I have version 
>>>> 1.2.8 of libpng (the latest).
>>>>
>>>> Does anyone know what is wrong?
>>>>
>>>
>>> you forgot (or the configure script forgot) to add libz when lining 
>>> with libpng ?
>>
>>
>> The source doesn't use config, only make.
>>
>
> ok. I downloaded the program
> on the following line in the Makefile
> LDFLAGS = `gtk-config --libs gthread` -ljpeg -lpthread -lpng
> you should add -lz like this
> LDFLAGS = `gtk-config --libs gthread` -ljpeg -lpthread -lpng -lz

Wow! (Lost for words)

Thanks

Andrew
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

      reply	other threads:[~2006-01-17 20:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17 20:06 undefined reference Andrew
2006-01-17 20:23 ` caszonyi
2006-01-17 20:30   ` Andrew
2006-01-17 20:58     ` caszonyi
2006-01-17 20:59       ` Andrew [this message]

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=43CD5AC3.6040608@arrakis.es \
    --to=ald2@arrakis.es \
    --cc=linux-newbie@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox