Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2012 12:57:03 +0200
From:      FBSD UG <freebsd@rgbaz.eu>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: af_atalk.c error FBSD 9.0Rp4 
Message-ID:  <CAC506B5-C2BB-4AC8-8398-A28B3CB5DBC0@rgbaz.eu>
In-Reply-To: <6F12D89C-6D39-4504-B0D5-144ED8E6218B@rgbaz.eu>
References:  <6F12D89C-6D39-4504-B0D5-144ED8E6218B@rgbaz.eu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
aaah nevermind... sigh...

just for the archive, I'm learning C and had
	setenv GCC_EXEC_PREFIX "c-program"
	setenv C_INCLUDE_PATH=3D/usr/local/include
which were preventing certain things to compile...

and then 'Computer says "no"'

gr
arno




On 10 aug 2012, at 15:40, FBSD UG wrote:

> hello!
>=20
> I'm trying to buildworld on my FreeBSD 9.0-RELEASE-p4
> server after successfully installing the kernel, but keep
> running into the same error no matter what I do.
>=20
> I've been googling for days now and must either be looking
> in the wrong directions or it's not there.
>=20
> The error I get is the following:
>=20
> cc -O2 -pipe  -DINET6 -DINET -Wall -Wmissing-prototypes -Wcast-qual =
-Wwrite-strings -Wnested-externs -DRESCUE -std=3Dgnu99 -fstack-protector =
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized =
-Wno-pointer-sign -c /usr/src/sbin/ifconfig/af_atalk.c
> /usr/src/sbin/ifconfig/af_atalk.c: In function 'at_status':
> /usr/src/sbin/ifconfig/af_atalk.c:94: error: 'struct sockaddr_at' has =
no member named 'sat_range'
> /usr/src/sbin/ifconfig/af_atalk.c: In function 'at_getaddr':
> /usr/src/sbin/ifconfig/af_atalk.c:123: error: 'struct sockaddr_at' has =
no member named 'sat_len'
> /usr/src/sbin/ifconfig/af_atalk.c: In function 'at_postproc':
> /usr/src/sbin/ifconfig/af_atalk.c:152: error: 'struct sockaddr_at' has =
no member named 'sat_range'
> *** Error code 1
>=20
> Stop in /usr/src/sbin/ifconfig.
> *** Error code 1
>=20
> Stop in /usr/obj/usr/src/rescue/rescue.
> *** Error code 1
>=20
> Stop in /usr/src/rescue/rescue.
> *** Error code 1
>=20
> Stop in /usr/src/rescue.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
>=20
>=20
> I do also get this when I cd into /usr/src/sbin/ifconfig and type =
make.
>=20
>=20
> This is my kernelconfig I compiled the kernel with:
>=20
> cpu		I686_CPU
> ident	KERNEL9
>=20
> options 	SCHED_ULE						=
# ULE scheduler
> options 	PREEMPTION						=
# Enable kernel thread preemption
> options 	INET								=
# InterNETworking
> options 	INET6								=
# IPv6 communications protocols
> options 	SCTP								=
# Stream Control Transmission Protocol
> options 	FFS								=
	# Berkeley Fast Filesystem
