Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 11:37:35 -0500
From:      Adam Hopstetter <ahopstetter@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   RE: Error compiling FreeBSD-Stable with MFC'ed iconv locking
Message-ID:  <499844CF.2090109@gmail.com>

next in thread | raw e-mail | index | archive | help

Hello,

    I also had the exact same issue compiling FreeBSD-7.1-stable on 
2/14/2009. If you implement the described patch ... freebsd-7.1-stable 
will them fail to build world with an error in pf/ftp-proxy.c, 
complaining about a redefinition of 'session'. This is b/c sys/proc.h 
also defines 'session' ... so there treading on each other's namespace ....

Below is an updated patch to compile kernel and world with kernel 
libiconv support.

--- sys/sys/sx.h.orig 2009-02-14 15:49:28.000000000 -0500
+++ sys/sys/sx.h 2009-02-14 21:38:04.000000000 -0500
@@ -37,6 +37,7 @@
#include <sys/lock_profile.h>

#ifdef _KERNEL
+#include <sys/proc.h>
#include <machine/atomic.h>
#endif




Sincerely,

Adam Hopstetter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499844CF.2090109>