Re: Portable binary drivers

Christer Weinigel (wingel@cendio.se)
Tue, 7 Dec 1999 16:51:41 +0100


Miquel van Smoorenburg wrote:
>In article <cistron.19991207013506.B14004@hazel>,
>Raul Miller <moth@magenta.com> wrote:
>However, note that we don't have a general way of managing include files
>for the case where the user has more than one kernel version they'll be
>using on the system.
>
>CFLAGS += -I/usr/src/linux-2.4.15ac10/include

Which breaks horribly since /usr/include/net conflicts with
/usr/src/linux-2.4.15ac10/include/net on a RedHat 6.1 box :-(

It isn't much of a problem when building kernel modules, but trying to
build applications which need both the driver-specific include file
(e.g. linux/wancard.h) and generic include files (e.g. net/if_ppp.h)
will break.

/Christer

-- 
Christer Weinigel		Cendio Systems AB
Email:	wingel@cendio.se	Teknikringen 8
Phone:	+46-13-21 46 00		583 30  Linköping
Fax:	+46-13-21 47 00		Sweden
[please note that Signum Support has changed its name to Cendio Systems]

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/