public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Duplicate symbols in -ac JFFS2
@ 2001-08-08 23:24 Keith Owens
  2001-08-09  7:43 ` arjan
  2001-08-09 15:29 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: Keith Owens @ 2001-08-08 23:24 UTC (permalink / raw)
  To: linux-kernel

In 2.4.7-ac9, if both ppp deflate and JFFS2 are built into the kernel,
there are lots of duplicate symbols.

drivers/net/ppp_deflate.o(.data+0x0): multiple definition of `deflate_copyright'
fs/jffs2/jffs2.o(.data+0x20): first defined here
drivers/net/ppp_deflate.o: In function `deflateInit_':
drivers/net/ppp_deflate.o(.text+0x0): multiple definition of `deflateInit_'
...

What happened to the idea of puttting the deflate code in its own
object with exported symbols, instead of duplicating it in each
directory?


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

* Re: Duplicate symbols in -ac JFFS2
  2001-08-08 23:24 Duplicate symbols in -ac JFFS2 Keith Owens
@ 2001-08-09  7:43 ` arjan
  2001-08-09 15:29 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: arjan @ 2001-08-09  7:43 UTC (permalink / raw)
  To: Keith Owens; +Cc: linux-kernel

In article <6361.997313081@ocs3.ocs-net> you wrote:
> In 2.4.7-ac9, if both ppp deflate and JFFS2 are built into the kernel,
> there are lots of duplicate symbols.

> drivers/net/ppp_deflate.o(.data+0x0): multiple definition of `deflate_copyright'
> fs/jffs2/jffs2.o(.data+0x20): first defined here
> drivers/net/ppp_deflate.o: In function `deflateInit_':
> drivers/net/ppp_deflate.o(.text+0x0): multiple definition of `deflateInit_'
> ...

> What happened to the idea of puttting the deflate code in its own
> object with exported symbols, instead of duplicating it in each
> directory?

Well the PPP one is different due to RFC-ishness...
The rest could be merged most likely.

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

* Re: Duplicate symbols in -ac JFFS2
  2001-08-08 23:24 Duplicate symbols in -ac JFFS2 Keith Owens
  2001-08-09  7:43 ` arjan
@ 2001-08-09 15:29 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2001-08-09 15:29 UTC (permalink / raw)
  To: Keith Owens; +Cc: linux-kernel


kaos@ocs.com.au said:
>  What happened to the idea of puttting the deflate code in its own
> object with exported symbols, instead of duplicating it in each
> directory? 

Planned for 2.5.

--
dwmw2



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

end of thread, other threads:[~2001-08-09 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 23:24 Duplicate symbols in -ac JFFS2 Keith Owens
2001-08-09  7:43 ` arjan
2001-08-09 15:29 ` David Woodhouse

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