util-linux-2.12 (1.3.3 and 20040304) fails build

Moritz Heiber moe at lunar-linux.org
Sun Mar 7 21:36:34 GMT 2004


On Sun, 7 Mar 2004 15:28:34 -0500
Dennis Veatch <dveatch at woh.rr.com> wrote:

> Same error point for both (2.6.4-rc2-beta and GCC-3.3.3);
> 
> cc -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   
> -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" 
> -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> -DLOCALEDIR=\"/usr/share/locale\" -O2 -mcpu=i686 -march=i686
> -funroll-loops -mmmx -mfpmath=387  -s -z combreloc  mkfs.c   -o mkfs
> cc -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   
> -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" 
> -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> -DLOCALEDIR=\"/usr/share/locale\" -O2 -mcpu=i686 -march=i686
> -funroll-loops -mmmx -mfpmath=387  -s -z combreloc  mkswap.c   -o
> mkswap cc -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes
> -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\"
> -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> -DLOCALEDIR=\"/usr/share/locale\" -O2 -mcpu=i686 -march=i686
> -funroll-loops -mmmx -mfpmath=387  -s -z combreloc  blockdev.c   -o
> blockdev blockdev.c:70: error: parse error before '[' token
> blockdev.c:70: error: initializer element is not constant
> blockdev.c:70: error: (near initialization for `bdcms[4].ioc')
> blockdev.c:70: error: initializer element is not constant
> blockdev.c:70: error: (near initialization for `bdcms[4]')
> blockdev.c:73: error: parse error before '[' token
> blockdev.c:73: error: initializer element is not constant
> blockdev.c:73: error: (near initialization for `bdcms[5].ioc')
> blockdev.c:73: error: initializer element is not constant
> blockdev.c:73: error: (near initialization for `bdcms[5]')
> blockdev.c:76: error: initializer element is not constant
> blockdev.c:76: error: (near initialization for `bdcms[6]')
> blockdev.c:79: error: initializer element is not constant
> blockdev.c:79: error: (near initialization for `bdcms[7]')
> blockdev.c:82: error: initializer element is not constant
> blockdev.c:82: error: (near initialization for `bdcms[8]')
> blockdev.c:85: error: initializer element is not constant
> blockdev.c:85: error: (near initialization for `bdcms[9]')
> blockdev.c:89: error: initializer element is not constant
> blockdev.c:89: error: (near initialization for `bdcms[10]')
> blockdev.c: In function `report_device':
> blockdev.c:331: error: parse error before '[' token
> make[1]: *** [blockdev] Error 1
> make[1]: Leaving directory `/usr/src/util-linux-2.12/disk-utils'
> make: *** [all] Error 1
> Creating /var/log/lunar/compile/util-linux-2.12.bz2
> ! Problem detected during BUILD

Dennis,

you're using a experimental configuration (kernel 2.6.x). util-linux is
know to not compile against the 2.6.x headers and probably won't compile
against them as long as there isn't going to be a new version.

Regards,

Moritz

-- 
Moritz Heiber

Lunar Linux developer: http://www.lunar-linux.org
XFce4 desktop environment: http://xfce.org
Moritz Heiber[at]SPLiNe: http://moe.spline.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lunar-linux.org/pipermail/lunar/attachments/20040307/5e1d0846/attachment.bin


More information about the Lunar mailing list