Re: problems compiling apm_bios.c 1.5

Stephen Rothwell (Stephen.Rothwell@canb.auug.org.au)
Fri, 11 Sep 1998 10:56:12 +1000 (EST)


Hi Ben,

Can you wait until tomorrow (my time GMT+10 :-) ? Linus posted
a partial fix (as 2.1.222-pre1), but I want to get it done properly.

OK?

Cheers,
Stephen

> From: bwoodard@cisco.com
> Subject: problems compiling apm_bios.c 1.5
> Date: Fri, 11 Sep 1998 08:46:27 +1000
>
> Steven. I am having some trouble compiling apm_bios.c ever since your
> patch went into 2.1.120. I thought that I would take a couple minutes
> and fix it but I am getting a bit lost.
>
> The first problem gdt the only place that I can find that being
> defined is in linux/arch/i386/desc.h but using it out of there doesn't
> seem right. As for the rest of the error messages I can't seem to find
> the file that they are referencing. All the lines that I have looked
> at look fine.
>
> -ben
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c apm_bios.c
> apm_bios.c: In function `apm_bios_init':
> apm_bios.c:1235: `gdt' undeclared (first use this function)
> apm_bios.c:1235: (Each undeclared identifier is reported only once
> apm_bios.c:1235: for each function it appears in.)
> {standard input}: Assembler messages:
> {standard input}:203: Error: operands given don't match any known 386 instruction

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html