[LUGOS] prevajanje RH9 kernela in modulov

Jurij Reščič jure at gemini.fkkt.uni-lj.si
Tue Aug 5 14:55:55 CEST 2003


rok.papez at lugos.si wrote:

>Zivjo Jurij.
>
>  
>
>Cudovit opis tezave :) ... se mu "strga" ...
>  
>
Glb, pa ravno včeraj sem nekoga pograjal zaradi podobne zadeve . . .

takole zgleda:

#1
...
make[4]: Entering directory 
`/usr/src/linux-2.4.20-19.9/drivers/acpi/ospm/ac_adapter'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.9/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.20-19.9/include/linux/modversions.h -D_LINUX 
-I/usr/src/linux-2.4.20-19.9/drivers/acpi/include 
-I/usr/src/linux-2.4.20-19.9/drivers/acpi/ospm/include -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=ac  -c -o ac.o ac.c
In file included from 
/usr/src/linux-2.4.20-19.9/drivers/acpi/include/platform/aclinux.h:36,
                 from 
/usr/src/linux-2.4.20-19.9/drivers/acpi/include/platform/acenv.h:109,
                 from 
/usr/src/linux-2.4.20-19.9/drivers/acpi/include/acpi.h:35,
                 from ac.c:26:
/usr/src/linux-2.4.20-19.9/include/linux/string.h:15: invalid suffix on 
integer constant
/usr/src/linux-2.4.20-19.9/include/linux/string.h:15: parse error before 
numeric constant
/usr/src/linux-2.4.20-19.9/include/linux/string.h:15: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.20-19.9/include/linux/string.h:16: invalid suffix on 
integer constant
/usr/src/linux-2.4.20-19.9/include/linux/string.h:16: parse error before 
numeric constant
...

#2: (acpi zapečem v kernel, prvi modul je zdaj loop.o)

make[2]: Entering directory `/usr/src/linux-2.4.20-19.9/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.9/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.20-19.9/include/linux/modversions.h  -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=loop  -DEXPORT_SYMTAB -c loop.c
In file included from 
/usr/src/linux-2.4.20-19.9/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-19.9/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-19.9/include/linux/module.h:12,
                 from loop.c:62:
/usr/src/linux-2.4.20-19.9/include/asm/processor.h:60: warning: 
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-19.9/include/asm/processor.h:60: field 
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.20-19.9/include/asm/processor.h:83: invalid suffix on 
integer constant
/usr/src/linux-2.4.20-19.9/include/asm/processor.h:83: parse error 
before numeric constant
/usr/src/linux-2.4.20-19.9/include/asm/processor.h:83: warning: function 
declaration isn't a prototype
In file included from 
/usr/src/linux-2.4.20-19.9/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-19.9/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-19.9/include/linux/module.h:12,
                 from loop.c:62:
...

Do podobnih napak vedno pride pri prvem modulu (acpi oz loop je v teh 
primerih prvi).
Vseh nadaljnih možnosti nisem preizkušal...

ne-RH kerneli se prevedejo OK, pa tudi RH, če je le vse skupaj v enem 
velikem kosu.

v bistvu sem hotel dodati samo patch za paketno zapisovanje na cd-rw.

Jurij




More information about the lugos-list mailing list