Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 19:04:03 +0800 (PHT)
From:      "Francis A. Vidal" <francis@linux1.usls.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Could not compile kernel with xl driver
Message-ID:  <Pine.LNX.3.96.980922184142.4866A-100000@atlas.usls.edu>

next in thread | raw e-mail | index | archive | help
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)

---snipped more warning messages---

i got this after running `make'.

---
u s l s N E T   university of st. la salle, bacolod city, philippines
. . . . . . .   PGP key at ftp://ftp.usls.edu/pub/pgpkeys/francis.pgp
francis vidal   tel. nos. (6334).435.2324 / 433.3526



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.LNX.3.96.980922184142.4866A-100000>