[vortex] Problems compiling 3c59x-55x-2217.c

David W. Waddell waddell@nutecservices.com
Fri, 29 Sep 2000 13:03:39 -0500


That's correct , adding the  -I/usr/src/linux/include fixed the problem. Maybe it
should be added to the README. I also thought the kernels automatically linked the
/usr/include/... back to the source tree. I was using the Mandrake 7.1 distribution.

Thanks to Fred Maciel for the pointer, Dave.

As an aside - is it OK to replace the 3c59x.{o,c} with the 3c59x-55x-2217.{o,c} and
just do a make modules_install instead of the procedure outlined in the README
(trying to simplify the procedure for a non-techie at a remote site)?

Donald Becker wrote:

> On Fri, 29 Sep 2000, David W. Waddell wrote:
>
> > Subject: Re: [vortex] Problems compiling 3c59x-55x-2217.c
> >
> > Adding  -I/usr/src/linux/include fixed the problem. The command now looks like:
>
> Please confirm:
>   Adding   -I/usr/src/linux/include   to the compile line allows the driver
>   update set to compile without errors on the new Red Hat 7.0 release.
>
>   Without this update the compiler uses the include files in
>   /usr/include/linux, which are incorrect for most kernnels.
>
> [[ OK, they changed from an include file tree that was usually correct, to
> one that is almost always broken.  The previous scheme wasn't perfect, but
> it worked and was standard practice.  I did support cleaning up
> /usr/include/linux, but what happened was "I want your stuff out so
> that I can get my bloat in". ]]
>
> Donald Becker                           becker@scyld.com
> Scyld Computing Corporation             http://www.scyld.com
> 410 Severn Ave. Suite 210               Generation Two Beowulf Clusters
> Annapolis MD 21403
>
> _______________________________________________
> vortex mailing list
> vortex@scyld.com
> http://www.scyld.com/mailman/listinfo/vortex