Date: Sun, 08 Oct 2000 22:56:42 -0700 From: Doug Barton <DougB@gorean.org> To: phk@freebsd.org, current@freebsd.org Subject: src/sys/dev/syscons/scvesactl.c broken Message-ID: <39E15E1A.BC21F4AF@gorean.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Version 1.16 of src/sys/dev/syscons/scvesactl.c, removing
<machine/console.h> broke the kernel build for me. Attached is the
relevant log, and my kernel file.
Doug
--
"The dead cannot be seduced."
- Kai, "Lexx"
Do YOU Yahoo!?
[-- Attachment #2 --]
cc -c -O -march=pentiumpro -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../dev/syscons/scvesactl.c
In file included from ../../dev/syscons/scvesactl.c:41:
../../dev/fb/fbreg.h:57: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:57: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:58: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:58: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:59: syntax error before `*'
../../dev/fb/fbreg.h:59: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:60: syntax error before `*'
../../dev/fb/fbreg.h:60: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:61: syntax error before `*'
../../dev/fb/fbreg.h:61: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:62: syntax error before `*'
../../dev/fb/fbreg.h:63: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:64: syntax error before `*'
../../dev/fb/fbreg.h:65: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:66: syntax error before `*'
../../dev/fb/fbreg.h:66: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:67: syntax error before `*'
../../dev/fb/fbreg.h:67: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:68: syntax error before `*'
../../dev/fb/fbreg.h:68: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:69: syntax error before `*'
../../dev/fb/fbreg.h:69: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:70: syntax error before `*'
../../dev/fb/fbreg.h:70: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:71: syntax error before `*'
../../dev/fb/fbreg.h:71: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:72: syntax error before `*'
../../dev/fb/fbreg.h:72: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:73: syntax error before `*'
../../dev/fb/fbreg.h:73: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:74: syntax error before `*'
../../dev/fb/fbreg.h:74: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:75: syntax error before `*'
../../dev/fb/fbreg.h:76: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:77: syntax error before `*'
../../dev/fb/fbreg.h:77: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:82: syntax error before `*'
../../dev/fb/fbreg.h:82: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:83: syntax error before `*'
../../dev/fb/fbreg.h:83: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:84: syntax error before `*'
../../dev/fb/fbreg.h:84: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:85: syntax error before `*'
../../dev/fb/fbreg.h:86: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:87: syntax error before `*'
../../dev/fb/fbreg.h:87: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:88: syntax error before `*'
../../dev/fb/fbreg.h:88: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:154: syntax error before `*'
../../dev/fb/fbreg.h:154: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:155: syntax error before `*'
../../dev/fb/fbreg.h:155: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:157: syntax error before `*'
../../dev/fb/fbreg.h:158: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:162: syntax error before `*'
../../dev/fb/fbreg.h:162: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:164: syntax error before `*'
../../dev/fb/fbreg.h:164: warning: type defaults to `int' in declaration of `vid_get_adapter'
../../dev/fb/fbreg.h:164: warning: data definition has no type or storage class
../../dev/fb/fbreg.h:202: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:202: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:203: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:204: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:206: syntax error before `*'
../../dev/fb/fbreg.h:206: warning: function declaration isn't a prototype
In file included from ../../dev/syscons/scvesactl.c:42:
../../dev/syscons/syscons.h:278: field `smode' has incomplete type
../../dev/syscons/syscons.h:607: syntax error before `*'
../../dev/syscons/syscons.h:607: warning: function declaration isn't a prototype
../../dev/syscons/scvesactl.c: In function `vesa_ioctl':
../../dev/syscons/scvesactl.c:61: `SW_TEXT_132x25' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:61: (Each undeclared identifier is reported only once
../../dev/syscons/scvesactl.c:61: for each function it appears in.)
../../dev/syscons/scvesactl.c:61: `SW_TEXT_132x30' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:62: `SW_TEXT_132x43' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:62: `SW_TEXT_132x50' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:63: `SW_TEXT_132x60' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:64: dereferencing pointer to incomplete type
../../dev/syscons/scvesactl.c:64: `V_ADP_MODECHANGE' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:69: `SW_VESA_C80x60' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:70: `SW_VESA_C132x25' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:71: `SW_VESA_C132x43' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:72: `SW_VESA_C132x50' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:73: `SW_VESA_C132x60' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:74: dereferencing pointer to incomplete type
../../dev/syscons/scvesactl.c:76: `M_VESA_BASE' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:80: `SW_VESA_32K_320' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:80: `SW_VESA_64K_320' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:81: `SW_VESA_FULL_320' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:83: `SW_VESA_CG640x400' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:85: `SW_VESA_CG640x480' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:86: `SW_VESA_32K_640' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:86: `SW_VESA_64K_640' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:87: `SW_VESA_FULL_640' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:89: `SW_VESA_800x600' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:89: `SW_VESA_CG800x600' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:90: `SW_VESA_32K_800' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:90: `SW_VESA_64K_800' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:91: `SW_VESA_FULL_800' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:93: `SW_VESA_1024x768' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:93: `SW_VESA_CG1024x768' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:94: `SW_VESA_32K_1024' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:94: `SW_VESA_64K_1024' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:95: `SW_VESA_FULL_1024' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:97: `SW_VESA_1280x1024' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:97: `SW_VESA_CG1280x1024' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:98: `SW_VESA_32K_1280' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:98: `SW_VESA_64K_1280' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:99: `SW_VESA_FULL_1280' undeclared (first use in this function)
../../dev/syscons/scvesactl.c:100: dereferencing pointer to incomplete type
../../dev/syscons/scvesactl.c:65: warning: unreachable code at beginning of switch statement
*** Error code 1
Stop in /usr/amd/slave/usr/current/src/sys/compile/MASTER.
[-- Attachment #3 --]
# $Id: MASTER,v 1.20 2000/10/09 03:25:48 doug Exp doug $
machine i386
cpu I686_CPU
ident MASTER
maxusers 32
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
#makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc.
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 DEVFS #Device Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
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 KBD_INSTALL_CDEV # install a CDEV entry in /dev
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
options DIAGNOSTIC
options INVARIANT_SUPPORT
options INVARIANTS
options DDB
# strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
options INCLUDE_CONFIG_FILE # Include this file in kernel
device isa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
#options ATA_STATIC_ID #Static device numbering
options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
options AHC_ALLOW_MEMIO
# SCSI Controllers
device ahc # AHA2940 and onboard AIC7xxx devices
# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device pass # Passthrough device (direct SCSI access)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc 1
device atkbd
device psm
device vga
device pcm
# To include support for VESA video modes
options VESA
# splash screen/screen saver
device splash
# syscons is the default console driver, resembling an SCO console
device sc 1
# Floating point support - do not disable.
device npx
# Serial (COM) ports
device sio
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
# PCI Ethernet NICs.
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
# Pseudo devices - the number indicates how many units to allocated.
device random # Entropy device
device loop # Network loopback
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
device bpf # Berkeley packet filter
device snp
device speaker
# Incredibly cool temperature reading stuff
device smbus
device intpm
device smb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39E15E1A.BC21F4AF>
