[Wine] Error compiling 1.1.9

Austin English austinenglish at gmail.com
Thu Nov 27 23:43:38 CST 2008


On Thu, Nov 27, 2008 at 5:55 PM, alex88 <wineforum-user at winehq.org> wrote:
> hi, i'm trying to compile the wine 1.1.9 version, but i get this error.
>
> gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o ntdsapi.o ntdsapi.c
> ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ntdsapi.spec    ntdsapi.o       -o ntdsapi.dll.so  -luser32 -lkernel32   ../../libs/port/libwine_port.a
> make[2]: Leaving directory `/home/alessandro/Scrivania/wine-1.1.9/dlls/ntdsapi'
> make[2]: Entering directory `/home/alessandro/Scrivania/wine-1.1.9/dlls/ntoskrnl.exe'
> gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o ntoskrnl.o ntoskrnl.c
> ntoskrnl.c:1184: error: redefinition of 'MmGetSystemRoutineAddress'
> ntoskrnl.c:1036: error: previous definition of 'MmGetSystemRoutineAddress' was here
> make[2]: *** [ntoskrnl.o] Error 1
> make[2]: Leaving directory `/home/alessandro/Scrivania/wine-1.1.9/dlls/ntoskrnl.exe'
> make[1]: *** [ntoskrnl.exe] Error 2
> make[1]: Leaving directory `/home/alessandro/Scrivania/wine-1.1.9/dlls'
> make: *** [dlls] Error 2
>
>
> any help? i've previously compiled the 1.1.8 version and it works perfect..
>
> i've done this
>
>  # ./configure
>
> # make depend && make
>
> # sudo su -c "make install"
>
> # sudo checkinstall
>
>
>
>
>
>

Why are you compiling as root? Can you run a regression test:
http://wiki.winehq.org/RegressionTesting

-- 
-Austin



More information about the wine-users mailing list