Skip to contentSkip to conversation

Duplicate symbols in -ac JFFS2

DISCUSSION Keith Owens 3 participants 3 messages Aug 8, 2001 – Aug 9, 2001

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 3 lines · [email protected] 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

#2 lore raw
In reply to Keith Owens
Quoted 9 lines · In article <[email protected]> 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_'
...

Quoted 3 lines

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.