The moxa.c module is not compiled in 2.4.7 kernel.
Hi !
I have a problem with the 2.4.7 kernel only, not with the 2.4.6. In the 2.4.6, using make xconfig, I select Moxa Intellio support, in the Character devices menu. I made make dep, make clean, make modules, make modules_install, and then I obtained the moxa.o file in /lib/modules/2.4.6/kernel/drivers/char directory.
If I make the same operations with 2.4.7 kernel, I don't obtain moxa.o The file is not compiled and not installed.
But, if I edit the file .config in /usr/src/linux with 2.4.7 kernel, I see the line CONFIG_MOXA_INTELLIO=m.
I don't understand why the moxa.c file is not compiled.
I don't receive error messages.
If I want the moxa.o module, I need to make:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE
-DEXPORT_SYMTAB -c moxa.c
and then I have to copy moxa.o in the /lib/modules/2.4.7/kernel/drivers/char directory.
The computer is an i386 , Duron processor The multiport card is an Intellio Moxa C218 ISA card The distribution is Suse 7
Thank you for your response.
Best regards.
Quoted 7 lines · J.L.Carlet
I have a problem with the 2.4.7 kernel only, not with the 2.4.6. In the 2.4.6, using make xconfig, I select Moxa Intellio support, in the Character devices menu. I made make dep, make clean, make modules, make
modules_install, and then I obtained the moxa.o file in/lib/modules/2.4.6/kernel/drivers/chardirectory.
If I make the same operations with 2.4.7 kernel, I don't obtain moxa.o The file is not compiled and not installed.
It compiles and installs for me on 2.4.7, using make xconfig.
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_SERIAL=y
# CONFIG_SERIAL_CONSOLE is not setCONFIG_SERIAL_EXTENDED=y
# CONFIG_SERIAL_MANY_PORTS is not set
# CONFIG_SERIAL_SHARE_IRQ is not set
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_HUB6 is not setCONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_DIGI is not set
# CONFIG_ESPSERIAL is not setCONFIG_MOXA_INTELLIO=m
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
# CONFIG_SYNCLINK is not set
# CONFIG_N_HDLC is not set
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
# CONFIG_STALDRV is not setCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256