summaryrefslogtreecommitdiffstats
path: root/term-utils/script.c
diff options
context:
space:
mode:
authorChristian Wiese2012-02-15 13:39:22 +0100
committerKarel Zak2012-03-07 20:33:24 +0100
commit90e57677a5378be199303cd0ef09b74c347d4794 (patch)
treec792ba0b7ee2867e24bcbd41a5b8e7187a2afb35 /term-utils/script.c
parentlsblk: use readlink_at from at.c (diff)
downloadkernel-qcow2-util-linux-90e57677a5378be199303cd0ef09b74c347d4794.tar.gz
kernel-qcow2-util-linux-90e57677a5378be199303cd0ef09b74c347d4794.tar.xz
kernel-qcow2-util-linux-90e57677a5378be199303cd0ef09b74c347d4794.zip
fdisk: fix to build for IA32
Tested architectures: - i486 using gcc -march=i486 - i586 using gcc -march=pentium-mmx - i686 using gcc -march={pentiumpro,pentium2,pentium3,pentium-m,pentium4} Without this fix building fdisk fails for for all tested arch/cpu types emiting following error: ------------------------------------------------------------------------------ In file included from fdiskbsdlabel.c:62:0: fdiskbsdlabel.h:61:2: error: #error unknown architecture fdiskbsdlabel.c: In function 'bselect': fdiskbsdlabel.c:180:44: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c:180:44: note: each undeclared identifier is reported only once for each function it appears in fdiskbsdlabel.c: In function 'xbsd_write_bootstrap': fdiskbsdlabel.c:539:24: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c: In function 'xbsd_readlabel': fdiskbsdlabel.c:744:28: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c:744:60: error: 'BSD_LABELOFFSET' undeclared (first use in this function) fdiskbsdlabel.c: In function 'xbsd_writelabel': fdiskbsdlabel.c:769:32: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c:780:61: error: 'BSD_LABELOFFSET' undeclared (first use in this function) make[2]: *** [fdisk-fdiskbsdlabel.o] Error 1 ------------------------------------------------------------------------------ This fix was tested with following major toolchain components: binutils 2.21.53.0.2 gcc 4.6.2 glibc 2.14.1
Diffstat (limited to 'term-utils/script.c')
0 files changed, 0 insertions, 0 deletions