lkml.org 
[lkml]   [2002]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectModular 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:
>>>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!
>>>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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:1.381 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site