[1.2.0] fdisk.c compile error: 'BLKSSZGET' undeclared

Andre armcc2000 at yahoo.com
Tue Jul 18 02:48:20 UTC 2006


Not sure why I'm only just seeing this now (looks like it got broken
in r15393...).

Possible patch attached.

arm-linux-uclibc-gcc -I/home/andre/busybox-1.2.0/include
-I/home/andre/busybox-1.2.0/include -I/home/andre/busybox-1.2.0/libbb
-D_GNU_SOURCE -Wall -Wstrict-prototypes -Wshadow -funsigned-char
-fno-builtin-strlen -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wunused -Winit-self -Wshadow -Wcast-align
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-DNDEBUG -Os -fstrict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections -Wall -Wstrict-prototypes
-Wshadow -funsigned-char -fno-builtin-strlen -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wunused -Winit-self
-Wshadow -Wcast-align -march=armv5te -mtune=arm9tdmi -c -o
/home/andre/busybox-1.2.0/util-linux/fdisk.o
/home/andre/busybox-1.2.0/util-linux/fdisk.c
/home/andre/busybox-1.2.0/util-linux/fdisk.c: In function
`get_sectorsize':
/home/andre/busybox-1.2.0/util-linux/fdisk.c:3921: error: `BLKSSZGET'
undeclared (first use in this function)
/home/andre/busybox-1.2.0/util-linux/fdisk.c:3921: error: (Each
undeclared identifier is reported only once
/home/andre/busybox-1.2.0/util-linux/fdisk.c:3921: error: for each
function it appears in.)
make[5]: *** [/home/andre/busybox-1.2.0/util-linux/fdisk.o] Error 1



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_add_BLKSSZGET_definition
Type: application/octet-stream
Size: 325 bytes
Desc: 3545709242-patch_add_BLKSSZGET_definition
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060717/d0c880cc/attachment.obj 


More information about the busybox mailing list