2.3.10 compilation problems

Linux Lists (lists@cyclades.com)
Thu, 15 Jul 1999 15:07:13 -0700 (PDT)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1966079469-441452293-932076433=:16191
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,

That's what is happening with my 2.3.10 kernel compilation (which is done
by a 'make dep clean bzlilo modules modules_install'):

make[3]: Entering directory `/usr/src/source-2.3.10/fs/minix'
gcc -D__KERNEL__ -I/usr/src/source-2.3.10/include -Wall
-Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -c
-o file.o file.c
file.c:53: `minix_sync_file' undeclared here (not in a function)
file.c:53: initializer element for `minix_file_operations.fsync' is not
constant
file.c:72: `minix_get_block' undeclared here (not in a function)
file.c:72: initializer element for `minix_file_inode_operations.get_block'
is not constant
file.c:76: `minix_truncate' undeclared here (not in a function)
file.c:76: initializer element for `minix_file_inode_operations.truncate'
is not constant
make[3]: *** [file.o] Error 1
make[3]: Leaving directory `/usr/src/source-2.3.10/fs/minix'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/source-2.3.10/fs/minix'
make[1]: *** [_subdir_minix] Error 2
make[1]: Leaving directory `/usr/src/source-2.3.10/fs'
make: *** [_dir_fs] Error 2

Then, if I remove the Minix FS support from the kernel configuration, I
get:

make[1]: Leaving directory `/usr/src/source-2.3.10/arch/i386/lib'
gcc -E -C -P -I/usr/src/source-2.3.10/include -imacros
/usr/src/source-2.3.10/in clude/asm-i386/page_offset.h -Ui386
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
ld -m elf_i386 -T /usr/src/source-2.3.10/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.a drivers/misc/misc.a
drivers/net/net.a drivers/cdrom/cdrom.a drivers/pci/pci.a
drivers/video/video.a \
/usr/src/source-2.3.10/arch/i386/lib/lib.a
/usr/src/source-2.3.10/lib/lib.a
/usr/src/source-2.3.10/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
fs/filesystems.a(smbfs.o): In function `smb_get_dircache':
smbfs.o(.text+0x35dd): undefined reference to `get_cached_page'
smbfs.o(.text+0x3633): undefined reference to `get_cached_page'
fs/filesystems.a(smbfs.o): In function `smb_add_to_cache':
smbfs.o(.text+0x37ee): undefined reference to `get_cached_page'
make: *** [vmlinux] Error 1

I then removed SMB support from my configuration, and it finally compiled
fine.

Bottom line: I had to remove minix and SMB support in order to just
_compile_ kernel 2.3.10. Minix for me is not 100% necessary, but SMB
support is essential ...

Question: is there a fix for those problems alrady available ?? If
positive, where can I get it ?!?!

Oh, my .config (original, with minix and SMB support included) is
attached.

Thanks in advance for your help.

Regards,
Ivan

---1966079469-441452293-932076433=:16191
Content-Type: APPLICATION/x-gzip; name=".config.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.990715150713.16191B@main.cyclades.com>
Content-Description:

H4sICEZsjjcAAy5jb25maWcAhRldb+I69n1+RaR52Hule7XQdrqdlfpgHAMe
nNi1TSjzEmVKOoNKSRfC7Pbf73FSipOcUAkJcT7t833M50+fA3Ioi+esXD9k
m81r8DPf5ruszFfBj9fgOXvKg+d8e3goto/rn/8OVsX2H2WQr9blp8+f4PM5
oMUKSLLysFuXr8Em/51vguKlXBfbPeCpjMd8krJ7xTSPWGyJuH2tGdWueMj3
+2IXlK8veZBtV8Fj7uTk+1pwzRpd3lwH632wLcpgn5ce4qoP8aWJ8MDWUFB/
orxGKe9vrtOFShdSz0wqZ8DhIXicCDVpwkZmQVQTpKQiYYe51v8GGE5G/mEu
JiP8OsROUxbNBbFcxjiJ1Rq5h4nU0diiyFbZjw14qlg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
jd+jJ8RrzK3CaJho/ZFwsk1IzrbpcbfsmOKwXTVWX+gX3UV55jbNTfAre3hq
LdcRmXDqAlbf+Vz/B3E5vkqYGwAA
---1966079469-441452293-932076433=:16191--

-
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/