Duplicate symbols in -ac JFFS2
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?
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
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 functiondeflateInit_':
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.