util-linux-2.12 (1.3.3 and 20040304) fails build
Dennis Veatch
dveatch at woh.rr.com
Sun Mar 7 15:28:34 GMT 2004
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
--
Registered Linux user 193414
http://counter.li.org
"Trying"? My contribution was much closer to a "feeble wave in the general
direction of something that might lead you one step closer to a solution
if you squint really hard and do all of the work."
More information about the Lunar
mailing list