> options 	SOFTUPDATES						=
# Enable FFS soft updates support
> options 	UFS_ACL							=
# Support for access control lists
> options 	UFS_DIRHASH						=
# Improve performance on big directories
> options 	UFS_GJOURNAL					# Enable =
gjournal-based UFS journaling
> options 	MD_ROOT							=
# MD is a potential root device
> options 	NFSCL								=
# New Network Filesystem Client
> options 	NFSD								=
# New Network Filesystem Server
> options 	NFSLOCKD							=
# Network Lock Manager
> options 	NFS_ROOT							=
# NFS usable as /, requires NFSCLIENT
> options 	MSDOSFS							=
# MSDOS Filesystem
> options 	CD9660								=
# ISO 9660 Filesystem
> options 	PROCFS							=
# Process filesystem (requires PSEUDOFS)
> options 	PSEUDOFS							=
# Pseudo-filesystem framework
> options 	GEOM_PART_GPT					# GUID =
Partition Tables.
> options 	GEOM_LABEL						=
# Provides labelization
> options 	COMPAT_FREEBSD4				# Compatible =
with FreeBSD4
> options 	COMPAT_FREEBSD5				# Compatible =
with FreeBSD5
> options 	COMPAT_FREEBSD6				# Compatible =
with FreeBSD6
> options 	COMPAT_FREEBSD7				# Compatible =
with FreeBSD7
> options 	SCSI_DELAY=3D1000					=
# Delay (in ms) before probing SCSI
> options 	KTRACE							=
# ktrace(1) support
> options 	STACK								=
# stack(9) support
> options 	SYSVSHM							=
# SYSV-style shared memory
> options 	SYSVMSG							=
# SYSV-style message queues
> options 	SYSVSEM							=
# SYSV-style semaphores
> options 	_KPOSIX_PRIORITY_SCHEDULING	# POSIX P1003_1B =
real-time extensions
> options 	PRINTF_BUFR_SIZE=3D128			# Prevent printf =
output being interspersed.
> options 	KBD_INSTALL_CDEV				# =
install a CDEV entry in /dev
> options 	HWPMC_HOOKS					# =
Necessary kernel hooks for hwpmc(4)
> options 	AUDIT								=
# Security event auditing
> options 	MAC								=
# TrustedBSD MAC Framework
> options 	KDTRACE_HOOKS					# Kernel =
DTrace hooks
> options 	INCLUDE_CONFIG_FILE    			# Include this =
file in kernel
>=20
> ### added
> options         QUOTA                   		# quota on
> options         XFS                     		# XFS filesystem
> options		GEOM_PART_APM	# Apple HFS+ support
> options         NETATALK                	# appletalk
> options         KVA_PAGES=3D500        # max 500 for WineHQ
> options		MROUTING			# multicast =
routing kernel module
>=20
>=20
> # To make an SMP kernel, the next two lines are needed
> device		apic			# I/O APIC
>=20
> # Bus support.
> device		acpi
> device		eisa
> device		pci
>=20
> # Floppy drives
> device		fdc
>=20
> # ATA controllers
> device		ahci			# AHCI-compatible SATA =
controllers
> device		ata			# Legacy ATA/SATA =
controllers
> options 	ATA_CAM		# Handle legacy controllers with CAM
> options 	ATA_STATIC_ID	# Static device numbering
>=20
> # SCSI Controllers
> device		ahc						=
# AHA2940 and onboard AIC7xxx devices
> options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in =
debug
> 									=
# output.  Adds ~128k to driver.
> device		aic						=
# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
>=20
> # ATA/SCSI peripherals
> device		scbus	# SCSI bus (required for ATA/SCSI)
> device		da		# Direct Access (disks)
> device		sa		# Sequential Access (tape etc)
> device		pass	# Passthrough device (direct ATA/SCSI =
access)
> device		ses		# SCSI Environmental Services =
(and SAF-TE)
>=20
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device		atkbdc		# AT keyboard controller
> device		atkbd		# AT keyboard
> device		psm			# PS/2 mouse
>=20
> device		vga			# VGA video card driver
>=20
> device		splash		# Splash screen and screen saver =
support
>=20
> # syscons is the default console driver, resembling an SCO console
> device		sc
> options 	SC_PIXEL_MODE	# add support for the raster text mode
>=20
> # Power management support (see NOTES for more options)
> device		apm
> device		pmtimer
>=20
> # Parallel port
> device		ppc
> device		ppbus	# Parallel port bus (required)
> device		lpt		# Printer
> device		ppi		# Parallel port interface device
>=20
> # PCI Ethernet NICs that use the common MII bus controller code.
> # NOTE: Be sure to keep the 'device miibus' line in order to use these =
NICs!
> device		miibus		# MII bus support
>=20
> # Pseudo devices.
> device		loop		# Network loopback
> device		random		# Entropy device
> device		ether		# Ethernet support
> device		pty			# BSD-style =
compatibility pseudo ttys
> device		md			# Memory "disks"
> device		gif			# IPv6 and IPv4 =
tunneling
> device		faith			# IPv6-to-IPv4 relaying =
(translation)
> device		firmware		# firmware assist module
>=20
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> # Note that 'bpf' is required for DHCP.
> device		bpf		# Berkeley packet filter
>=20
> # USB support
> device		ohci		# OHCI PCI->USB interface
> device		usb		# USB Bus (required)
> device		uhid	# "Human Interface Devices"
> device		ukbd	# Keyboard
> device		ulpt		# Printer
> device		umass	# Disks/Mass storage - Requires scbus =
and da
> device		ums		# Mouse
>=20
> # MISCELLANEOUS DEVICES AND OPTIONS:
> device          speaker                 # Play IBM BASIC-style noises =
out your speaker
> # iscsi:
> device          iscsi_initiator
>=20
> ### OPTIONS FROM OLD KERNEL (FIREWALL):
> options         IPFIREWALL							=
# Include firewall
> options         IPFIREWALL_VERBOSE    				=
# Include firewall logging
> options         IPFIREWALL_VERBOSE_LIMIT=3D100	# Log max=3D100
> options         IPDIVERT							=
# Include divert in firewall
> options         IPSTEALTH							=
# Hide from traceroutes
>=20
> Has anyone run into this before or has some tips for me how to solve =
this?
>=20
> thanks in advance
>=20
> Arno B_______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAC506B5-C2BB-4AC8-8398-A28B3CB5DBC0>