Re: Swsusp2 (Was: Palm Zire 31)
Le Tue, 21 Dec 2004 22:57:15 +0100
Sylvain Sauvage <Sylvain.Sauvage@metanoesis.net> a écrit:
> Tue, 21 Dec 2004 22:20:40 +0100, François Boisson a écrit :
> >[...]
> > Ben oui mais je suis en noyau 2.4... Il va falloir que je passe au
> > 2.6 alors que mon système marche sans ça au petits oignons...
>
> J'avais pas pensé à ça : les 2.6 incluent pmdisk et swsusp, je suis
> donc passé en 2.6 il y a un moment.
>
Sous woody?
> Faudrait que tu regardes plus haut, parce que là, ce ne sont que des
> warnings (pas graves en plus).
>
Arch, je me suis fait avoir, je recommence (mais c'est plus long
/usr/src/linux-2.4.28/include/asm/pgalloc.h:61: `GFP_KERNEL' undeclared
(first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h:61: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.28/include/asm/pgalloc.h:61: for each function it
appears in.)
/usr/src/linux-2.4.28/include/asm/pgalloc.h:64: `USER_PTRS_PER_PGD'
undeclared (first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h:66: `swapper_pg_dir'
undeclared (first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h:67: `PTRS_PER_PGD'
undeclared (first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h: In function
`free_pgd_slow':
/usr/src/linux-2.4.28/include/asm/pgalloc.h:109: warning: implicit
declaration of function `free_page'
/usr/src/linux-2.4.28/include/asm/pgalloc.h: In function
`pte_alloc_one':
/usr/src/linux-2.4.28/include/asm/pgalloc.h:117: `GFP_KERNEL' undeclared
(first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/src/linux-2.4.28/include/asm/pgalloc.h:193: `current' undeclared
(first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h:194: warning: implicit
declaration of function `__flush_tlb'
/usr/src/linux-2.4.28/include/asm/pgalloc.h: At top level:
/usr/src/linux-2.4.28/include/asm/pgalloc.h:198: warning: `struct
vm_area_struct' declared inside parameter list
/usr/src/linux-2.4.28/include/asm/pgalloc.h:198: warning: its scope is
only this definition or declaration, which is probab ly not what you
want.
/usr/src/linux-2.4.28/include/asm/pgalloc.h: In function
`flush_tlb_page':
/usr/src/linux-2.4.28/include/asm/pgalloc.h:200: dereferencing pointer
to incomplete type
/usr/src/linux-2.4.28/include/asm/pgalloc.h:200: `current' undeclared
(first use in this function)
/usr/src/linux-2.4.28/include/asm/pgalloc.h:201: warning: implicit
declaration of function `__flush_tlb_one'
/usr/src/linux-2.4.28/include/asm/pgalloc.h: In function
`flush_tlb_range':
/usr/src/linux-2.4.28/include/asm/pgalloc.h:207: `current' undeclared
(first use in this function)
In file included from suspend_gzip.c:15:
/usr/src/linux-2.4.28/include/linux/highmem.h: In function `kmap':
/usr/src/linux-2.4.28/include/linux/highmem.h:58: warning: implicit
declaration of function `page_address'
/usr/src/linux-2.4.28/include/linux/highmem.h:58: warning: return makes
pointer from integer without a cast
/usr/src/linux-2.4.28/include/linux/highmem.h: In function
`memclear_highpage_flush':
/usr/src/linux-2.4.28/include/linux/highmem.h:98: warning: implicit
declaration of function `flush_dcache_page'
/usr/src/linux-2.4.28/include/linux/highmem.h:99: warning: implicit
declaration of function `flush_page_to_ram'
In file included from /usr/src/linux-2.4.28/include/linux/mm.h:26,
from suspend.h:21,
from suspend_gzip.c:20:
/usr/src/linux-2.4.28/include/asm/pgtable.h: At top level:
/usr/src/linux-2.4.28/include/asm/pgtable.h:24: `swapper_pg_dir' used
prior to declaration
suspend_gzip.c: In function `allocate_zlib_compression_space':
suspend_gzip.c:59: warning: implicit declaration of function
`vmalloc_32'
suspend_gzip.c:59: warning: assignment makes pointer from integer
without a cast
suspend_gzip.c: In function `allocate_zlib_decompression_space':
suspend_gzip.c:80: warning: assignment makes pointer from integer
without a cast
suspend_gzip.c: In function `free_zlib_memory':
suspend_gzip.c:100: warning: implicit declaration of function `vfree'
make[3]: *** [suspend_gzip.o] Erreur 1
make[3]: Leaving directory `/usr/src/linux-2.4.28/kernel/power'
make[2]: *** [first_rule] Erreur 2
make[2]: Leaving directory `/usr/src/linux-2.4.28/kernel/power'
make[1]: *** [_subdir_power] Erreur 2
Bravo pour la lecture et bonnes fêtes...
F.B
Reply to: