From nobody@FreeBSD.org  Fri Mar 25 22:49:19 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 05B0B16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Mar 2005 22:49:19 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D6F9E43D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Mar 2005 22:49:18 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2PMnIED011585
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Mar 2005 22:49:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2PMnI7A011584;
	Fri, 25 Mar 2005 22:49:18 GMT
	(envelope-from nobody)
Message-Id: <200503252249.j2PMnI7A011584@www.freebsd.org>
Date: Fri, 25 Mar 2005 22:49:18 GMT
From: arnaud de prelle <arnaud@pnzone.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Errors at the compilation of /usr/src/modules/if_ndis/
X-Send-Pr-Version: www-2.3

>Number:         79240
>Category:       i386
>Synopsis:       Errors at the compilation of /usr/src/modules/if_ndis/
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 25 22:50:02 GMT 2005
>Closed-Date:    Tue Apr 12 00:53:16 GMT 2005
>Last-Modified:  Tue Apr 12 00:53:16 GMT 2005
>Originator:     arnaud de prelle
>Release:        6-CURRENT and 5-STABLE
>Organization:
ulb student
>Environment:
FreeBSD compaq 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Thu Mar 24 15:37:03 CET 2005     apn@compaq:/usr/obj/usr/src/sys/compaq  i386

FreeBSD pnserver.pnzone.net 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1: Fri Mar  4 22:48:10 CET 2005     apn@acer:/usr/src/sys/i386/compile/PNkernel  i386
>Description:
Won't compile if we follow the instructions given in the handbook ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html ). It can't find ndis_driver_data.h.

>How-To-Repeat:
Everytimes we try to compile.
>Fix:
I correct the problem. Here are the diffs files:

# cat if_ndis.c.diff
87c87
< #include "ndis_driver_data.h"
---
> #include <modules/if_ndis/ndis_driver_data.h>

# cat if_ndis_pci.c.diff
65c65
< #include "ndis_driver_data.h"
---
> #include <modules/if_ndis/ndis_driver_data.h>

# cat if_ndis_pccard.c.diff
66c66
< #include "ndis_driver_data.h"
---
> #include <modules/if_ndis/ndis_driver_data.h>

Sincerely yours.

Arnaud de Prelle
>Release-Note:
>Audit-Trail:

From: Matteo Riondato <rionda@gufi.org>
To: bug-followup@freebsd.org
Cc: arnaud@pnzone.net
Subject: Re: i386/79240: Errors at the compilation of /usr/src/modules/if_ndis/
Date: Sat, 2 Apr 2005 12:27:40 +0200

 --z3PcgjD2qOzdkXVS
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 
 Are you still having this issue?
 I didn't manage to reproduce this bug, and I really cannot understand
 why your patch should solve it.
 Can you please send the output of the failing compilation?
 Best Regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --z3PcgjD2qOzdkXVS
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCTnOc2Mp4pR7Fa+wRAm5eAKDXf62IRfrDeXYKTTnOyR3y/3oY9gCfXOsB
 C9Kny8jiA7C+yOkvNJ2yVHY=
 =Z3U6
 -----END PGP SIGNATURE-----
 
 --z3PcgjD2qOzdkXVS--

