Re: 2.3.40pre1 link error

From: Niels Kristian Bech Jensen (nkbj@image.dk)
Date: Wed Jan 12 2000 - 12:34:01 EST


On Wed, 12 Jan 2000, Thomas Speck wrote:

>
> ld -m elf_i386 -T /newhome/speck/experimental/linux/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 \
> net/network.a \
> drivers/block/block.a drivers/char/char.o drivers/misc/misc.o
> drivers/net/net.o drivers/parport/parport.a drivers/sound/sounddrivers.o
> drivers/pci/pci.a drivers/net/pcmcia/pcmcia_net.o
> drivers/char/pcmcia/pcmcia_char.o drivers/pnp/isa-pnp.o
> drivers/video/video.o \
> /newhome/speck/experimental/linux/arch/i386/lib/lib.a
> /newhome/speck/experimental/linux/lib/lib.a
> /newhome/speck/experimental/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> ld: cannot open drivers/net/pcmcia/pcmcia_net.o: No such file or directory
> make: *** [vmlinux] Error 1
>
> I use same config as for 2.3.39. There is nothing made at all in
> drivers/net/pcmcia.
>
Try this patch:

diff -u --recursive --new-file pre-patch-2.3.40-1/arch/i386/config.in linux/arch/i386/config.in
--- pre-patch-2.3.40-1/arch/i386/config.in Wed Jan 12 10:14:50 2000
+++ linux/arch/i386/config.in Wed Jan 12 14:30:44 2000
@@ -106,7 +106,9 @@
 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
 
 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
-source drivers/pcmcia/Config.in
+ source drivers/pcmcia/Config.in
+else
+ define_bool CONFIG_PCMCIA n
 fi
 
 bool 'System V IPC' CONFIG_SYSVIPC

-- 
Niels Kristian Bech Jensen -- nkbj@image.dk -- http://www.image.dk/~nkbj/

----------->> Stop software piracy --- use free software! <<-----------

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



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:20 EST