[ros-dev] Build Error
Hartmut Birr
hartmut.birr at gmx.de
Fri May 27 22:06:26 CEST 2005
James Tabor wrote:
> HI,
>
> This started last night, config has this DBG := 0, when set (1),
> everything
> compiles fine.
>
> halmp: [CC] mpsirql.c
> {standard input}: Assembler messages:
> {standard input}:2378: Error: bad register name `%sil'
> make[1]: *** [mpsirql.o] Error 1
>
> FYI,
> James
Hi,
can you please try:
M:\Sandbox\ros_work\reactos>svn diff hal\halx86\include\hal.h
Index: hal/halx86/include/hal.h
===================================================================
--- hal/halx86/include/hal.h (Revision 15545)
+++ hal/halx86/include/hal.h (Arbeitskopie)
@@ -419,7 +419,7 @@
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
- __asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r" (offset));
+ __asm__ __volatile__("movb %%fs:(%1),%0":"=g" (b):"0" (offset));
return b;
}
Do you have specify 'OARCH := athlon-xp' or something else?
- Hartmut
More information about the Ros-dev
mailing list