ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmytro O. Redchuk" <dor@ldc.net>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] pylibnet ?..
Date: Thu, 8 Feb 2007 10:27:13 +0200
Message-ID: <20070208082713.GF23685@ldc.net> (raw)
In-Reply-To: <20070207155711.GE13147@ricom.ru>

On Wed, Feb 07, 2007 at 06:57:11PM +0300, Alexey Morsov wrote:
> On Wed, Feb 07, 2007 at 05:18:54PM +0200, Dmytro O. Redchuk wrote:
> > Добрый день.
> > 
> >    Никто не собирал pylibnet ?..
> >    ( http://pylibnet.sourceforge.net/ )
> > 
> >    Попробовал -- ругается. Думает, шо я программист, шо всё пойму.
> А что конкретно ругается и когда?
После правки makefile гаснет на:

[fox@fox src]$ make
/usr/bin/swig -python libnet.i
libnet.i:56: Warning(116): %except is deprecated.  Use %exception instead.
libnet.i:95: Warning(113): %addmethods is now %extend
libnet.i:66: Warning(450): Deprecated typemap feature ($source/$target).
libnet.i:66: Warning(450): The use of $source and $target in a typemap declaration is deprecated.
For typemaps related to argument input (in,ignore,default,arginit,check), replace
$source by $input and $target by $1.   For typemaps related to return values (out,
argout,ret,except), replace $source by $1 and $target by $result.  See the file
Doc/Manual/Typemaps.html for complete details.
libnet.i:70: Warning(450): Deprecated typemap feature ($source/$target).
libnet.i:74: Warning(450): Deprecated typemap feature ($source/$target).
libnet.i:78: Warning(450): Deprecated typemap feature ($source/$target).
libnet.i:84: Warning(450): Deprecated typemap feature ($source/$target).
libnet.i:89: Warning(450): Deprecated typemap feature ($source/$target).
gcc -g `libnet-config --defines` -I/usr/include/python2.3 -I/usr/include/libnet -c libnet_wrap.c
libnet_wrap.c: In function `_wrap_ARP_H_get':
libnet_wrap.c:843: error: `ARP_H' undeclared (first use in this function)
libnet_wrap.c:843: error: (Each undeclared identifier is reported only once
libnet_wrap.c:843: error: for each function it appears in.)
libnet_wrap.c: In function `_wrap_DNS_H_get':
libnet_wrap.c:857: error: `DNS_H' undeclared (first use in this function)
libnet_wrap.c: In function `_wrap_ETH_H_get':
libnet_wrap.c:871: error: `ETH_H' undeclared (first use in this function)
libnet_wrap.c: In function `_wrap_ICMP_H_get':

и так далее.


Глянул вчера мельком -- все эти прописаны в
/usr/include/libnet/libnet-headers.h, который должен, по идее, вызываться из
/usr/include/libnet.h, кажись.

> 
> Вообще-то чего-то мне кажется что оно померло
> Posted By: davidma
> Date: 2001-10-15 12:22
>       ^^^^^
Да вот я гуглю... Кто-то собирался переписывать (в их рассылках бегало), но я
пока в растерянности :-)

> Summary: python libnet 1.0 released
>  
>  A python module for the libnet packet construction library is now
>  available. Requires SWIG (www.swig.org) and libnet
>  (www.packetfactory.net/libnet). A linux binary is also available. 
>   
>   This was built and tested for python 1.52 so your mileage may vary. 
>                                        ^^^^^
Угу. но попробовать можно :-)

> 
> -- 
> 
> С уважением,
> Алексей Морсов
> системный администратор ЗАО "ИК "Риком-Траст"
> 
> Jabber: samurai@www.fondmarket.ru
> www.ricom.ru
> www.fondmarket.ru
> 
> NP: One Piece - We Are! (One Piece Best Songs Collection)
> 

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk




      reply	other threads:[~2007-02-08  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 15:18 Dmytro O. Redchuk
2007-02-07 15:57 ` Alexey Morsov
2007-02-08  8:27   ` Dmytro O. Redchuk [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=20070208082713.GF23685@ldc.net \
    --to=dor@ldc.net \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git