From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 30 21:41:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4E7C16A41F for ; Fri, 30 Dec 2005 21:41:14 +0000 (GMT) (envelope-from guomingyan@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B17D43D82 for ; Fri, 30 Dec 2005 21:41:07 +0000 (GMT) (envelope-from guomingyan@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so95920wxc for ; Fri, 30 Dec 2005 13:41:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=JotdPWqhTdmmpN2j2ioYISTdx1BSp6sTIpWtijfyrPbQ8oLqcwtg990e+Y/BkvGdeONJ8qIq6YAefbAE42MS/ah3w0P4qVlMMQA3/MhizyHqy/WcgDG7LV5rj365VT3okXvHbWXFVZ12UpREhauDokE7B3zbPz72hn3cQgY/m6M= Received: by 10.70.7.19 with SMTP id 19mr10341841wxg; Fri, 30 Dec 2005 13:41:00 -0800 (PST) Received: by 10.70.39.18 with HTTP; Fri, 30 Dec 2005 13:41:00 -0800 (PST) Message-ID: <1fa17f810512301341w5b98d554g6dcf950ab26f31bd@mail.gmail.com> Date: Sat, 31 Dec 2005 05:41:00 +0800 From: prime To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem about libnet on FreeBSD 6.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 21:41:15 -0000 Hi hackers, I find that I can't include when I programming with libnet,because $(CC) complains that "struct ether_addr redefined". But I need some definitions in ,struct ether_header etc. Currently,I just copy the definitions I need from ,but it seems very ugly.Any one has some good ideas? Thanks. -- Three passions, simple but overwhelmingly strong, have governed my life: the longing for love, the search for knowledge, and unbearable pity for the suffering of mankind. ---------Bertrand Russell