Date: Tue, 22 Sep 1998 13:37:36 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: "Francis A. Vidal" <francis@linux1.usls.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Could not compile kernel with xl driver Message-ID: <Pine.BSF.4.03.9809221337100.29981-100000@resnet.uoregon.edu> In-Reply-To: <Pine.LNX.3.96.980922184142.4866A-100000@atlas.usls.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Sep 1998, Francis A. Vidal wrote: > hello everyone, > > i'm trying to make my 3com 905b-tx card work with my fbsd 2.2.5 server. i > followed instructions from http://www.freebsd.org/~wpaul/3Com : downloaded > files for 2.2 releases, copied it to /sys/pci, edited /sys/conf/files and > added the necessary line, added `device xl0' to my configuration file, did > `config <config_file>', and made `make depend' in > /usr/src/sys/compile/<config_name>. > > the problem is, when i do `make depend', it complains about `...recursion > too deep' in /sys/pci/if_xlreg.h . i checked if_xlreg.h and there's a > portion that calls itself again `#include <pci/if_xlreg.h>' so i commented > it out. now, `make depend' runs okay and i have a new problem: > > In file included from ../../pci/if_xl.c:155: > ../../pci/if_xlreg.h:165: elements of array `xl_devs' have incomplete type > ../../pci/if_xlreg.h:166: `TC_VENDORID' undeclared here (not in a function) > ../../pci/if_xlreg.h:166: warning: excess elements in struct initializer after `xl_devs[0]' > ../../pci/if_xlreg.h:166: `TC_DEVICEID_BOOMERANG_10BT' undeclared here (not in a function) You commented out the wrong #include. Put it back and remove the one from /sys/pci/if_xlreg.h. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9809221337100.29981-100000>