Date: Tue, 20 Mar 2001 19:00:19 -0800 From: "Thomas Foster" <mr_foster@hotmail.com> To: <freebsd-questions@freebsd.org> Subject: make failure Message-ID: <LAW2-OE43JrNKBqujsc0000184f@hotmail.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_00B7_01C0B170.024F0340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I always hate bugging anyone when trying to diagnose a problem.. even is = your guide recommends emailing you on make issues Im having a make issue as follows: cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual = -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include = -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=3D2 = ../../kern/vfs_bio.c ../../kern/vfs_bio.c: In function `bawrite': ../../kern/vfs_bio.c:914: warning: passing arg 1 of `VOP_BWRITE' from = incompatible pointer type ../../kern/vfs_bio.c:914: too many arguments to function `VOP_BWRITE' ../../kern/vfs_bio.c: In function `bowrite': ../../kern/vfs_bio.c:929: warning: passing arg 1 of `VOP_BWRITE' from = incompatible pointer type ../../kern/vfs_bio.c:929: too many arguments to function `VOP_BWRITE' ../../kern/vfs_bio.c: In function `vfs_bio_awrite': ../../kern/vfs_bio.c:1462: warning: passing arg 1 of `VOP_BWRITE' from = incompatible pointer type ../../kern/vfs_bio.c:1462: too many arguments to function `VOP_BWRITE' ../../kern/vfs_bio.c: In function `getblk': ../../kern/vfs_bio.c:2140: warning: passing arg 1 of `VOP_BWRITE' from = incompatible pointer type ../../kern/vfs_bio.c:2140: too many arguments to function `VOP_BWRITE' ../../kern/vfs_bio.c:2148: warning: passing arg 1 of `VOP_BWRITE' from = incompatible pointer type ../../kern/vfs_bio.c:2148: too many arguments to function `VOP_BWRITE' ../../kern/vfs_bio.c:2185: warning: passing arg 1 of `VOP_BWRITE' from = incompatible pointer type ../../kern/vfs_bio.c:2185: too many arguments to function `VOP_BWRITE' *** Error code 1 Stop in /usr/src/sys/compile/io. I double checked my kernel configuration file as follows : # io kernel configuration file machine i386 cpu I586_CPU ident io maxusers 32 #makeoptions DEBUG=3D-g #Build kernel with gdb(1) = debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep = this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 = required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP = THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time = extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # PCI Ethernet NICs. device fxp # Intel EtherExpress PRO/100B (82557, = 82558) # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device ppp 1 # Kernel PPP pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter Any recommendations? Thomas Foster mr_foster@hotmail.com ------=_NextPart_000_00B7_01C0B170.024F0340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I always hate bugging anyone when = trying to=20 diagnose a problem.. even is your guide recommends emailing you on make=20 issues</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Im having a make issue as = follows:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>cc -c -O -Wall -Wredundant-decls = -Wnested-externs=20 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline=20 -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. = -I../..=20 -I../../../include -D_KERNEL -include opt_global.h -elf =20 -mpreferred-stack-boundary=3D2 = ../../kern/vfs_bio.c<BR>../../kern/vfs_bio.c:=20 In function `bawrite':<BR>../../kern/vfs_bio.c:914: warning: passing arg = 1 of=20 `VOP_BWRITE' from incompatible pointer type<BR>../../kern/vfs_bio.c:914: = too=20 many arguments to function `VOP_BWRITE'<BR>../../kern/vfs_bio.c: In = function=20 `bowrite':<BR>../../kern/vfs_bio.c:929: warning: passing arg 1 of = `VOP_BWRITE'=20 from incompatible pointer type<BR>../../kern/vfs_bio.c:929: too many = arguments=20 to function `VOP_BWRITE'<BR>../../kern/vfs_bio.c: In function=20 `vfs_bio_awrite':<BR>../../kern/vfs_bio.c:1462: warning: passing arg 1 = of=20 `VOP_BWRITE' from incompatible pointer = type<BR>../../kern/vfs_bio.c:1462: too=20 many arguments to function `VOP_BWRITE'<BR>../../kern/vfs_bio.c: In = function=20 `getblk':<BR>../../kern/vfs_bio.c:2140: warning: passing arg 1 of = `VOP_BWRITE'=20 from incompatible pointer type<BR>../../kern/vfs_bio.c:2140: too many = arguments=20 to function `VOP_BWRITE'<BR>../../kern/vfs_bio.c:2148: warning: passing = arg 1 of=20 `VOP_BWRITE' from incompatible pointer = type<BR>../../kern/vfs_bio.c:2148: too=20 many arguments to function `VOP_BWRITE'<BR>../../kern/vfs_bio.c:2185: = warning:=20 passing arg 1 of `VOP_BWRITE' from incompatible pointer=20 type<BR>../../kern/vfs_bio.c:2185: too many arguments to function=20 `VOP_BWRITE'<BR>*** Error code 1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Stop in = /usr/src/sys/compile/io.<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I double checked my kernel = configuration file as=20 follows :</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2># io kernel configuration = file</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial=20 size=3D2>machine =20 i386<BR>cpu &n= bsp; =20 I586_CPU<BR>ident &n= bsp;=20 io<BR>maxusers 32</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>#makeoptions =20 DEBUG=3D-g &nb= sp; =20 #Build kernel with gdb(1) debug symbols</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial=20 size=3D2>options =20 INET &nb= sp; =20 #InterNETworking<BR>options &nbs= p;=20 FFS &nbs= p; =20 #Berkeley Fast=20 Filesystem<BR>options =20 FFS_ROOT  = ; =20 #FFS usable as root device [keep=20 this!]<BR>options =20 SOFTUPDATES &n= bsp; =20 #Enable FFS soft updates=20 support<BR>options =20 MFS &nbs= p; =20 #Memory = Filesystem<BR>options =20 MD_ROOT = =20 #MD is a potential root=20 device<BR>options =20 CD9660 &= nbsp; =20 #ISO 9660 = Filesystem<BR>options =20 CD9660_ROOT &n= bsp; =20 #CD-ROM usable as root, CD9660=20 required<BR>options =20 PROCFS &= nbsp; =20 #Process = filesystem<BR>options =20 COMPAT_43 &nbs= p; =20 #Compatible with BSD 4.3 [KEEP=20 THIS!]<BR>options =20 UCONSOLE  = ; =20 #Allow users to grab the=20 console<BR>options =20 USERCONFIG &nb= sp; =20 #boot -c = editor<BR>options =20 VISUAL_USERCONFIG #visual boot -c=20 editor<BR>options =20 KTRACE &= nbsp; =20 #ktrace(1) = support<BR>options =20 SYSVSHM = =20 #SYSV-style shared=20 memory<BR>options =20 SYSVMSG = =20 #SYSV-style message=20 queues<BR>options =20 SYSVSEM = =20 #SYSV-style=20 semaphores<BR>options =20 P1003_1B  = ; =20 #Posix P1003_1B real-time=20 extensions<BR>options =20 _KPOSIX_PRIORITY_SCHEDULING<BR>options  = ; =20 ICMP_BANDLIM &= nbsp;=20 #Rate limit bad=20 replies<BR>options =20 KBD_INSTALL_CDEV # install a = CDEV=20 entry in /dev</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial=20 size=3D2>device =20 isa<BR>device =20 pci</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># Floppy=20 drives<BR>device =20 fdc0 at isa? port IO_FD1 irq 6 drq=20 2<BR>device =20 fd0 at fdc0 drive 0</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># ATA and ATAPI=20 devices<BR>device =20 ata0 at isa? port IO_WD1 irq=20 14<BR>device =20 ata1 at isa? port IO_WD2 irq=20 15<BR>device =20 ata<BR>device =20 atadisk = =20 # ATA disk=20 drives<BR>device =20 atapicd = =20 # ATAPI CDROM=20 drives<BR>device =20 atapifd = =20 # ATAPI floppy = drives<BR>options =20 ATA_STATIC_ID = =20 #Static device = numbering<BR>#options =20 ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI = devices</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># atkbdc0 controls both the keyboard = and the PS/2=20 mouse<BR>device = atkbdc0 at=20 isa? port = IO_KBD<BR>device =20 atkbd0 at atkbdc? irq 1 flags=20 0x1<BR>device =20 vga0 at isa?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># splash screen/screen=20 saver<BR>pseudo-device splash</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># syscons is the default console = driver, resembling=20 an SCO = console<BR>device =20 sc0 at isa? flags 0x100</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># Floating point support - do not=20 disable.<BR>device = npx0 at nexus? port IO_NPX irq 13</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># Serial (COM)=20 ports<BR>device =20 sio0 at isa? port IO_COM1 flags 0x10 irq=20 4<BR>device =20 sio1 at isa? port IO_COM2 irq=20 3<BR>device =20 sio2 at isa? disable port IO_COM3 irq=20 5<BR>device =20 sio3 at isa? disable port IO_COM4 irq 9</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># PCI Ethernet=20 NICs.<BR>device =20 fxp &nbs= p; #=20 Intel EtherExpress PRO/100B (82557, 82558)</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># Pseudo devices - the number indicates = how many=20 units to allocate.<BR>pseudo-device =20 loop # = Network=20 loopback<BR>pseudo-device =20 ether # = Ethernet=20 support<BR>pseudo-device ppp =20 1 # Kernel = PPP<BR>pseudo-device =20 pty &nbs= p; #=20 Pseudo-ttys (telnet etc)<BR>pseudo-device =20 md  = ; =20 # Memory "disks"</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2># The `bpf' pseudo-device enables the = Berkeley=20 Packet Filter.<BR># Be aware of the administrative consequences of = enabling=20 this!<BR>pseudo-device =20 bpf &nbs= p;=20 #Berkeley packet filter<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Any recommendations?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thomas Foster</FONT></DIV> <DIV><FONT face=3DArial size=3D2><A=20 href=3D"mailto:mr_foster@hotmail.com">mr_foster@hotmail.com</A></FONT></D= IV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML> ------=_NextPart_000_00B7_01C0B170.024F0340-- 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?LAW2-OE43JrNKBqujsc0000184f>