Hi, thanks for your feedback.
I just updated wine cvs, no ./configure errors but still "make" unable to complete:
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o signal_i386.o signal_i386.c signal_i386.c: In function ‘wine_sigaction’: signal_i386.c:123: error: ‘__NR_sigaction’ undeclared (first use in this function) signal_i386.c:123: error: (Each undeclared identifier is reported only once signal_i386.c:123: error: for each function it appears in.) make[2]: *** [signal_i386.o] Error 1 make[2]: Leaving directory `/home/source/suse/install/compile/wine/wine/dlls/ntdll' make[1]: *** [ntdll] Error 2 make[1]: Leaving directory `/home/source/suse/install/compile/wine/wine/dlls' make: *** [dlls] Error 2
SuSE 10, x86-64, 2.6.13 (SuSE kernel), gcc-4.0.2 (official release)
Thank you. Dmitry
On Thu, 23 Feb 2006 04:12:20 -0300, Marcus Meissner marcus@jet.franken.de wrote:
On Wed, Feb 22, 2006 at 05:48:44PM -0700, Jesse Allen wrote:
On 2/21/06, dmitry serpokryl dmitry.serpokryl@gmail.com wrote:
configure: WARNING: linux/capi.h: present but cannot be compiled configure: WARNING: linux/capi.h: check for missing prerequisite headers? configure: WARNING: linux/capi.h: see the Autoconf documentation configure: WARNING: linux/capi.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/capi.h: proceeding with the preprocessor's
result
configure: WARNING: linux/capi.h: in the future, the compiler will
take
precedence configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to wine-devel@winehq.org ## configure: WARNING: ## ------------------------------------ ##
SuSE 10 x86-64, gcc-4.0.2 (release)
You are compiling with linux 2.6 header files...
And there is nothing bad with that.
We need __user defined (to nothing) during configure checking as a workaround.
What about this patch?
Ciao, Marcus
Changelog: Explicitly define __user to "empty" to allow kernel header inclusion.
Index: configure.ac
RCS file: /home/wine/wine/configure.ac,v retrieving revision 1.445 diff -u -r1.445 configure.ac --- configure.ac 20 Feb 2006 20:19:39 -0000 1.445 +++ configure.ac 23 Feb 2006 07:11:07 -0000 @@ -169,6 +169,7 @@ AC_SUBST(GLU32FILES,"") AC_SUBST(OPENGL_LIBS,"") +AC_DEFINE(__user,[],[To allow configure checking of kernel headers.]) dnl **** Check for header files **** AC_CHECK_HEADERS(\