[tulip] problems compiling

ari gold agold@zebware.com
Mon, 5 Feb 2001 15:53:09 -0500


(i figured i might as well post all replys to this list so that other folks
can get something out of it)

thomas wrote:
>
> gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes \
> -I/usr/src/linux/include -O6 -c pci-scan.c
>
> Will search in /usr/src/linux/include
> for the file linux/modversions.h
>
> What -I<dir> variations did you try?

yeah, ive tried that.  in fact, ive tried that _with_ another -I option
using the directory that i got from a

	find / -name 'modversions.h'

which happened to be /usr/src/kernel-source-2.2.18pre21/include/linux

and i get the same error:

	In file included from pci-scan.c:53:
	/usr/include/linux/module.h:21: linux/modversions.h     No such file or
directory

which is strange.  because the file modversions.h exists in the dirctory
/usr/src/kernel-source-2.2.18pre21/include/linux which i included in the
compile command.. so im stumped.

any ideas?  thanx again ~ari