twa module - make kernel (modules) failure RELENG_5 i386

Vinod Kashyap vkashyap at amcc.com
Mon Jan 17 15:32:42 PST 2005


Make sure you have the updated /sys/dev/twa/twa_reg.h.
The struct twa_command_header has the field err_desc
defined in it.


> -----Original Message-----
> From: owner-freebsd-stable at freebsd.org
> [mailto:owner-freebsd-stable at freebsd.org]On Behalf Of boris karlov
> Sent: Sunday, January 16, 2005 11:03 PM
> To: stable at freebsd.org
> Subject: twa module - make kernel (modules) failure RELENG_5 i386
> 
> 
> Hello All,
> I have make kernel failure during compiling twa module (see below).
> cvsupped RELENG_5 Fri Jan 14.
> have no any twa devices in the system.
> (please Cc: me in reply - not subscribed to stable@)
> thanks.
> 
> ===> twa
> cc -O -pipe -march=pentium2 -D_KERNEL -DKLD_MODULE -nostdinc 
> -I-   -include
> /usr/obj/usr/src/sys/xy.blank.spb.ru/opt_global.h -I. -I@ 
> -I@/contrib/altq
> -I@/../include -finline-limit=8000 -fno-common
> -I/usr/obj/usr/src/sys/xy.blank.spb.ru -mno-align-long-strings
> -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
> -Wpointer-arith
> -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
> /usr/src/sys/modules/twa/../../dev/twa/twa_freebsd.c
> cc -O -pipe -march=pentium2 -D_KERNEL -DKLD_MODULE -nostdinc 
> -I-   -include
> /usr/obj/usr/src/sys/xy.blank.spb.ru/opt_global.h -I. -I@ 
> -I@/contrib/altq
> -I@/../include -finline-limit=8000 -fno-common
> -I/usr/obj/usr/src/sys/xy.blank.spb.ru -mno-align-long-strings
> -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
> -Wpointer-arith
> -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
> /usr/src/sys/modules/twa/../../dev/twa/twa_cam.c
> /usr/src/sys/modules/twa/../../dev/twa/twa_cam.c: In function
> `twa_scsi_complete':
> /usr/src/sys/modules/twa/../../dev/twa/twa_cam.c:630: error: 
> structure has
> no member named `err_desc'
> /usr/src/sys/modules/twa/../../dev/twa/twa_cam.c:630: error: 
> structure has
> no member named `err_desc'
> /usr/src/sys/modules/twa/../../dev/twa/twa_cam.c:636: error: 
> structure has
> no member named `err_desc'
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/twa.
> *** Error code 1
> 
> 
> /etc/make.conf:
> CPUTYPE=p2
> NO_CVS=true
> NO_BIND=true
> NO_BLUETOOTH=true
> NO_FORTRAN=true
> NO_GDB=true
> NO_I4B=true
> NO_IPFILTER=true
> NO_PF=true
> NO_AUTHPF=true
> NO_KERBEROS=true
> NO_NIS=true
> NO_TCSH=true
> NO_USB=true
> NO_VINUM=true
> NOATM=true
> NOGAMES=true
> NOINET6=true
> NOINFO=true
> NOPROFILE=true
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to 
> "freebsd-stable-unsubscribe at freebsd.org"
> 




More information about the freebsd-stable mailing list