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

Bug#393023: PAGE_SIZE is undeclared



Package: linux-kernel-headers
Version: 2.6.18-3
Severity: grave

Lots of packages don't build because PAGE_SIZE is undeclared.

Examples:

1
> Automatic build of directfb-0.9-22_0.9.22-10 on bigsur by sbuild/mips 0.49
...
> 	then mv -f ".deps/system.Tpo" ".deps/system.Plo"; else rm -f ".deps/system.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I../../../lib/direct -I../.. -I../../include -I../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-0.9.22\" -DMODULEDIR=\"/usr/lib/directfb-0.9.22\" -D_REENTRANT -Wall -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT system.lo -MD -MP -MF .deps/system.Tpo -c ../../../lib/direct/system.c  -fPIC -DPIC -o .libs/system.o
> ../../../lib/direct/system.c: In function 'direct_pagesize':
> ../../../lib/direct/system.c:64: error: 'PAGE_SIZE' undeclared (first use in this function)
> ../../../lib/direct/system.c:64: error: (Each undeclared identifier is reported only once
> ../../../lib/direct/system.c:64: error: for each function it appears in.)
> make[4]: *** [system.lo] Error 1
> make[4]: Leaving directory `/build/tbm/directfb-0.9-22-0.9.22/directfb-build/lib/direct'

2
> Automatic build of eciadsl_0.11-3 on coconut0 by sbuild/ia64 0.49
...
> if gcc -DPACKAGE_NAME=\"eciadsl-usermode\" -DPACKAGE_TARNAME=\"eciadsl-usermode\" -DPACKAGE_VERSION=\"0.11\" -DPACKAGE_STRING=\"eciadsl-usermode\ 0.11\" -DPACKAGE_BUGREPORT=\"eci@ml.free.fr\" -DPACKAGE=\"eciadsl-usermode\" -DVERSION=\"0.11\" -DHAVE_LIBPTHREAD=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1 -DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\) -DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\) -DRETSIGTYPE=void -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ALARM=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1  -I. -I.  -DETC_DIR=\"/etc\" -DCONF_DIR=\"/etc/eciadsl\" -DDOC_DIR=\"/usr/share/doc/eciadsl\"   -g -O2 -MT pusb.o -MD -MP -MF ".deps/pusb.Tpo" -c -o pusb.o pusb.c; \
> 	then mv -f ".deps/pusb.Tpo" ".deps/pusb.Po"; else rm -f ".deps/pusb.Tpo"; exit 1; fi
> In file included from pusb.c:13:
> pusb-linux.c: In function 'pusb_endpoint_rw':
> pusb-linux.c:355: error: 'PAGE_SIZE' undeclared (first use in this function)
> pusb-linux.c:355: error: (Each undeclared identifier is reported only once
> pusb-linux.c:355: error: for each function it appears in.)
> make[3]: *** [pusb.o] Error 1
> make[3]: Leaving directory `/build/tbm/eciadsl-0.11/build-tree/eciadsl-usermode-0.11'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/tbm/eciadsl-0.11/build-tree/eciadsl-usermode-0.11'
> make[1]: *** [source.command] Error 2
> make[1]: Leaving directory `/build/tbm/eciadsl-0.11'
> make: *** [debian/stampdir/build] Error 2

3
> Automatic build of lvm10_1:1.0.8-12 on coconut0 by sbuild/ia64 0.49
...
> make[2]: Entering directory `/build/tbm/lvm10-1.0.8/1.0.8/tools'
> make[3]: Entering directory `/build/tbm/lvm10-1.0.8/1.0.8/tools/lib'
> make[4]: Entering directory `/build/tbm/lvm10-1.0.8/1.0.8/tools/lib'
> gcc -c -pipe -g -O2 -Wall -I../../tools/lib -I../../tools -I/build/tbm/lvm10-1.0.8/1.0.8/tools/lib -I../../../kernel -o basename.o basename.c
> gcc -c -pipe -g -O2 -Wall -I../../tools/lib -I../../tools -I/build/tbm/lvm10-1.0.8/1.0.8/tools/lib -I../../../kernel -o debug.o debug.c
> gcc -c -pipe -g -O2 -Wall -I../../tools/lib -I../../tools -I/build/tbm/lvm10-1.0.8/1.0.8/tools/lib -I../../../kernel -o lv_change_read_ahead.o lv_change_read_ahead.c
> gcc -c -pipe -g -O2 -Wall -I../../tools/lib -I../../tools -I/build/tbm/lvm10-1.0.8/1.0.8/tools/lib -I../../../kernel -o lv_change_vgname.o lv_change_vgname.c
> gcc -c -pipe -g -O2 -Wall -I../../tools/lib -I../../tools -I/build/tbm/lvm10-1.0.8/1.0.8/tools/lib -I../../../kernel -o lv_check_active.o lv_check_active.c
> gcc -c -pipe -g -O2 -Wall -I../../tools/lib -I../../tools -I/build/tbm/lvm10-1.0.8/1.0.8/tools/lib -I../../../kernel -o lv_check_consistency.o lv_check_consistency.c
> lv_check_consistency.c: In function 'lv_check_consistency':
> lv_check_consistency.c:74: error: 'PAGE_SIZE' undeclared (first use in this function)
> lv_check_consistency.c:74: error: (Each undeclared identifier is reported only once
> lv_check_consistency.c:74: error: for each function it appears in.)
> make[4]: *** [lv_check_consistency.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: