Skip to contentSkip to conversation

REG: problem i am facing

DISCUSSION [email protected] 2 participants 2 messages Jan 9, 2006

lore
Share & tools
lore
#0 lore raw

hi all,

i am using Fedora 1.0 and i am using kernel-2.6.15 and i am using arm-linux-3.4.1 to cross compile, i am facing the problem while i am make the compilation , in make menuconfig it will compiled correctly but we make it compile it will showing one error as

fs/built-in.o(.data+0x22c4): undefined reference to adfspart_check_ICS' fs/built-in.o(.data+0x22c8): undefined reference to adfspart_check_POWERTEC' fs/built-in.o(.data+0x22cc): undefined reference to adfspart_check_EESOX' fs/built-in.o(.data+0x22d0): undefined reference to adfspart_check_CUMANA' fs/built-in.o(.data+0x22d4): undefined reference to `adfspart_check_ADFS'
make: *** [.tmp_vmlinux1] Error 1

pls give the solution for this problem ASAP , because i am now compiling the ting u pls support us.

thanks and regards

#1 lore raw
Quoted 14 lines · On Mon, Jan 09, 2006 at 12:41:57PM -0000, [email protected]…

hi all,

i am using Fedora 1.0 and i am using kernel-2.6.15 and i am using arm-linux-3.4.1 to cross compile, i am facing the problem while i am make the compilation , in make menuconfig it will compiled correctly but we make it compile it will showing one error as

fs/built-in.o(.data+0x22c4): undefined reference to adfspart_check_ICS' fs/built-in.o(.data+0x22c8): undefined reference to adfspart_check_POWERTEC' fs/built-in.o(.data+0x22cc): undefined reference to adfspart_check_EESOX' fs/built-in.o(.data+0x22d0): undefined reference to adfspart_check_CUMANA' fs/built-in.o(.data+0x22d4): undefined reference to `adfspart_check_ADFS'
make: *** [.tmp_vmlinux1] Error 1

Quoted 2 lines

pls give the solution for this problem ASAP , because i am now compiling the ting u pls support us.

It looks like fs/partitions/Kconfig is messed up for one combination. If ACORN_PARTITION is not set, we won't include any of the partition support for Acorn formats, so we should not allow them to be selected.

Please try this patch:

fs/partitions/Kconfig +12 -8
@@ -21,26 +21,30 @@ config ACORN_PARTITION
 	  Support hard disks partitioned under Acorn operating systems.
 
 config ACORN_PARTITION_CUMANA
-	bool "Cumana partition support" if PARTITION_ADVANCED && ACORN_PARTITION
+	bool "Cumana partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
+	depends on ACORN_PARTITION
 	help
 	  Say Y here if you would like to use hard disks under Linux which
 	  were partitioned using the Cumana interface on Acorn machines.
 
 config ACORN_PARTITION_EESOX
-	bool "EESOX partition support" if PARTITION_ADVANCED && ACORN_PARTITION
+	bool "EESOX partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
+	depends on ACORN_PARTITION
 
 config ACORN_PARTITION_ICS
-	bool "ICS partition support" if PARTITION_ADVANCED && ACORN_PARTITION
+	bool "ICS partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
+	depends on ACORN_PARTITION
 	help
 	  Say Y here if you would like to use hard disks under Linux which
 	  were partitioned using the ICS interface on Acorn machines.
 
 config ACORN_PARTITION_ADFS
-	bool "Native filecore partition support" if PARTITION_ADVANCED && ACORN_PARTITION
+	bool "Native filecore partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
+	depends on ACORN_PARTITION
 	help
 	  The Acorn Disc Filing System is the standard file system of the
 	  RiscOS operating system which runs on Acorn's ARM-based Risc PC
@@ -48,15 +52,17 @@ config ACORN_PARTITION_ADFS
 	  `Y' here, Linux will support disk partitions created under ADFS.
 
 config ACORN_PARTITION_POWERTEC
-	bool "PowerTec partition support" if PARTITION_ADVANCED && ACORN_PARTITION
+	bool "PowerTec partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
+	depends on ACORN_PARTITION
 	help
 	  Support reading partition tables created on Acorn machines using
 	  the PowerTec SCSI drive.
 
 config ACORN_PARTITION_RISCIX
-	bool "RISCiX partition support" if PARTITION_ADVANCED && ACORN_PARTITION
+	bool "RISCiX partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
+	depends on ACORN_PARTITION
 	help
 	  Once upon a time, there was a native Unix port for the Acorn series
 	  of machines called RISCiX.  If you say 'Y' here, Linux will be able
@@ -224,5 +230,3 @@ config EFI_PARTITION
 	  Say Y here if you would like to use hard disks under Linux which
 	  were partitioned using EFI GPT.  Presently only useful on the
 	  IA-64 platform.
-
-#      define_bool CONFIG_ACORN_PARTITION_CUMANA y
Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core