Date: Sun, 6 Jan 2002 10:28:59 -0500 From: parv <parv_@yahoo.com> To: f-stable <freebsd-stable@freebsd.org> Subject: building kernel problem w/ linux_proto.h Message-ID: <20020106152858.GA12180@moo.holy.cow>
next in thread | raw e-mail | index | archive | help
hi, i cvsup'd old sources (4-stable oct 13 2001) to current (4-stable 2002.01.05.15.45.19). at this point i am stuck at errors w/ linux_proto.h -- which had been reported at least since nov. 2001 to this month. first i ran make cleandir in /usr/src, removed /usr/obj/*, and tried to build kernel. after first snag, i searched the internet which indicated to read src/UPDATING. well, first i did "make modules-clean" in src/sys/compile/$KERNCONF as i do not have MODULES_WITH_WORLD=yes in /etc/make.conf. after that when i tried again, it failed. so i tried again after running "make cleandir" in src/sys/modules/linux w/o any success. at this point would above two steps help if i revert to earlier sources, and then back to current -stable? any other pointers? error message while building kernel.... ... cc -O -pipe -march=pentiumpro -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -g -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /source/src-stable/sys/modules/linux/../../compat/linux/linux_sysctl.c cc -O -pipe -march=pentiumpro -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -g -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c linux_sysent.c In file included from linux_sysent.c:14: linux_proto.h:57: syntax error before `linux_time_t' linux_proto.h:57: `linux_time_t' undeclared here (not in a function) linux_proto.h:57: syntax error before `)' linux_proto.h:57: `linux_time_t' undeclared here (not in a function) linux_proto.h:57: syntax error before `)' linux_proto.h:156: syntax error before `linux_handler_t' linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) linux_proto.h:184: syntax error before `linux_dev_t' linux_proto.h:184: `linux_dev_t' undeclared here (not in a function) linux_proto.h:184: `linux_dev_t' undeclared here (not in a function) linux_proto.h:189: syntax error before `linux_osigaction_t' linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a function) linux_proto.h:189: syntax error before `)' linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a function) linux_proto.h:189: syntax error before `)' linux_proto.h:190: syntax error before `linux_osigaction_t' linux_proto.h:190: `linux_osigaction_t' undeclared here (not in a function) linux_proto.h:190: syntax error before `)' linux_proto.h:190: `linux_osigaction_t' undeclared here (not in a function) linux_proto.h:190: syntax error before `)' linux_proto.h:196: syntax error before `linux_osigset_t' linux_proto.h:196: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:196: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:200: syntax error before `linux_osigset_t' linux_proto.h:200: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:200: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:201: syntax error before `linux_osigset_t' linux_proto.h:201: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:201: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:204: syntax error before `linux_osigset_t' linux_proto.h:204: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:204: syntax error before `)' linux_proto.h:204: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:204: syntax error before `)' linux_proto.h:216: syntax error before `linux_gid_t' linux_proto.h:216: `linux_gid_t' undeclared here (not in a function) linux_proto.h:216: syntax error before `)' linux_proto.h:216: `linux_gid_t' undeclared here (not in a function) linux_proto.h:216: syntax error before `)' linux_proto.h:220: syntax error before `linux_gid_t' linux_proto.h:220: `linux_gid_t' undeclared here (not in a function) linux_proto.h:220: syntax error before `)' linux_proto.h:220: `linux_gid_t' undeclared here (not in a function) linux_proto.h:220: syntax error before `)' linux_proto.h:344: syntax error before `linux_osigset_t' linux_proto.h:344: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:344: syntax error before `)' linux_proto.h:344: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:344: syntax error before `)' linux_proto.h:345: syntax error before `linux_osigset_t' linux_proto.h:345: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:345: syntax error before `)' linux_proto.h:345: `linux_osigset_t' undeclared here (not in a function) linux_proto.h:345: syntax error before `)' linux_proto.h:380: syntax error before `linux_uid_t' linux_proto.h:380: `linux_uid_t' undeclared here (not in a function) linux_proto.h:380: `linux_uid_t' undeclared here (not in a function) linux_proto.h:383: syntax error before `linux_gid_t' linux_proto.h:383: `linux_gid_t' undeclared here (not in a function) linux_proto.h:383: `linux_gid_t' undeclared here (not in a function) linux_proto.h:410: syntax error before `linux_pid_t' linux_proto.h:410: `linux_pid_t' undeclared here (not in a function) linux_proto.h:410: `linux_pid_t' undeclared here (not in a function) linux_proto.h:439: syntax error before `linux_uid_t' linux_proto.h:439: `linux_uid_t' undeclared here (not in a function) linux_proto.h:439: syntax error before `)' linux_proto.h:439: `linux_uid_t' undeclared here (not in a function) linux_proto.h:439: syntax error before `)' linux_proto.h:440: syntax error before `linux_uid_t' linux_proto.h:440: `linux_uid_t' undeclared here (not in a function) linux_proto.h:440: syntax error before `)' linux_proto.h:440: `linux_uid_t' undeclared here (not in a function) linux_proto.h:440: syntax error before `)' linux_proto.h:441: syntax error before `linux_uid_t' linux_proto.h:441: `linux_uid_t' undeclared here (not in a function) linux_proto.h:441: syntax error before `)' linux_proto.h:441: `linux_uid_t' undeclared here (not in a function) linux_proto.h:441: syntax error before `)' linux_proto.h:453: syntax error before `linux_gid_t' linux_proto.h:453: `linux_gid_t' undeclared here (not in a function) linux_proto.h:453: syntax error before `)' linux_proto.h:453: `linux_gid_t' undeclared here (not in a function) linux_proto.h:453: syntax error before `)' linux_proto.h:454: syntax error before `linux_gid_t' linux_proto.h:454: `linux_gid_t' undeclared here (not in a function) linux_proto.h:454: syntax error before `)' linux_proto.h:454: `linux_gid_t' undeclared here (not in a function) linux_proto.h:454: syntax error before `)' linux_proto.h:455: syntax error before `linux_gid_t' linux_proto.h:455: `linux_gid_t' undeclared here (not in a function) linux_proto.h:455: syntax error before `)' linux_proto.h:455: `linux_gid_t' undeclared here (not in a function) linux_proto.h:455: syntax error before `)' linux_proto.h:465: syntax error before `linux_sigaction_t' linux_proto.h:465: `linux_sigaction_t' undeclared here (not in a function) linux_proto.h:465: syntax error before `)' linux_proto.h:465: `linux_sigaction_t' undeclared here (not in a function) linux_proto.h:465: syntax error before `)' linux_proto.h:466: syntax error before `linux_sigaction_t' linux_proto.h:466: `linux_sigaction_t' undeclared here (not in a function) linux_proto.h:466: syntax error before `)' linux_proto.h:466: `linux_sigaction_t' undeclared here (not in a function) linux_proto.h:466: syntax error before `)' linux_proto.h:471: syntax error before `linux_sigset_t' linux_proto.h:471: `linux_sigset_t' undeclared here (not in a function) linux_proto.h:471: syntax error before `)' linux_proto.h:471: `linux_sigset_t' undeclared here (not in a function) linux_proto.h:471: syntax error before `)' linux_proto.h:472: syntax error before `linux_sigset_t' linux_proto.h:472: `linux_sigset_t' undeclared here (not in a function) linux_proto.h:472: syntax error before `)' linux_proto.h:472: `linux_sigset_t' undeclared here (not in a function) linux_proto.h:472: syntax error before `)' linux_proto.h:485: syntax error before `linux_sigset_t' linux_proto.h:485: `linux_sigset_t' undeclared here (not in a function) linux_proto.h:485: syntax error before `)' linux_proto.h:485: `linux_sigset_t' undeclared here (not in a function) linux_proto.h:485: syntax error before `)' linux_proto.h:516: syntax error before `*' linux_proto.h:516: syntax error before `linux_stack_t' linux_proto.h:516: syntax error before `linux_stack_t' linux_proto.h:517: syntax error before `linux_stack_t' linux_proto.h:517: `linux_stack_t' undeclared here (not in a function) linux_proto.h:517: syntax error before `)' linux_proto.h:517: `linux_stack_t' undeclared here (not in a function) linux_proto.h:517: syntax error before `)' linux_sysent.c:21: sizeof applied to an incomplete type linux_sysent.c:21: warning: built-in function `exit' used without declaration linux_sysent.c:21: warning: cast discards qualifiers from pointer target type *** Error code 1 Stop in /source/src-stable/sys/modules/linux. *** Error code 1 ... kernel config... machine i386 cpu I686_CPU ident BOVINE maxusers 128 options MAXMEM="(192*1024)" options SOFTUPDATES #Enable FFS soft updates support options USER_LDT #makeoptions KERNEL="kern.bovine" options INCLUDE_CONFIG_FILE makeoptions DEBUG=-g options KTRACE options DIAGNOSTIC options PANIC_REBOOT_WAIT_TIME=-1 options DDB #options DDB_UNATTENDED #options BREAK_TO_DEBUGGER options SC_DISABLE_DDBKEY options SC_DISABLE_REBOOT # config marks it as unknown option options CLK_USE_I8254_CALIBRATION options CLK_USE_TSC_CALIBRATION options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS_NOSERVER options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options MFS #Memory Filesystem pseudo-device md #Memory "disks" options MD_ROOT #MD is a potential root device options PROCFS #Process filesystem options MSDOSFS #MSDOS Filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_LINUX 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 KBD_INSTALL_CDEV # install a CDEV entry in /dev options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # 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 SCSI_DELAY=15000 #Delay (in ms) before probing SCSI # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # 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 psm0 at atkbdc? irq 12 # audio pseudo-device speaker device pcm # "video" pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device splash device vga0 at isa? options VESA #options VESA_DEBUG # console # device sc0 at isa? flags 0x100 options "MAXCONS"="8" options "SC_HISTORY_SIZE"="1000" options SC_TWOBUTTON_MOUSE options SC_ALT_MOUSE_IMAGE options SC_PIXEL_MODE # colorize console # options SC_NORM_ATTR="(FG_CYAN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_YELLOW|BG_BLUE)" options SC_KERNEL_CONS_ATTR="(FG_YELLOW|BG_RED)" options SC_KERNEL_CONS_REV_ATTR="(FG_GREEN|BG_BLACK)" # misc pseudo-device gzip device npx0 at nexus? port IO_NPX irq 13 # keep it device apm0 at nexus? # instead of panicing, beep on powerfail options POWERFAIL_NMI # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # reset after resume; may need to reset all pccards options PCIC_RESUME_RESET # Serial (COM) ports # sio0/com1 -- 9-pin serial port on dell inspiron 5000e # sio2/com3 is winmodem device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio2 at isa? port IO_COM3 device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device/geek port device vpo # zip drive; Requires scbus and da # ISA Ethernet NICs. device ep # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ums # Mouse device ulpt # Printer device uscanner # Scanners device umass # Disks/Mass storage - Requires scbus and da # computer acts as a IEEE1284 compliant peripheral options PERIPH_1284 # networking pseudo-device loop pseudo-device tun pseudo-device bpf pseudo-device sl 1 pseudo-device ppp 1 pseudo-device ether options INET options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options RANDOM_IP_ID options TCP_DROP_SYNFIN options ICMP_BANDLIM options IPFILTER options IPFILTER_LOG options IPSTEALTH -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020106152858.GA12180>