From owner-freebsd-net@FreeBSD.ORG Sun Jun 24 18:57:28 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4B9C16A400 for ; Sun, 24 Jun 2007 18:57:28 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 44C6E13C468 for ; Sun, 24 Jun 2007 18:57:28 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by ug-out-1314.google.com with SMTP id u2so1278408uge for ; Sun, 24 Jun 2007 11:57:27 -0700 (PDT) Received: by 10.82.156.12 with SMTP id d12mr11027405bue.1182709893599; Sun, 24 Jun 2007 11:31:33 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Sun, 24 Jun 2007 11:31:33 -0700 (PDT) Message-ID: Date: Sun, 24 Jun 2007 21:31:33 +0300 From: "Vlad GALU" To: freebsd-net@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Building a kernel with SCTP support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2007 18:57:28 -0000 Hi list, I have SCTP, SCTP_DEBUG and SCTP_HIGH_SPEED defined in my kernel configuration file. However, it looks that the SCTP source files aren't even built, so the linking fails with -- cut here -- linking kernel.debug uipc_syscalls.o(.text+0x31a): In function `sctp_generic_recvmsg': ../../../kern/uipc_syscalls.c:2642: undefined reference to `sctp_sorecvmsg' uipc_syscalls.o(.text+0x251e): In function `sctp_generic_sendmsg_iov': ../../../kern/uipc_syscalls.c:2521: undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x276c): In function `sctp_generic_sendmsg': ../../../kern/uipc_syscalls.c:2415: undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x2abd): In function `sctp_peeloff': ../../../kern/uipc_syscalls.c:2279: undefined reference to `sctp_can_peel_off' uipc_syscalls.o(.text+0x2bfa):../../../kern/uipc_syscalls.c:2316: undefined reference to `sctp_do_peeloff' rtsock.o(.text+0xb62): In function `rt_newaddrmsg': ../../../net/rtsock.c:896: undefined reference to `sctp_addr_change' in_proto.o(.data+0x150): undefined reference to `sctp_input' in_proto.o(.data+0x160): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x168): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x178): undefined reference to `sctp_init' in_proto.o(.data+0x190): undefined reference to `sctp_drain' in_proto.o(.data+0x198): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x1b8): undefined reference to `sctp_input' in_proto.o(.data+0x1c8): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x1d0): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x1f8): undefined reference to `sctp_drain' in_proto.o(.data+0x200): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x220): undefined reference to `sctp_input' in_proto.o(.data+0x230): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x238): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x260): undefined reference to `sctp_drain' in_proto.o(.data+0x268): undefined reference to `sctp_usrreqs' *** Error code 1 -- and here -- Do I need to define additional flags in my config file? -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.