Re: latest -CURRENT kernel fails to build

2003-09-18 Thread Lukas Ertl
On Wed, 17 Sep 2003, Vincent Poy wrote:

 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
 -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
 -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
 -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
 -fno-common -finline-limit=15000 -fno-strict-aliasing
 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
 -Werror  vers.c
 linking kernel.debug
 if_ath.o: In function `ath_attach':
 /usr/src/sys/dev/ath/if_ath.c:192: undefined reference to `ath_hal_attach'

Do you have device ath_hal in your kernel config?

regards,
le

-- 
Lukas Ertl eMail: [EMAIL PROTECTED]
UNIX Systemadministrator   Tel.:  (+43 1) 4277-14073
Vienna University Computer Center  Fax.:  (+43 1) 4277-9140
University of Vienna   http://mailbox.univie.ac.at/~le/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: latest -CURRENT kernel fails to build

2003-09-18 Thread Vincent Poy
On Thu, 18 Sep 2003, Lukas Ertl wrote:

 On Wed, 17 Sep 2003, Vincent Poy wrote:

  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
  -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
  -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
  -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
  -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
  -fno-common -finline-limit=15000 -fno-strict-aliasing
  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
  -Werror  vers.c
  linking kernel.debug
  if_ath.o: In function `ath_attach':
  /usr/src/sys/dev/ath/if_ath.c:192: undefined reference to `ath_hal_attach'

 Do you have device ath_hal in your kernel config?

Didn't have that since I couldn't find the ath stuff mentioned in
NOTES or GENERIC.  I only learned about the device ath when I was
searching for FreeBSD Atheros.  Sam gave me the pointers to add the
device ath_hal and it works fine from the FreeBSD side.  I haven't
bought my router yet to see if the link works.


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


latest -CURRENT kernel fails to build

2003-09-17 Thread Vincent Poy
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
-fno-common -finline-limit=15000 -fno-strict-aliasing
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror  /usr/src/sys/dev/pcic/i82365.c
/usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_do_mem_map':
/usr/src/sys/dev/pcic/i82365.c:850: error: structure has no member named
`offset'
/usr/src/sys/dev/pcic/i82365.c:855: error: structure has no member named
`offset'
/usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_mem_map':
/usr/src/sys/dev/pcic/i82365.c:928: error: structure has no member named
`offset'
*** Error code 1

Stop in /usr/obj/usr/src/sys/BIGBANG.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[EMAIL PROTECTED] [10:59pm][/home/vince] 


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: latest -CURRENT kernel fails to build

2003-09-17 Thread M. Warner Losh
pcic and newcard are an unsupported combination.  take pcic out of
your kernel.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: latest -CURRENT kernel fails to build

2003-09-17 Thread Vincent Poy
On Wed, 17 Sep 2003, M. Warner Losh wrote:

 pcic and newcard are an unsupported combination.  take pcic out of
 your kernel.

 Warner

Thanks Warner...  Somehow I had the #device pcic like the generic
kernel but guess I had to force write the kernel config file.  Probably
would be a good idea to remove the pcic line in the GENERIC kernel even
though it's commented out.  Now, the kernel fails to build here which is
related to the ath(4) driver.

cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
-fno-common -finline-limit=15000 -fno-strict-aliasing
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror  vers.c
linking kernel.debug
if_ath.o: In function `ath_attach':
/usr/src/sys/dev/ath/if_ath.c:192: undefined reference to `ath_hal_attach'
if_ath.o: In function `ath_tx_start':
/usr/src/sys/dev/ath/if_ath.c:1873: undefined reference to
`ath_hal_computetxtime'
/usr/src/sys/dev/ath/if_ath.c:1899: undefined reference to
`ath_hal_computetxtime'
/usr/src/sys/dev/ath/if_ath.c:1903: undefined reference to
`ath_hal_computetxtime'
/usr/src/sys/dev/ath/if_ath.c:1906: undefined reference to
`ath_hal_computetxtime'
if_ath.o: In function `ath_getchannels':
/usr/src/sys/dev/ath/if_ath.c:2463: undefined reference to
`ath_hal_init_channels'
/usr/src/sys/dev/ath/if_ath.c:2476: undefined reference to
`ath_hal_mhz2ieee'
if_ath.o: In function `ath_attach':
/usr/src/sys/dev/ath/if_ath.c:186: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:192: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:199: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:215: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:224: undefined reference to
`sysctl__hw_ath_children'
if_ath.o:/usr/src/sys/dev/ath/if_ath.c:231: more undefined references to
`sysctl__hw_ath_children' follow
if_ath_pci.o: In function `ath_pci_probe':
/usr/src/sys/dev/pci/pcivar.h:203: undefined reference to `ath_hal_probe'
*** Error code 1

Stop in /usr/obj/usr/src/sys/BIGBANG.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[EMAIL PROTECTED] [4:18pm][/usr/src] 


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]