Modular Frustration w/2.4.18!
I don't understand it! I cannot seem to get the modules to compile on my box! Every time I modify the config to make something compile NOT as a module, the make breaks somewhere else! ARRRRGHHH!
The lay of the land:
gcc-cpp-2.96-0.76mdk
gcc-2.96-0.76mdk
gcc-c++-2.96-0.76mdk
libgcc3.0-3.0.4-2mdk
I can do a "make bzImage" and that compiles just fine:
Quoted 1 line
Quoted 1 line
Quoted 1 line
SNIP
tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage Root device is (8, 21)
Boot sector 512 bytes.
Setup is 4796 bytes.
System is 718 kB
make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk/arch/i386/boot' [root@pluto linux]#
Then when I get to making the modules... BOOM!
Quoted 1 line
Quoted 1 line
Quoted 1 line
SNIP
In file included from /usr/src/linux-2.4.18-6mdk/include/linux/highmem.h:5,
from/usr/src/linux-2.4.18-6mdk/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.18-6mdk/include/linux/locks.h:8,
from
/usr/src/linux-2.4.18-6mdk/include/linux/devfs_fs_kernel.h:6,
from floppy.c:169:/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In function `get_pgd_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:78: `boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:78: (Each undeclared identifier is reported only once /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:78: for each function it appears in.) /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In function `free_pgd_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:89: boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In function pte_alloc_one_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:127: boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In function pte_free_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:137: `boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) make[2]: *** [floppy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers'
make: *** [_mod_drivers] Error 2
Quoted 3 lines · David Christensen
I don't understand it! I cannot seem to get the modules to compile on my box! Every time I modify the config to make something compile NOT as a module, the make breaks somewhere else! ARRRRGHHH!
Try to do "make dep" and then "make bzImage modules"
Andrey
Quoted 7 lines · David Christensen
I don't understand it! I cannot seem to get the modules to compile on my box! Every time I modify the config to make something compile NOT as a module, the make breaks somewhere else! ARRRRGHHH!
The lay of the land:
gcc-cpp-2.96-0.76mdk
gcc-2.96-0.76mdk
gcc-c++-2.96-0.76mdk
libgcc3.0-3.0.4-2mdk
snip
Quoted 20 lines
/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:78: (Each undeclared identifier is reported only once/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:78: for each function it appears in.)/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In function `free_pgd_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:89:boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In functionpte_alloc_one_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:127:boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) /usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h: In functionpte_free_fast':/usr/src/linux-2.4.18-6mdk/include/asm/pgalloc.h:137: `boot_cpu_data_Rsmp_0657d037' undeclared (first use in this function) make[2]: *** [floppy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers'
make: *** [_mod_drivers] Error 2-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/