Re: af_atalk.c error FBSD 9.0Rp4

2012-08-13 Thread FBSD UG
aaah nevermind... sigh...

just for the archive, I'm learning C and had
setenv GCC_EXEC_PREFIX "c-program"
setenv C_INCLUDE_PATH=/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!
> 
> 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

af_atalk.c error FBSD 9.0Rp4

2012-08-10 Thread FBSD UG
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 HW