public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.15-pre6 compile errors
@ 2001-11-20 13:01 Arnd Bergmann
  2001-11-20 14:05 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2001-11-20 13:01 UTC (permalink / raw)
  To: linux-kernel

I have tried to compile a few useless configurations (on i686, gcc-2.96) of 
the latest kernel and so far found three cases where a valid configuration 
fails to compile:

CONFIG_PPP_DEFLATE && (CONFIG_CRAMFS || CONFIG_ZISOFS):
Symbol clashes from two zlib copies (again...). I suppose the symbols in 
drivers/net/zlib.c could all be made static unless a merge of both zlib 
copies is already planned.

!CONFIG_INET:
Some files in net/core/ are compiled unconditionally, but depend on TCP/IP 
(CONFIG_INET).  The problem is that TCP_ENC_send in include/net/tcp_ecn.h
accesses the disabled 'af_inet' part of struct sock. A simple #ifdef at the 
right place should solve this.

CONFIG_MULTIQUAD && CONFIG_DEBUG_IOVIRT:
arch/i386/boot/compressed/misc.o can't resolve __io_virt_debug (from outb_p) 
when linking bzImage. This configuration is really useless and fixing this 
would be rather ugly, so I suggest explicitly forbidding it to help the next 
fool to try 'yes | make config'.

Arnd <><

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

* Re: 2.4.15-pre6 compile errors
  2001-11-20 13:01 2.4.15-pre6 compile errors Arnd Bergmann
@ 2001-11-20 14:05 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-11-20 14:05 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-kernel


arnd@bergmann-dalldorf.de said:
>  CONFIG_PPP_DEFLATE && (CONFIG_CRAMFS || CONFIG_ZISOFS): Symbol
> clashes from two zlib copies (again...). I suppose the symbols in
> drivers/net/zlib.c could all be made static unless a merge of both
> zlib  copies is already planned. 

JFFS2 will conflict too. JFFS2 and PPP can't use the separate zlib at the
moment, because they require compression support and it only does
decompression. PPP may even have trouble when that's fixed, although I think
we eventually concluded it would be OK.

JFFS2 and PPP can share though. 

--
dwmw2



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

end of thread, other threads:[~2001-11-20 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-20 13:01 2.4.15-pre6 compile errors Arnd Bergmann
2001-11-20 14:05 ` David Woodhouse

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