Re: Compiling cipe-win32?|
Thu, 27 Jun 2002 13:18:44 +0200|
I got it working but there some M$ issues...
I installed the SDK after the DDK, this caused the SDK include path not be
present in the DDK environment. M$ uses fancy UI interfaces but the
is not as fancy...
Anyways, there seems to be some bugs in M$s include hiearchies as well. I had
add an inclusion of winsock2.h prior to all windows.h. Windows.h includes
winsock.h and winsock2.h and winsock is confliting. winsock2.h has a #define
WINSOCK_H that excludes the normal winsock, but that requires that winsock2.h
included before all implicit inclusions of winsock.h. I guess this is
new in the w2k version of the SDK. I will try to make a nicer/smaller patch
this problem and post it later.
On Wed, 26 June 2002, Damion Wilson wrote
> Message-Id: <200206261155.43737.dwilson,AT,ibl,DOT,bm>
> From: Damion Wilson <dwilson,AT,ibl,DOT,bm>
> Reply-To: dwilson,AT,ibl,DOT,bm
> X-Mailer: KMail [version 1.4]
> Received: (cpmta 24734 invoked from network); 26 Jun 2002 08:09:54 -0700
> Received: from 184.108.40.206 (HELO mail.inka.de)
> by smtp.c000.snv.cp.net (220.127.116.11) with SMTP; 26 Jun 2002
> Received: from localhost
> by mail.inka.de with local
> id 17NECy-0007Nm-00; Wed, 26 Jun 2002 16:55:48 +0200
> Received: from stormy.ibl.bm (stormy.ibl.bm [18.104.22.168])
> by mail.inka.de with esmtp
> id 17NECx-0007Ne-00; Wed, 26 Jun 2002 16:55:47 +0200
> Received: from cobra ([22.214.171.124]) by stormy.ibl.bm
> (Post.Office MTA v3.5.3 release 223 ID# 0-72119U16500L14100S0V35)
> with ESMTP id bm; Wed, 26 Jun 2002 11:55:44 -0300
> Date: Wed, 26 Jun 2002 11:55:43 -0300
> Cc: cipe-l,AT,inka,DOT,de
> Content-Type: text/plain;
> X-Received: 26 Jun 2002 15:09:54 GMT
> Subject: Re: Compiling cipe-win32?
> Precedence: bulk
> Delivered-To: eklund.com%ulf,AT,eklund,DOT,com
> Return-Path: <owner-cipe-l,AT,inka,DOT,de>
> MIME-Version: 1.0
> Content-Transfer-Encoding: quoted-printable
> To: ulf,AT,eklund,DOT,com
> Sender: owner-cipe-l,AT,inka,DOT,de
> Iphlpapi.h should come with the Platform SDK. It is part of the SNMP
> API. Failing that, I can send it to you or you can get it from Microsoft.
> I've never built with the W2K DDK ensuring backward compatibility with NT4.
> Once your environment is straight, it should be a case of just running
> from the top of the source tree.
> Don't panic, though. I'm a Linux developer myself and this stuff is
> If you peruse the Windows Kernel Mode mailing list archives on Google, you
> can probably get a feel for how frustrating it was for me initially. You
> really should try building the examples that the DDK provides before
> CIPE-Win32, that way you're not debugging two things at once.
> On Wednesday 26 June 2002 10:54 am, ulf,AT,eklund,DOT,com wrote:
> > Hi,
> > I'm trying to compile cipe-win32, but without succes. I'm using Visual C++
> > 6, the W2K DDK and the platform SDK. The cipe-driver compiles from the DDK
> > environment. But the userspace apps dosen't. They fail on iphlpapi.h and
> > when I try to compile from the SDK environment there is en include
> > duplication between wisocks.h and winsocks2.h. I got the impression that
> > the entire kit should compile out of the box, so I gues that my
> > is screwed in some sense...
> > Could someone who has succesfully buildt cipe-win32, give me som hints on
> > how to do this, including how Visual C++, the DDK and the SDK is supposed
> > to be installed inorder to make this work. I'm normally a linux\kernel
> > hacker so I'm not used to the M$ stuff...
> > Any help is appreciated, thanks in advance
> > Ulf Eklund.
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> Other commands available with "help" in body to the same address.
> CIPE info and list archive: