[ros-dev] Re: Current build problem with ntoskrnl/io/disk.c

Rafal Kupiec betacomp at gmail.com
Thu Jun 23 17:24:45 CEST 2005


I compiled ReactOS from SVN - revision: 16244. And it compiles correctly
for me. Let's find what are you doing wrong?

Mike Lerwill wrote:
> Steven
> 
> svn update shows 16244
> gcc -v shows gcc version 3.4.1 (mingw special)
> os is w2k
> 
> commands run
> 	make ntoskrn_clean
> 	make ntoskrnl
> 
> build now fails at io/irq.c (passes io/disk.c with no problem)
> 
> 	ntoskrnl\io\irq.c: In function `IoConnectInterrupt':
> 	ntoskrnl\io\irq.c:70: warning: 'Interrupt' might be used uninitialized in
> this function
> 	make: *** [obj-i386\ntoskrnl\io\irq.o] Error 1
> 
> Which it is indeed correct to since Interrupt at line 98 should be replaced
> with IoInterrupt
> 
> After this change the build completes successfully
> 
> Hope the abive is some help
> 
> Mike Lerwill
> 
> 
>>-----Original Message-----
>>From: ros-dev-bounces at reactos.com [mailto:ros-dev-bounces at reactos.com]On
>>Behalf Of Steven Edwards
>>Sent: 23 June 2005 14:35
>>To: ReactOS Development List
>>Subject: Re: [ros-dev] Current build problem with ntoskrnl/io/disk.c
>>
>>
>>Hi Mike,
>>
>>--- Mike Lerwill <mlist at ml-solutions.co.uk> wrote:
>>
>>>ntoskrnl\io\disk.c:1614: error: conflicting types for
>>
>>'IoReadPartitionTable'
>>
>>>w32api/include/ddk/win2k.h:67: error: previous declaration of
>>>'IoReadPartitionTable' was here
>>>ntoskrnl\io\disk.c:1614: error: conflicting types for
>>
>>'IoReadPartitionTable'
>>
>>>w32api/include/ddk/win2k.h:67: error: previous declaration of
>>>'IoReadPartitionTable' was here
>>>ntoskrnl\io\disk.c:1641: error: conflicting types for
>>>'IoWritePartitionTable'
>>>w32api/include/ddk/win2k.h:86: error: previous declaration of
>>>'IoWritePartitionTable' was here
>>>ntoskrnl\io\disk.c:1641: error: conflicting types for
>>>'IoWritePartitionTable'
>>>w32api/include/ddk/win2k.h:86: error: previous declaration of
>>>'IoWritePartitionTable' was here
>>
>>svn update and tell me your revision number and gcc version.
>>
>>If you have gcc 3.4.1 or gcc4 and 16244 then its going to be broken.
>>
>>Thanks
>>Steven
>>
>>
>>
>>
>>____________________________________________________
>>Yahoo! Sports
>>Rekindle the Rivalries. Sign up for Fantasy Football
>>http://football.fantasysports.yahoo.com
>>_______________________________________________
>>Ros-dev mailing list
>>Ros-dev at reactos.com
>>http://reactos.com:8080/mailman/listinfo/ros-dev
>>



More information about the Ros-dev mailing list