[ros-kernel] NtCurrentTeb()

Skywing skywing at valhallalegends.com
Fri Jan 23 02:16:30 CET 2004


OLE32 builds OK for me, but rosrtl fails:

misc/devmode.c: In function `RosRtlDevModeA2W':
misc/devmode.c:36: error: structure has no member named `dmPosition'
misc/devmode.c:36: error: structure has no member named `dmPosition'
misc/devmode.c:37: error: structure has no member named `dmPosition'
misc/devmode.c:37: error: structure has no member named `dmPosition'
misc/devmode.c:62: error: structure has no member named `dmReserved1'
misc/devmode.c:62: error: structure has no member named `dmReserved1'
misc/devmode.c:63: error: structure has no member named `dmReserved2'
misc/devmode.c:63: error: structure has no member named `dmReserved2'
misc/devmode.c:68: error: structure has no member named `dmPanningWidth'
misc/devmode.c:68: error: structure has no member named `dmPanningWidth'
misc/devmode.c:69: error: structure has no member named `dmPanningHeight'
misc/devmode.c:69: error: structure has no member named `dmPanningHeight'
mingw32-make.exe[1]: *** [misc/devmode.o] Error 1
mingw32-make.exe[1]: Leaving directory `C:/Documents and Settings/Skywing/My
Documents/Visual Studio Projects/reactos/lib/rosrtl'
mingw32-make.exe: *** [rosrtl] Error 2

I unpacked gcc-g++-3.3.1-20030804-1.tar.gz and
gcc-core-3.3.1-20030804-1.tar.gz over my 3.2.3 MinGW install.  Is there
anything else I'm missing?

As a side note, this broke because something tries to be clever and generate
.sh files which are attempted before .bat files, and I happened to have a
zsh from unxutils installed that handled the .sh files but definitely didn't
do what was required/expected.  As a result, I had to change the path
setting for my ReactOS build environment to not include UnxUtils (ugh!)...
if anyone knows of a fix for this other than simply removing UnxUtils from
the path, I'd be grateful.

-----Original Message-----
From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com]
On Behalf Of Vizzini
Sent: Friday, January 23, 2004 1:48 AM
To: ReactOS Kernel List
Subject: Re: [ros-kernel] NtCurrentTeb()

w32api's ChangeLog says it was removed on 2003-2-22, but gives no
explanation.  I don't have it in my winnt.h from w32api either, and i
don't see it in cvs HEAD.  

 -Vizzini

On Fri, 2004-01-23 at 00:41, Filip Navara wrote:
> Hi!
> 
> It should be defined in winnt.h in w32api.
> 
> Filip
> 
> ----- PŮVODNÍ ZPRÁVA -----
> Od: "Vizzini" <vizzini at plasmic.com>
> Komu: ros-kernel at reactos.com
> Předmět: [ros-kernel] NtCurrentTeb()
> Datum: 23.1.2004 - 7:35:45
> 
> > Where should NtCurrentTeb() come from?  ole32 needs it,
> > as does the
> > thread stuff in rosrtl, but I don't see it defined
> > anywhere outside of
> > the native api headers, which i don't think are
> > relevant for ole32 at
> > any rate.
> > 
> > The reason i ask is because both rosrtl and ole32 fail
> > to build on my
> > box (w32api cvs head, reactos cvs head) because they
> > don't have a
> > definition for NtCurrentTeb.
> > 
> > Others on IRC don't report this problem, but they build
> > on windows.  I'm
> > sure it's something dumb in my tree, but i've killed an
> > hour futzing
> > with it.
> > 
> > Thanks.
> > 
> > -Vizzini
> > 
> > 
> > _______________________________________________
> > Ros-kernel mailing list
> > Ros-kernel at reactos.com
> > http://reactos.com/mailman/listinfo/ros-kernel
> > 

_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel




More information about the Ros-kernel mailing list