When compiling standard kernel 2.3.18, as well as with ac's patches, with
hfs and MacOS partition support I get this error:
ld -m elf_i386 -T /usr/src/linux-2.3.18/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.o drivers/misc/misc.o
drivers/parport/parport.a drivers/net/net.a drivers/scsi/scsi.a
drivers/cdrom/cdrom.a drivers/sound/sounddrivers.o drivers/pci/pci.a
drivers/pnp/pnp.a drivers/video/video.a \
/usr/src/linux-2.3.18/arch/i386/lib/lib.a
/usr/src/linux-2.3.18/lib/lib.a /usr/src/linux-2.3.18/arch/i386/lib/lib.a
\
--end-group \
-o vmlinux
fs/filesystems.a(hfs.o): In function `hfs_do_write':
hfs.o(.text+0xa5b3): undefined reference to `update_vm_cache'
make: *** [vmlinux] Error 1
If hfs and MacOS partition support are not selected kernel compiles fine.
Here's my linux config:
Kernel version: Linux 2.2.6 #1 Fri Sep 10 14:17:34 CDT 1999 i686 unknown
Software:
Linux fremen.ignasi.com 2.2.6 #1 Fri Sep 10 14:17:34 CDT 1999 i686 unknown
Kernel modules 2.1.85
Gnu C pgcc-2.91.57
Binutils 2.9.1.0.15
Linux C Library 2.0.7
Dynamic linker ldd (GNU libc) 2.0.7
Linux C++ Library 2.9.0
Procps 1.2.9
Mount 2.8a
Net-tools 1.46
Kbd 0.96
Sh-utils 1.16
Modules Loaded w83781d sensors smbus i2c-isa i2c-proc i2c-core
aha152x bc
[ignasi@fremen ignasi]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 400.918684
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx osfxsr
bogomips : 399.77
[ignasi@fremen ignasi]$ cat /proc/modules
w83781d 15236 0 (unused)
sensors 5552 0 [w83781d]
smbus 1852 0 [w83781d sensors]
i2c-isa 1336 0 (unused)
i2c-proc 2860 0 (unused)
i2c-core 4144 0 [w83781d sensors smbus i2c-isa i2c-proc]
aha152x 34264 0 (unused)
bc 27520 0 (unused)
[ignasi@fremen ignasi]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-6201TA Rev: 1037
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: WDIGTL Model: WDE9180 ULTRA2 Rev: 1.30
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: QUANTUM Model: VIKING II 4.5WLS Rev: 4110
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: UMAX Model: Astra 600S Rev: V1.2
Type: Scanner ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: J.02
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: SAF Model: CD-R4012 Rev: 6.0J
Type: CD-ROM ANSI SCSI revision: 02
Under this kernel compilation I was not using any pgcc's flag
optimization.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/