Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 02:10:51 -0500
From:      "Mit Rowe" <mitayai@dreamlabs.com>
To:        <stable@freebsd.org>
Subject:   kernel build problem
Message-ID:  <DBEMKGPNFGOGJHLMDNDJGENGDLAA.mitayai@dreamlabs.com>

next in thread | raw e-mail | index | archive | help
I'm having a problem building today's stable kernel, around the linux_sysent
part.

i'm using the standard compile options (no overrides in /etc/make.conf) and
my conf file is below.

Any ideas?

###error###
cc -nostdinc -O -pipe    -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu
al  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../inc
lude  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu
al  -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 /usr/src/sys/modules/linux.
*** Error code 1

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

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

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

Stop in /usr/src.

###config file###

machine		i386
cpu		I686_CPU
ident		tenchi
maxusers	32
options 	INET			#InterNETworking
#options 	INET6			#IPv6 communications protocols
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 	NFS			#Network Filesystem
#options 	NFS_ROOT		#NFS usable as root device, NFS required
#options 	MSDOSFS			#MSDOS Filesystem
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
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
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
options 	ATA_STATIC_ID		#Static device numbering
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12
device		vga0	at isa?
pseudo-device	splash
device		sc0	at isa? flags 0x100
device		npx0	at nexus? port IO_NPX irq 13
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		miibus		# MII bus support
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
#pseudo-device	gif		# IPv6 and IPv4 tunneling
#pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	bpf		#Berkeley packet filter
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
#pseudo-device	stf			#6to4 IPv6 over IPv4 encapsulation
#options 	IPFIREWALL		#firewall
#options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
#options 	IPFIREWALL_FORWARD	#enable transparent proxy support
#options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
#options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
#options 	IPV6FIREWALL		#firewall for IPv6
#options 	IPV6FIREWALL_VERBOSE
#options 	IPV6FIREWALL_VERBOSE_LIMIT=100
#options 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
#options 	IPDIVERT		#divert sockets
#options 	IPSTEALTH		#support for stealth forwarding
options		RANDOM_IP_ID
#options 	DUMMYNET
#options 	BRIDGE
#options		UFS_DIRHASH
options 	QUOTA			#enable disk quotas


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?DBEMKGPNFGOGJHLMDNDJGENGDLAA.mitayai>