I've been getting an error building 5-stable on an i386 P4 notebook. I'm using an ndis_driver_data.h file that I successfully used on 5.3-RELEASE, and even 5-CURRENT before the 5.3 release. I tried rebuilding the file with ndiscvt. The file came out the same as my original, but I still had the build error. Here's the error (this failure is after the make depend... during the make): linking kernel if_ndis_pccard.o(.text+0xc): In function `ndis_probe_pccard': : undefined reference to `drv_data' if_ndis_pci.o(.text+0x14): In function `ndis_probe_pci': : undefined reference to `drv_data' *** Error code 1 Stop in /usr/src/sys/i386/compile/HP09. This card worked fine with 5.3-RELEASE. It's a Broadcom 54G wireless NIC on an HP zd7140us notebook. Any thoughts? Regards, Nicholas
On Thu, 3 Mar 2005 15:45, Nicholas Basila wrote:> I've been getting an error building 5-stable on an i386 P4 notebook. I'm > using an ndis_driver_data.h file that I successfully used on > 5.3-RELEASE, and even 5-CURRENT before the 5.3 release. I tried > rebuilding the file with ndiscvt. The file came out the same as my > original, but I still had the build error. Here's the error (this > failure is after the make depend... during the make):How did you run ndiscvt? Where did you get the driver from? etc.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050303/b6b2f887/attachment-0001.bin
Daniel O'Connor wrote:>On Thu, 3 Mar 2005 15:45, Nicholas Basila wrote: > > >>I've been getting an error building 5-stable on an i386 P4 notebook. I'm >>using an ndis_driver_data.h file that I successfully used on >>5.3-RELEASE, and even 5-CURRENT before the 5.3 release. I tried >>rebuilding the file with ndiscvt. The file came out the same as my >>original, but I still had the build error. Here's the error (this >>failure is after the make depend... during the make): >> >> > >How did you run ndiscvt? Where did you get the driver from? >etc.. > > >Well, I've been using the official HP driver. I ran the utility like so: ndiscvt -i name_of_nt_driver.inf -s name_of_nt_driver.sys -o /tmp/ndis_driver_data.h I then copied it to the compile directory of my kernel. Make depend runs correctly, but it crashes out during the linking phase of make. I have these options at the bottom of my kernel config: options NDISAPI device ndis device wlan As I said, this worked perfectly with 5.3 and even 5-current before the 5.3 release. I tried building the stable version of ndiscvt, and that didn't produce a different header file. I did a cvsup two days ago, got the error, and did a new cvsup tonight.
On 3 Mar, Nicholas Basila wrote:> I've been getting an error building 5-stable on an i386 P4 notebook. I'm > using an ndis_driver_data.h file that I successfully used on > 5.3-RELEASE, and even 5-CURRENT before the 5.3 release. I tried > rebuilding the file with ndiscvt. The file came out the same as my > original, but I still had the build error. Here's the error (this > failure is after the make depend... during the make): > > linking kernel > if_ndis_pccard.o(.text+0xc): In function `ndis_probe_pccard': > : undefined reference to `drv_data' > if_ndis_pci.o(.text+0x14): In function `ndis_probe_pci': > : undefined reference to `drv_data' > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/HP09. > > > This card worked fine with 5.3-RELEASE. It's a Broadcom 54G wireless NIC > on an HP zd7140us notebook. Any thoughts?I had exactly this problem when my ndis_driver_data.h was built with a previous version of ndiscvt. You may have to update your world too. Hope that helps! Phil.