cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/conf NOTES files options src/sys/kern init_sysent.c syscalls.c syscalls.master systrace_args.c uipc_syscalls.c src/sys/net rtsock.c src/sys/netinet in_proto.c sctp.h sctp_asconf.c ...

Randall Stewart rrs at cisco.com
Fri Nov 3 17:26:30 UTC 2006


Pawel Worach wrote:
> Randall Stewart wrote:
> 
>> rrs         2006-11-03 15:23:16 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:
> 
> ...
> 
>>   Log:
>>   Ok, here it is, we finally add SCTP to current. Note that this
> 
> 
> Hi,
> 
> sctp_asconf.c and sctp6_usrreq.c don't build because __FBSDID macro is
> defined in sys/cdefs.h so that needs to be included first.
> 
> Regards
> 
> 
> ------------------------------------------------------------------------
> 
> --- sctp6_usrreq.c.orig	Fri Nov  3 17:50:49 2006
> +++ sctp6_usrreq.c	Fri Nov  3 17:51:26 2006
> @@ -28,7 +28,10 @@
>   * THE POSSIBILITY OF SUCH DAMAGE.
>   */
>  /*	$KAME: sctp6_usrreq.c,v 1.38 2005/08/24 08:08:56 suz Exp $	*/
> +
> +#include <sys/cdefs.h>
>  __FBSDID("$FreeBSD: src/sys/netinet6/sctp6_usrreq.c,v 1.1 2006/11/03 15:23:15 rrs Exp $");
> +
>  #include "opt_inet.h"
>  #include "opt_inet6.h"
>  #include "opt_inet.h"
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --- sctp_asconf.c.orig	Fri Nov  3 17:42:22 2006
> +++ sctp_asconf.c	Fri Nov  3 17:42:45 2006
> @@ -29,10 +29,9 @@
>   */
>  
>  /* $KAME: sctp_asconf.c,v 1.24 2005/03/06 16:04:16 itojun Exp $	 */
> -__FBSDID("$FreeBSD: src/sys/netinet/sctp_asconf.c,v 1.1 2006/11/03 15:23:15 rrs Exp $");
>  
>  #include <sys/cdefs.h>
> -
> +__FBSDID("$FreeBSD: src/sys/netinet/sctp_asconf.c,v 1.1 2006/11/03 15:23:15 rrs Exp $");
>  
>  #include "opt_ipsec.h"
>  #include "opt_compat.h"
> 
Yeah... I found that has I tried to build
my second machine off the cvsup ..

I commited a fix for it.. sorry about thta.. its the missing sys/cdefs.h
or in one of the files cases.. the FRESBSD is in the wrong
postion :-)

There is some .h's that also have the same problem.. I fixed them
all.. even though only these two seem to be the compile breakage :-0

R

-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)


More information about the cvs-src mailing list