2.4.0-prerelease compile error in (maybe) mkiss
Hi there... first compilation error of 2001 (at least in my timezone :-)
ld -m elf_i386 -T /usr/src/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 \
drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/isdn/isdn.a drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/net/hamradio/hamradio.o drivers/acpi/acpi.o drivers/md/mddev.o \
net/network.o \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinuxdrivers/net/net.o: In function `network_ldisc_init':
drivers/net/net.o(.text.init+0x135): undefined reference to `mkiss_init_ctrl_dev'
make: *** [vmlinux] Error 1
Ciao
Pf
Signature · 8 lines
------------------------------------------------------------------------------- Pierfrancesco Caci | ik5pvx | mailto:[email protected] - http://gusp.dyndns.org Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.4.0-test10 #1 Wed Nov 8 22:58:01 CET 2000 i686 unknown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
2.4.0-prerelease IEEE1394 problem
I haven't been able to compile IEEE1394 into the kernel since test12.
I get the error:
ld: cannot open drivers/ieee1394/ieee1394.a: No such file or directory
make: *** [vmlinux] Error 1
[root@thud linux]#
When I compile it completely modular, it works fine.
This works:
# IEEE 1394 (FireWire) support
#CONFIG_IEEE1394=m
# CONFIG_IEEE1394_PCILYNX is not setCONFIG_IEEE1394_OHCI1394=mCONFIG_IEEE1394_VIDEO1394=mCONFIG_IEEE1394_RAWIO=m
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
This doesn't:
# IEEE 1394 (FireWire) support
#CONFIG_IEEE1394=y
# CONFIG_IEEE1394_PCILYNX is not setCONFIG_IEEE1394_OHCI1394=yCONFIG_IEEE1394_VIDEO1394=mCONFIG_IEEE1394_RAWIO=m
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
Dax
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 10 lines · Pierfrancesco Caci
Hi there... first compilation error of 2001 (at least in my timezone :-)
ld -m elf_i386 -T /usr/src/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 \ drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/isdn/isdn.a drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/net/hamradio/hamradio.o drivers/acpi/acpi.o drivers/md/mddev.o \ net/network.o \ /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \ --end-group \ -o vmlinux
Quoted 3 lines
drivers/net/net.o: In function `network_ldisc_init':
drivers/net/net.o(.text.init+0x135): undefined reference to `mkiss_init_ctrl_dev'
make: *** [vmlinux] Error 1
Yes, this is a known problem (the patch below got lost). MKISS still has a few other pending issues to resolve for 2.4 so I would recommend you use it with care.
Working on fixing it...
-- Hans
drivers/net/setup.c +0 -4
@@ -8,9 +8,8 @@#include <linux/errno.h> #include <linux/init.h> #include <linux/netlink.h> -extern int mkiss_init_ctrl_dev (void );extern int slip_init_ctrl_dev (void );extern int strip_init_ctrl_dev (void );extern int x25_asy_init_ctrl_dev (void );
@@ -147,11 +146,8 @@slip_init_ctrl_dev ();#endif #if defined(CONFIG_X25_ASY )x25_asy_init_ctrl_dev (); -#endif -#if defined(CONFIG_MKISS ) -mkiss_init_ctrl_dev ();#endif #if defined(CONFIG_STRIP )strip_init_ctrl_dev ();#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
drivers/net/setup.c
Quoted 3 lines · :-> "Hans" == Hans Grobler <[email protected]> writes:
diff -u4Nr -X dontdiff
linux-2.4.0-prerelease.orig/drivers/net/setup.clinux-2.4.0-prerelease/drivers/net/setup.cdrivers/net/setup.c +0
-0
[...]
your patchlet helped compiling cleanly. Still have to see if it actually works (I have a couple of apt-get running, must wait till they finish...)
Pf
Signature · 8 lines
------------------------------------------------------------------------------- Pierfrancesco Caci | ik5pvx | mailto:[email protected] - http://gusp.dyndns.org Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.4.0-test10 #1 Wed Nov 8 22:58:01 CET 2000 i686 unknown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/