Package: uswsusp
Version: 0.2-2
Severity: serious

....
cc -g -O2 -DCONFIG_BOTH -Wall -I/usr/local/include -DCONFIG_COMPRESS 
-I../liblzf-1.51 md5.o encrypt.o config.o suspend.c s2ram.c -o s2disk vt.o 
vbetool/lrmi.o vbetool/x86-common.o vbetool/vbetool.o radeontool.o dmidecode.o 
splash.o bootsplash.o -L/usr/local/lib -L../liblzf-1.51 -llzf -lpci
In file included from suspend.c:34:
swsusp.h: In function ‘start_writeout’:
swsusp.h:141: error: ‘SYNC_FILE_RANGE_WRITE’ undeclared (first use in this 
function)
swsusp.h:141: error: (Each undeclared identifier is reported only once
swsusp.h:141: error: for each function it appears in.)
make[1]: *** [s2disk] Error 1
make[1]: Leaving directory `/tmp/uswsusp-0.2/suspend-0.2'
make: *** [build-stamp] Error 2

The quick fix is to #include "linux/fs.h" in suspend-0.2/swsusp.h, or 
both of suspend-0.2/suspend.c and suspend-0.2/resume.c

Obviously something's changed in linux-kernel-headers (I have version 
2.6.17.6-1, currently in sid, you probably have an older version).

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (99, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]         1.5.3      Debian configuration management sy
ii  libc6                         2.3.6-18   GNU C Library: Shared libraries

Versions of packages uswsusp recommends:
ii  initramfs-tools               0.73b      tools for generating an initramfs

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to