[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can not compile the original kernel



On Sun, Jul 13, 2003 at 10:16:44PM +0200, Joerg Rieger wrote:
>This package has already various patches applied, see package 
>description: "This package provides the source code for the Linux 
>kernel version 2.4.21 with modifications by Debian.".
>
>Therefore your patch does not apply cleanly. Please try downloading
>the kernel source from kernel.org and then apply your ACPI patch. 

I downloaded the original sources from kernel.org, than i applied the
acpi patch. Everithings seems to be ok.
But i get the following error while compiling the kernel:

In file included from poly_atan.c:19:
poly.h:78:17: missing terminating " character
In file included from poly_atan.c:19:
poly.h: In function `add_Xsig_Xsig':
poly.h:79: error: parse error before "movl"
poly.h:79: error: `addl' undeclared (first use in this function)
poly.h:79: error: (Each undeclared identifier is reported only once
poly.h:79: error: for each function it appears in.)
poly.h:79: error: parse error before '%' token
poly.h:80: error: `movl' undeclared (first use in this function)
poly.h:80: error: `adcl' undeclared (first use in this function)
poly.h:80: error: parse error before '%' token
poly.h:81: error: parse error before '%' token
poly.h:81:59: missing terminating " character
poly.h:93:17: missing terminating " character
poly.h: In function `add_two_Xsig':
poly.h:94: error: parse error before "movl"
poly.h:94: error: `addl' undeclared (first use in this function)
poly.h:94: error: parse error before '%' token
poly.h:95: error: `movl' undeclared (first use in this function)
poly.h:95: error: `adcl' undeclared (first use in this function)
poly.h:95: error: parse error before '%' token
poly.h:96: error: parse error before '%' token
poly.h:97:22: invalid suffix "f" on integer constant
poly.h:97: error: `jnc' undeclared (first use in this function)
poly.h:98: error: `rcrl' undeclared (first use in this function)
poly.h:98: error: `rcrl' used prior to declaration
poly.h:98: Warnung: implicit declaration of function `rcrl'
poly.h:98: error: parse error before '%' token
poly.h:99: Warnung: implicit declaration of function `incl'
poly.h:99: error: parse error before '%' token
poly.h:100:37: invalid suffix "f" on integer constant
poly.h:100: error: `jmp' undeclared (first use in this function)
poly.h:102:20: missing terminating " character
make[3]: *** [poly_atan.o] Fehler 1
make[3]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
make[2]: *** [first_rule] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
make[1]: *** [_dir_arch/i386/math-emu] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.4.21'
make: *** [stamp-build] Fehler 2

This is when i use the gcc3.3. But when i use gcc3.0 i can't compile
too. But the error this time is:

ipmi_kcs_intf.c:1035:1: warning: "COMPILER_DEPENDENT_UINT64" redefined
/usr/src/linux-2.4.21/include/asm/acpi.h:32:1: warning: this is the
location of the previous definition
ipmi_kcs_intf.c:1036:42: ../drivers/acpi/include/acpi.h: Datei oder
Verzeichnis nicht gefunden
ipmi_kcs_intf.c:1037:45: ../drivers/acpi/include/actypes.h: Datei oder
Verzeichnis nicht gefunden
ipmi_kcs_intf.c: In function `acpi_find_bmc':
ipmi_kcs_intf.c:1062: `acpi_table_header' undeclared (first use in this
function)
ipmi_kcs_intf.c:1062: (Each undeclared identifier is reported only once
ipmi_kcs_intf.c:1062: for each function it appears in.)
ipmi_kcs_intf.c:1062: `spmi' undeclared (first use in this function)
ipmi_kcs_intf.c:1062: warning: statement with no effect
make[4]: *** [ipmi_kcs_intf.o] Fehler 1
make[4]: Leaving directory `/usr/src/linux-2.4.21/drivers/char/ipmi'
make[3]: *** [_modsubdir_ipmi] Fehler 2
make[3]: Leaving directory `/usr/src/linux-2.4.21/drivers/char'
make[2]: *** [_modsubdir_char] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.4.21/drivers'
make[1]: *** [_mod_drivers] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.4.21'
make: *** [stamp-build] Fehler 2


Can anyone tell me whats wrong ?

-- 
Kai Timmer <info@kaitimmer.de>



Reply to: