mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Modular Frustration w/2.4.18!
@ 2002-03-29  7:03 David Christensen
  2002-03-29  9:08 ` Keith Owens
  2002-04-01 16:56 ` Andrey Klochko
  0 siblings, 2 replies; 3+ messages in thread
From: David Christensen @ 2002-03-29  7:03 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Modular Frustration w/2.4.18!
  2002-03-29  7:03 Modular Frustration w/2.4.18! David Christensen
@ 2002-03-29  9:08 ` Keith Owens
  2002-04-01 16:56 ` Andrey Klochko
  1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2002-03-29  9:08 UTC (permalink / raw)
  To: David Christensen; +Cc: linux-kernel

On Thu, 28 Mar 2002 23:03:36 -0800, 
"David Christensen" <davidc@connect4less.com> wrote:
>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 http://www.tux.org/lkml/#s8-8.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Modular Frustration w/2.4.18!
  2002-03-29  7:03 Modular Frustration w/2.4.18! David Christensen
  2002-03-29  9:08 ` Keith Owens
@ 2002-04-01 16:56 ` Andrey Klochko
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Klochko @ 2002-04-01 16:56 UTC (permalink / raw)
  To: David Christensen; +Cc: linux-kernel

Try to do "make dep" and then "make bzImage modules"

Andrey

David Christensen wrote:

> 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

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-01 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-29  7:03 Modular Frustration w/2.4.18! David Christensen
2002-03-29  9:08 ` Keith Owens
2002-04-01 16:56 ` Andrey Klochko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®