From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] squidclam
Date: Fri, 11 Jan 2008 12:27:40 +0300
Message-ID: <200801111227.40520.ashen@nsrz.ru> (raw)
In-Reply-To: <75e139a00801110041g73638e7ewa96440c7ca585cc8@mail.gmail.com>
В сообщении от Friday 11 January 2008 11:41:20 Slava Semushin написал(а):
> 11.01.08, Алексей Шенцев<ashen / nsrz.ru> написал(а):
> > Всем привет!
> > Собираю сабж. Вылазеет такое:
> > make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent
> > make rule.
> > gcc -Wall -I/usr/include -lcurl -s -o squidclam squidclam.c config.c
> > clamdscan.c
>
> "Уж сколько раз твердили миру.." ?
>
> -lcurl должна быть в самом конце команды компиляции.
>
> [...]
Сделал в configure так:
вместо
CFLAGS="$CFLAGS $CURLLIBS $INCLUDE"
написал CFLAGS="$CFLAGS $INCLUDE"
а само упоминание $CURLLIBS добавил в таких строках:
$CC $CFLAGS -s -o $BINARY $BINARY.c config.c clamdscan.c $CURLLIBS
Но теперь в Makefile такое:
gcc -Wall -I/usr/include -s -o squidclam squidclam.c config.c
clamdscan.c -lcurl -lcurl
Вопрос: откуда двойное "-lcurl -lcurl" и как от этого избавится.
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
next prev parent reply other threads:[~2008-01-11 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 8:38 Алексей Шенцев
2008-01-11 8:41 ` Slava Semushin
2008-01-11 8:46 ` Алексей Шенцев
2008-01-11 9:27 ` Алексей Шенцев [this message]
2008-01-11 11:36 ` Алексей Шенцев
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=200801111227.40520.ashen@nsrz.ru \
--to=ashen@nsrz.ru \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git