lkml.org 
[lkml]   [2002]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.5.18 suspend.c don't compil with gcc 3.1
Hello,

I just wanted to try this new feature, but :

gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=suspend -DEXPORT_SYMTAB -c -o suspend.o suspend.c
suspend.c: In function `freeze_processes':
suspend.c:240: warning: implicit declaration of function `signal_wake_up'
suspend.c: In function `fill_suspend_header':
suspend.c:292: warning: comparison between pointer and integer
suspend.c: In function `write_suspend_image':
suspend.c:436: warning: passing arg 3 of `get_swaphandle_info' from incompatible pointer type
suspend.c:435: warning: unused variable `dummy2'
suspend.c: In function `suspend_save_image':
suspend.c:729: warning: assignment makes integer from pointer without a cast
suspend.c: In function `bdev_read_page':
suspend.c:1051: warning: implicit declaration of function `__bread'
suspend.c:1051: warning: assignment makes pointer from integer without a cast
suspend.c:1052: dereferencing pointer to incomplete type
suspend.c:1055: dereferencing pointer to incomplete type
suspend.c:1055: dereferencing pointer to incomplete type
suspend.c:1056: warning: implicit declaration of function `buffer_uptodate'
suspend.c:1057: warning: implicit declaration of function `brelse'
suspend.c: In function `resume_try_to_read':
suspend.c:1071: warning: passing arg 1 of `name_to_kdev_t' discards qualifiers from pointer target type
suspend.c:1079: warning: unsigned int format, kdev_t arg (arg 2)
suspend.c:1069: warning: unused variable `blksize'
suspend.c: At top level:
suspend.c:1232: warning: static declaration for `resume_setup' follows non-static
make[1]: *** [suspend.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5/kernel'
make: *** [_dir_kernel] Error 2

Thanks you very much,

Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.241 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site