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
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
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
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..