Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 11:10:09 +0100
From:      krad <kraduk@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>,  freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Stable SCTP_ECN_SUPPORTED build issues
Message-ID:  <CALfReyeyKmknUUv-gOSVMrLupFjUwWmCK93JF9qY-5QWc7sXnw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Has anyone seen this issue building freebsd stable recently. I have tried
removing my src.conf and make.conf but nothing makes a difference? The obj
tree was also manually deleted.


[root@z /usr/src/lib/libc]# svnup  stable
# Revision: 270962
# Protocol: http
# Address: svn0.eu.freebsd.org
# Port: 80
# Branch: base/stable/10
# Target: /usr/src
# Trim tree: No
# Show extra files: No
# Known files directory: /var/tmp/svnup

# yes is did do a full buildworld before i ran this
[root@z /usr/src/lib/libc]# make
/usr/bin/clang  -O2 -pipe  -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS
 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa
-I/usr/src/lib/libc/../../contrib/libc-vis -DINET6
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd
-I/usr/src/lib/libc/../../contrib/jemalloc/include
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime
-I/usr/src/lib/libc/stdtime  -I/usr/src/lib/libc/locale -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments  -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c
/usr/src/lib/libc/net/sctp_sys_calls.c -o sctp_sys_calls.o
/usr/src/lib/libc/net/sctp_sys_calls.c:353:7: error: use of undeclared
identifier 'SCTP_ECN_SUPPORTED'
        case SCTP_ECN_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:356:7: error: use of undeclared
identifier 'SCTP_PR_SUPPORTED'
        case SCTP_PR_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:359:7: error: use of undeclared
identifier 'SCTP_AUTH_SUPPORTED'
        case SCTP_AUTH_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:362:7: error: use of undeclared
identifier 'SCTP_ASCONF_SUPPORTED'
        case SCTP_ASCONF_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:365:7: error: use of undeclared
identifier 'SCTP_RECONFIG_SUPPORTED'
        case SCTP_RECONFIG_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:368:7: error: use of undeclared
identifier 'SCTP_NRSACK_SUPPORTED'
        case SCTP_NRSACK_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:371:7: error: use of undeclared
identifier 'SCTP_PKTDROP_SUPPORTED'
        case SCTP_PKTDROP_SUPPORTED:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:380:7: error: use of undeclared
identifier 'SCTP_PR_STREAM_STATUS'
        case SCTP_PR_STREAM_STATUS:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:381:32: error: incomplete definition
of type 'struct sctp_prstatus'
                ((struct sctp_prstatus *)arg)->sprstat_assoc_id = id;
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/src/lib/libc/net/sctp_sys_calls.c:381:12: note: forward declaration of
'struct sctp_prstatus'
                ((struct sctp_prstatus *)arg)->sprstat_assoc_id = id;
                         ^
/usr/src/lib/libc/net/sctp_sys_calls.c:383:7: error: use of undeclared
identifier 'SCTP_PR_ASSOC_STATUS'
        case SCTP_PR_ASSOC_STATUS:
             ^
/usr/src/lib/libc/net/sctp_sys_calls.c:384:32: error: incomplete definition
of type 'struct sctp_prstatus'
                ((struct sctp_prstatus *)arg)->sprstat_assoc_id = id;
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/src/lib/libc/net/sctp_sys_calls.c:381:12: note: forward declaration of
'struct sctp_prstatus'
                ((struct sctp_prstatus *)arg)->sprstat_assoc_id = id;
                         ^
11 errors generated.
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libc


here is my build env setup

[root@carrera /usr/src/lib/libc]# grep -v "#" /etc/src.conf /etc/make.conf
/etc/src.conf:WITHOUT_FREEBSD_UPDATE="yes"
/etc/src.conf:WITHOUT_GAMES="yes"
/etc/src.conf:WITHOUT_HTML="yes"
/etc/src.conf:WITHOUT_IPFILTER="yes"
/etc/src.conf:WITHOUT_IPFW="yes"
/etc/src.conf:WITHOUT_IPX="yes"
/etc/src.conf:WITHOUT_LIB32="YES"
/etc/src.conf:WITHOUT_PORTSNAP="YES"
/etc/src.conf:WITHOUT_ATM="YES"
/etc/src.conf:WITHOUT_BLUETOOTH=YES
/etc/src.conf:WITHOUT_BSNMP="YES"
/etc/src.conf:WITHOUT_SENDMAIL=YES
/etc/src.conf:
/etc/src.conf:WITHOUT_INFO=yes
/etc/src.conf:WITH_UNBOUND=yes
/etc/src.conf:WITHOUT_WIRELESS=
/etc/src.conf:WITHOUT_WPA_SUPPLICANT_EAPOL=
/etc/src.conf:WITHOUT_RADIUS=
/etc/src.conf:WITHOUT_NCP=
/etc/src.conf:WITHOUT_NDIS=
/etc/src.conf:WITHOUT_NIS=
/etc/src.conf:WITHOUT_LPR=
/etc/src.conf:
/etc/make.conf:USA_RESIDENT=NO
/etc/make.conf:SVN_UPDATE=YES
/etc/make.conf:XFREE8pro_VERSION=       4
/etc/make.conf:KERNCONF=me
/etc/make.conf:KERNCONFDIR=/etc/kernel
/etc/make.conf:BOOT_COMCONSOLE_SPEED="115200"
/etc/make.conf:FETCH_BEFORE_ARGS=-p
/etc/make.conf:
/etc/make.conf:LOADER_TFTP_SUPPORT=YES"
/etc/make.conf:LOADER_ZFS_SUPPORT=yes
/etc/make.conf:FTP_PASSIVE_MODE=1
/etc/make.conf:
/etc/make.conf:WITH_CTF=1
/etc/make.conf:STRIP=
/etc/make.conf:
/etc/make.conf:CC=/usr/bin/clang
/etc/make.conf:CXX=/usr/bin/clang++
/etc/make.conf:
/etc/make.conf:WITH_PKGNG=      yes
/etc/make.conf:PF_ENABLE_FILTER_RULES=yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyeyKmknUUv-gOSVMrLupFjUwWmCK93JF9qY-5QWc7sXnw>