ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] extern inline function redifinition
Date: Wed, 24 Oct 2007 01:16:00 +0400
Message-ID: <20071023211600.GA27773@lks.home> (raw)
In-Reply-To: <200710240105.14927.peet@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

Hi Peter!

Wednesday 24, at 01:05:14 AM you wrote:

> ...
> 
> Знатокам С вопрос: я получаю такую ошибку:
> 
> /bin/sh ./libtool --tag=CC --mode=compile 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat     -O2 -Wall -g -DPATH_HONEYDINCLUDE="\"/usr/local/include/honeyd\"" -DPATH_HONEYDDATA="\"/usr/local/share/honeyd\"" -DPATH_HONEYDLIB="\"/usr/local/lib/honeyd\"" -DHONEYD_PLUGINS_DECLARE="" -DHONEYD_PLUGINS="" -DPATH_RRDTOOL="\"/usr/bin/rrdtool\"" -c -o 
> honeyd_overload.lo honeyd_overload.c
>  
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -O2 -Wall -g -DPATH_HONEYDINCLUDE=\"/usr/local/include/honeyd\" -DPATH_HONEYDDATA=\"/usr/local/share/honeyd\" -DPATH_HONEYDLIB=\"/usr/local/lib/honeyd\" -DHONEYD_PLUGINS_DECLARE= -DHONEYD_PLUGINS= -DPATH_RRDTOOL=\"/usr/bin/rrdtool\" -c 
> honeyd_overload.c  -fPIC -DPIC -o .libs/honeyd_overload.o
> honeyd_overload.c: In function 'recvmsg':
> honeyd_overload.c:738: sorry, unimplemented: inlining failed in call 
> to 'recvfrom': redefined extern inline functions are not considered for 
> inlining
> honeyd_overload.c:873: sorry, unimplemented: called from here
> make[2]: *** [honeyd_overload.lo] Error 1
> make[2]: Leaving directory `/var/lib/home/peet/RPM/BUILD/honeyd-1.5c'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/lib/home/peet/RPM/BUILD/honeyd-1.5c'
> make: *** [all] Error 2
> 
> 
> Что это за шайтан?
а что в коде? Помойму просто надо убрать inline декларирование из
extern'ов, такое даже в ядре не используют.

-- 
WBR et al.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-23 21:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 21:05 Peter V. Saveliev
2007-10-23 21:16 ` Konstantin A. Lepikhov [this message]
2007-10-23 22:01   ` Peter V. Saveliev
2007-10-23 22:37     ` Konstantin A. Lepikhov
2007-10-24 16:35       ` Alexey I. Froloff

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=20071023211600.GA27773@lks.home \
    --to=lakostis@altlinux.org \
    --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