af_atalk.c error FBSD 9.0Rp4

FBSD UG freebsd at rgbaz.eu
Fri Aug 10 16:27:20 UTC 2012


hello!

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.

I've been googling for days now and must either be looking
in the wrong directions or it's not there.

The error I get is the following:

cc -O2 -pipe  -DINET6 -DINET -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs -DRESCUE -std=gnu99 -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

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

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

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

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

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

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

Stop in /usr/src.


I do also get this when I cd into /usr/src/sbin/ifconfig and type make.


This is my kernelconfig I compiled the kernel with:

cpu		I686_CPU
ident	KERNEL9

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=1000					# 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=128			# 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

### added
options         QUOTA                   		# quota on
options         XFS                     		# XFS filesystem
options		GEOM_PART_APM	# Apple HFS+ support
options         NETATALK                	# appletalk
options         KVA_PAGES=500        # max 500 for WineHQ
options		MROUTING			# multicast routing kernel module


# To make an SMP kernel, the next two lines are needed
device		apic			# I/O APIC

# Bus support.
device		acpi
device		eisa
device		pci

# Floppy drives
device		fdc

# 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

# 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.

# 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)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm			# PS/2 mouse

device		vga			# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc
options 	SC_PIXEL_MODE	# add support for the raster text mode

# Power management support (see NOTES for more options)
device		apm
device		pmtimer

# Parallel port
device		ppc
device		ppbus	# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device

# 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

# 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

# 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

# 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

# MISCELLANEOUS DEVICES AND OPTIONS:
device          speaker                 # Play IBM BASIC-style noises out your speaker
# iscsi:
device          iscsi_initiator

### OPTIONS FROM OLD KERNEL (FIREWALL):
options         IPFIREWALL							# Include firewall
options         IPFIREWALL_VERBOSE    				# Include firewall logging
options         IPFIREWALL_VERBOSE_LIMIT=100	# Log max=100
options         IPDIVERT							# Include divert in firewall
options         IPSTEALTH							# Hide from traceroutes

Has anyone run into this before or has some tips for me how to solve this?

thanks in advance

Arno B


More information about the freebsd-questions mailing list