From: Matteo Riondato <rionda@gufi.org>
To: arnaud@pnzone.net
Cc: bug-followup@freebsd.org
Subject: Re: i386/79240: Errors at the compilation of /usr/src/modules/if_ndis/
Date: Sat, 2 Apr 2005 14:55:13 +0200

 --3cI6DWK3Xt33P8nt
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Apr 02, 2005 at 01:50:53PM +0200, arnaud pn wrote:
 > Matteo Riondato wrote:
 >=20
 > >Are you still having this issue?
 > >I didn't manage to reproduce this bug, and I really cannot understand
 > >why your patch should solve it.
 > >Can you please send the output of the failing compilation?
 > >Best Regards
 > >=20
 > >
 > Yes I still have the same problem.
 >=20
 > root@compaq# ndiscvt -i usr11g.inf -s usr11g.sys -o ndis_driver_data.h
 > root@compaq# make && make install
 > cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE=20
 > -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include=20
 > -finline-limit=3D8000 -fno-common  -mno-align-long-strings=20
 > -mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2=20
 
 Well. Don't know if it does mean anything, but parto of the make
 procedure seems to be missing.
 That's what I get when I compile if_ndis:
 kaiser# make
 Warning: Object directory not changed from original
 /usr/src/sys/modules/if_ndis
 @ -> /usr/src/sys
 machine -> /usr/src/sys/i386/include
 touch opt_bdg.h
 awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
 awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
 awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
 awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h
 awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs
 cc -O -pipe -march=3Dpentium3 -D_KERNEL -DKLD_MODULE -nostdinc -I- -I.  -I@=
  -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=3D8000 -fno-=
 common  -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mn=
 o-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-=
 externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -=
 Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/if_ndis/.=
 ./../dev/if_ndis/if_ndis.c=20
 cc -O -pipe -march=3Dpentium3 -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I.  -=
 I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=3D8000 -fn=
 o-common  -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -=
 mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wneste=
 d-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline=
  -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/if_ndis=
 /../../dev/if_ndis/if_ndis_pci.c
 cc -O -pipe -march=3Dpentium3 -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I.  -=
 I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=3D8000 -fn=
 o-common  -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -=
 mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wneste=
 d-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline=
  -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/if_ndis=
 /../../dev/if_ndis/if_ndis_pccard.c ld  -d -warn-common -r -d -o if_ndis.kl=
 d if_ndis.o if_ndis_pci.o if_ndis_pccard.o
 touch /usr/src/sys/modules/if_ndis/export_syms
 awk -f /usr/src/sys/modules/if_ndis/../../conf/kmod_syms.awk if_ndis.kld  /=
 usr/src/sys/modules/if_ndis/export_syms |  xargs -J%
 objcopy % if_ndis.kld ld -Bshareable  -d -warn-common -o if_ndis.ko if_ndis=
 .kld
 objcopy --strip-debug if_ndis.ko
 
 
 As you see, the first part is missing in your compilation. Can you
 please try a "make clean && make && make install", please?
 Are you sure to have a clean source tree?
 Best regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --3cI6DWK3Xt33P8nt
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCTpYx2Mp4pR7Fa+wRAhncAKCnqMXggBv4/EiMop0wH6Ab0tGYcwCfQvHv
 ZGPcZeMTKi0l2H/04O3uhgk=
 =91Qk
 -----END PGP SIGNATURE-----
 
 --3cI6DWK3Xt33P8nt--

From: Matteo Riondato <rionda@gufi.org>
To: arnaud@pnzone.net
Cc: bug-followup@freebsd.org
Subject: Re: i386/79240: Errors at the compilation of /usr/src/modules/if_ndis/
Date: Sun, 3 Apr 2005 18:59:25 +0200

 --iamKNtDj9HjMhSdE
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sun, Apr 03, 2005 at 06:09:47PM +0200, arnaud de prelle wrote:
 > Matteo Riondato wrote:
 >=20
 > After that, I entirely delete /usr/src then re-cvsup and it is always=20
 > the same thing.
 
 Well, I'm sorry, but I don't know what else to say.
 You can try to contact Bill Paul, which is the NDIS mantainer.
 His address is wpaul AT freebsd DOT org.
 Best Regards and good luck
 
 --
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --iamKNtDj9HjMhSdE
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCUCDt2Mp4pR7Fa+wRAvknAKCkW7jK1eM9SynqU4gD78wQlJkjwwCfe86x
 o2twJgeNGbRQu6usd8c5b2Q=
 =hC/2
 -----END PGP SIGNATURE-----
 
 --iamKNtDj9HjMhSdE--

From: Matteo Riondato <rionda@gufi.org>
To: arnaud de prelle <arnaud@pnzone.net>
Cc: bug-followup@freebsd.org
Subject: Re: i386/79240: Errors at the compilation of /usr/src/modules/if_ndis/
Date: Sun, 3 Apr 2005 19:17:20 +0200

 --Jz4B0QKJ3xxfGEtb
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sun, Apr 03, 2005 at 07:07:34PM +0200, arnaud de prelle wrote:
 >=20
 > PS: It's not a very critical probem and my patch is well running for my=
 =20
 > particular case so I think it is not really necessary to contact Bill Pau=
 l.
 
 Please ask freebsd-bugs@freebsd.org to close this PR then.
 Best Regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --Jz4B0QKJ3xxfGEtb
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD4DBQFCUCUf2Mp4pR7Fa+wRAviVAJjLOlqEgUfduwtYe1usl44/mFJwAKCDxl88
 XAyAdxEZPCPaQ/k+io4EWg==
 =WS6B
 -----END PGP SIGNATURE-----
 
 --Jz4B0QKJ3xxfGEtb--
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Apr 12 00:51:26 GMT 2005 
State-Changed-Why:  
No one else is able to duplicate this problem. 

In any case, you should report kernel compile failures on the appropriate 
mailing list, in this case, freebsd-stable.  Build failures tend to get 
fixed very quickly due to the high number of developers who track the 
latest code, and the automated tinderboxes that continually run builds. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79240 
>Unformatted:
