Error compiling 1.1.9

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
alex88
Level 1
Level 1
Posts: 6
Joined: Thu Nov 27, 2008 6:53 pm

Error compiling 1.1.9

Post by alex88 »

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
James McKenzie

Error compiling 1.1.9

Post by James McKenzie »

alex88 wrote:
hi, i'm trying to compile the wine 1.1.9 version, but i get this error.

OS version and distribution?
GCC version?
Results of which gcc?

Thank you.

James McKenzie
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Error compiling 1.1.9

Post by austin987 »

On Thu, Nov 27, 2008 at 5:55 PM, alex88 <[email protected]> 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
alex88
Level 1
Level 1
Posts: 6
Joined: Thu Nov 27, 2008 6:53 pm

Post by alex88 »

OS: Ubuntu 8.10
#gcc --version
gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
#which gcc
/usr/bin/gcc

(these are the same that i've used to compile 1.1.Cool

now trying the Regression Testing..
alex88
Level 1
Level 1
Posts: 6
Joined: Thu Nov 27, 2008 6:53 pm

Post by alex88 »

compiled from git and it works
Locked