Re: 2.1.97: Assembler error, won't build.

Reinhold Jordan (Reinhold.Jordan@regio.net)
Sun, 19 Apr 1998 22:46:27 +0200


Hello,

> jb> {standard input}:630: Error: operands given don't match any known 386

I got this error too. It's the line

set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY, ldt, ldt_size);

in function copy_segments(). It seems to be to complex for the
compiler. So I divide this into

void * h;

h=gdt+(nr<<1)+FIRST_LDT_ENTRY;
set_ldt_desc(h, ldt, ldt_size);

HTH

Reinhold

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
the body of a message to majordomo@vger.rutgers.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu