Aldrenean
2009-Feb-23 03:46 UTC
[Wine] Gcc error during make depend/make of latest Git-Wine source.
I'm on Linux Mint Fluxbox CE 5 trying to compile the latest Git source. I previously had Wine 1.0 something from the Synaptic repos, and wanted bleeding edge so I did Code: $ aptitude remove wine and then followed the Wine + Git instructions. After the repo was cloned I ran ./configure, installed a couple dependencies and libfreetype-dev, and the config script then ran fine. Then I started the make process, and after about 45 minutes of compiling and such (massive amounts of text ran by, if I need to salvage them you'll have to tell me how,) this happened: Code: $ make depend && make ... gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o xvidmode.o xvidmode.c ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec bitblt.o bitmap.o brush.o clipboard.o codepage.o desktop.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o ime.o init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o systray.o text.o window.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o xinerama.o xrandr.o xrender.o xvidmode.o version.res -o winex11.drv.so -lcomctl32 -luser32 -lgdi32 -ladvapi32 -limm32 -lkernel32 -lntdll -Wb,-dcomctl32 ../../libs/port/libwine_port.a -lXext -lX11 /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status winegcc: gcc failed make[2]: *** [winex11.drv.so] Error 2 make[2]: Leaving directory `/home/aldrenean/.wine-git/dlls/winex11.drv' make[1]: *** [winex11.drv] Error 2 make[1]: Leaving directory `/home/aldrenean/.wine-git/dlls' make: *** [dlls] Error 2 Then I was dumped to the terminal. Any one have any idea? Should I even post this here, or is this a problem with non-wine stuff? Thanks in advance. -Scott
Austin English
2009-Feb-23 03:53 UTC
[Wine] Gcc error during make depend/make of latest Git-Wine source.
On Sun, Feb 22, 2009 at 9:46 PM, Aldrenean <wineforum-user at winehq.org> wrote:> I'm on Linux Mint Fluxbox CE 5 trying to compile the latest Git source. I previously had Wine 1.0 something from the Synaptic repos, and wanted bleeding edge so I did > > > Code: > $ aptitude remove wine > > > > and then followed the Wine + Git instructions. After the repo was cloned I ran ./configure, installed a couple dependencies and libfreetype-dev, and the config script then ran fine. Then I started the make process, and after about 45 minutes of compiling and such (massive amounts of text ran by, if I need to salvage them you'll have to tell me how,) this happened: > > > Code: > $ make depend && make > ... > gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o xvidmode.o xvidmode.c > ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc > ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec bitblt.o bitmap.o brush.o clipboard.o codepage.o desktop.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o ime.o init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o systray.o text.o window.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o xinerama.o xrandr.o xrender.o xvidmode.o version.res -o winex11.drv.so -lcomctl32 -luser32 -lgdi32 -ladvapi32 -limm32 -lkernel32 -lntdll -Wb,-dcomctl32 ../../libs/port/libwine_port.a -lXext -lX11 > /usr/bin/ld: cannot find -lXext > collect2: ld returned 1 exit status > winegcc: gcc failed > make[2]: *** [winex11.drv.so] Error 2 > make[2]: Leaving directory `/home/aldrenean/.wine-git/dlls/winex11.drv' > make[1]: *** [winex11.drv] Error 2 > make[1]: Leaving directory `/home/aldrenean/.wine-git/dlls' > make: *** [dlls] Error 2 > > > > > > Then I was dumped to the terminal. Any one have any idea? Should I even post this here, or is this a problem with non-wine stuff? > > Thanks in advance. > > -Scott > > > > > >Are there any errors with: ./configure --verbose ? -- -Austin
Aldrenean
2009-Feb-23 04:26 UTC
[Wine] Re: Gcc error during make depend/make of latest Git-Wine source.
Nope, I just get a few warnings at the end, same as non-verbose. This is the tail: Code: configure: libxcursor development files not found, the Xcursor extension won't be supported. configure: libxi development files not found, the Xinput extension won't be supported. configure: XShm development files not found, X Shared Memory won't be supported. configure: XShape development files not found, XShape won't be supported. configure: libXxf86vm development files not found, XFree86 Vidmode won't be supported. configure: libxrandr development files not found, XRandr won't be supported. configure: libxinerama development files not found, multi-monitor setups won't be supported. configure: libxcomposite development files not found, Xcomposite won't be supported. configure: libGLU development files not found, GLU won't be supported. configure: libhal development files not found, no dynamic device support. configure: libgnutls development files not found, no schannel support. configure: lib(n)curses development files not found, curses won't be supported. configure: libsane development files not found, scanners won't be supported. configure: libgphoto2 development files not found, digital cameras won't be supported. configure: liblcms development files not found, Color Management won't be supported. configure: libcapi20 development files not found, ISDN won't be supported. configure: libcups development files not found, CUPS won't be supported. configure: fontconfig development files not found, fontconfig won't be supported. configure: libldap (OpenLDAP) development files not found, LDAP won't be supported. configure: WARNING: libxrender development files not found, XRender won't be supported. configure: WARNING: No OpenGL library found on this system. OpenGL and Direct3D won't be supported. configure: WARNING: libxml2 development files not found, XML won't be supported. configure: WARNING: libxslt development files not found, xslt won't be supported. configure: WARNING: OpenSSL development files not found, SSL won't be supported. configure: WARNING: libjpeg development files not found, JPEG won't be supported. configure: WARNING: libpng development files not found, PNG won't be supported. configure: Finished. Do 'make depend && make' to compile Wine.
Aldrenean
2009-Feb-23 04:57 UTC
[Wine] Re: Gcc error during make depend/make of latest Git-Wine source.
Alright, I'll fix em. Thanks!
Daemon
2009-Feb-23 05:39 UTC
[Wine] Re: Gcc error during make depend/make of latest Git-Wine source.
Handy little script that you and future wine hackers might find useful. Adjust to your wants for the configure options. It's meant for a x64 system hence the -m32 and -L'pwd'/lib32 switches. Code: #! /bin/sh CC="gcc-4.3 -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v --prefix=/usr --exec-prefix=/usr --without-capi --without-cups --without-jack --without-sane --without-gphoto --with-x --without-freetype --disable-tests --without-nas make depend && make echo put password here | sudo -S make install
Possibly Parallel Threads
- Regression testing - compilation error after second bisect
- Wine : error during compilation (mandriva 2006 - x86_64)
- Any wine-0.9 build instructions for AMD64 b4-bit systems?
- Wins Installation problem on solairs x86 version 5.10
- wine-0.9.2 compile problems under suse10-x86_64