Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

wine-0.9.13 on amd64 (SOLVED)

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
12 posts • Page 1 of 1
Author
Message
Timbers2k
Apprentice
Apprentice
Posts: 215
Joined: Fri Oct 03, 2003 5:53 pm

wine-0.9.13 on amd64 (SOLVED)

  • Quote

Post by Timbers2k » Thu May 18, 2006 4:09 pm

Can anyone install wine-0.9.13 on an amd64? I tried to install the unpatched version from portage and I get errors like this:

Code: Select all

wgl.o: In function `wglUseFontOutlines_common':
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:214: undefined reference to `gluNewTess'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:217: undefined reference to `gluTessCallback'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:218: undefined reference to `gluTessCallback'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:219: undefined reference to `gluTessCallback'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:276: undefined reference to `gluTessBeginPolygon'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:283: undefined reference to `gluTessBeginContour'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:286: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:313: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:316: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:322: undefined reference to `gluTessEndContour'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:334: undefined reference to `gluTessEndPolygon'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:343: undefined reference to `gluDeleteTess'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:300: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:329: undefined reference to `gluTessEndContour'
collect2: ld returned 1 exit status
winegcc: x86_64-pc-linux-gnu-gcc failed. 
I'd like to know if it's something on my box or a general amd64 problem. I reemerged wine-0.9.9 with the wow patch to make sure it still worked, and it did, so it's something new. I'll add a bug if othere are having the same problem.
Last edited by Timbers2k on Fri May 19, 2006 12:11 pm, edited 1 time in total.
Top
otherside
Apprentice
Apprentice
User avatar
Posts: 179
Joined: Mon Jul 01, 2002 3:42 pm

Re: wine-0.9.13 on amd64

  • Quote

Post by otherside » Thu May 18, 2006 5:12 pm

Timbers2k wrote:Can anyone install wine-0.9.13 on an amd64? I tried to install the unpatched version from portage and I get errors like this:
please post the compiler command, too, otherwise we can't see what the compiler wanted to do!
Top
DtZ
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 124
Joined: Fri Sep 09, 2005 4:35 pm
Contact:
Contact DtZ
Website

  • Quote

Post by DtZ » Thu May 18, 2006 5:36 pm

I've compiled wine-0.9.13 without any problems on my amd64 box so i don't think it's general amd64 problem. Try reemerging mesa.
Top
Timbers2k
Apprentice
Apprentice
Posts: 215
Joined: Fri Oct 03, 2003 5:53 pm

Re: wine-0.9.13 on amd64

  • Quote

Post by Timbers2k » Thu May 18, 2006 6:03 pm

otherside wrote: please post the compiler command, too, otherwise we can't see what the compiler wanted to do!
Here some more context, it shows a couple of steps before the failure;

Code: Select all

../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./d3d9.spec    basetexture.o cubetexture.o d3d9_main.o device.o directx.o indexbuff er.o pixelshader.o query.o resource.o stateblock.o surface.o swapchain.o texture.o vertexbuffer.o vertexdeclaration.o vertexshader.o volume.o v olumetexture.o  version.res   -Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/lib32/wine /usr/lib32` -o d3d9.dll.so -L../../dlls -lwined3d -luse r32 -lgdi32 -lkernel32  -L../../libs -lwine -ldxguid -luuid  -L/usr/lib64  -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11  -lGL -L../../libs/port  -lwine_port
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
make[2]: Leaving directory `/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/d3d9'
make[2]: Entering directory `/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/wined3d'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o baseshader.o baseshader.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o opengl_norm.o opengl_norm.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o basetexture.o basetexture.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o cubetexture.o cubetexture.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o wgl.o wgl.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o device.o device.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+  -Wdeclaration-after-statement -Wpointer-arith  -O2 -pipe -march=k8  -o wgl_ext.o wgl_ext.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   - foversion.res version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./opengl32.spec    opengl_ext.o opengl_norm.o wgl.o wgl_ext.o  version.res   -Wl,-- rpath,\$ORIGIN/`../../tools/relpath /usr/lib32/wine /usr/lib32` -o opengl32.dll.so -L../../dlls -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll  -L../../libs -lwine -L/usr/lib64  -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11  -lGL -L../../libs/port -lwine_port
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
wgl.o: In function `wglUseFontOutlines_common':
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:943: undefined reference to `gluNewTess'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:946: undefined reference to `gluTessCallback'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:947: undefined reference to `gluTessCallback'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:948: undefined reference to `gluTessCallback'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1005: undefined reference to `gluTessBeginPolygon'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1012: undefined reference to `gluTessBeginContour'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1015: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1042: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1045: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1051: undefined reference to `gluTessEndContour'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1063: undefined reference to `gluTessEndPolygon'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1072: undefined reference to `gluDeleteTess'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1029: undefined reference to `gluTessVertex'
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32/wgl.c:1058: undefined reference to `gluTessEndContour'
collect2: ld returned 1 exit status
winegcc: x86_64-pc-linux-gnu-gcc failed.
make[2]: *** [opengl32.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/dlls/opengl32'
make[1]: *** [opengl32] Error 2
make[1]: *** Waiting for unfinished jobs....
This is with the WOW patch applied, but I get the same error with the version in portage and with your (otherside) patch.
Top
otherside
Apprentice
Apprentice
User avatar
Posts: 179
Joined: Mon Jul 01, 2002 3:42 pm

Re: wine-0.9.13 on amd64

  • Quote

Post by otherside » Thu May 18, 2006 11:05 pm

Timbers2k wrote:Here some more context, it shows a couple of steps before the failure;
It looks like you haven't properly installed libGLU.so. Check if libGLU.so exists in your 32bit library paths.
Top
Timbers2k
Apprentice
Apprentice
Posts: 215
Joined: Fri Oct 03, 2003 5:53 pm

Re: wine-0.9.13 on amd64

  • Quote

Post by Timbers2k » Fri May 19, 2006 12:11 pm

otherside wrote: It looks like you haven't properly installed libGLU.so. Check if libGLU.so exists in your 32bit library paths.
You got it. I reemerged emul-linux-x86-xlibs once I found that that contained the 32 bit libGLU. Now wine has compiled cleanly, and I'll give it a try tonight. It's kind of strange that no other opengl app had a problem.
Top
omschaub
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 132
Joined: Fri Sep 03, 2004 5:23 pm
Location: Roanoke, VA
Contact:
Contact omschaub
Website

Re: wine-0.9.13 on amd64

  • Quote

Post by omschaub » Mon May 22, 2006 8:16 pm

Timbers2k wrote:Now wine has compiled cleanly, and I'll give it a try tonight.
I am really glad you got yours to compile Timers2k.. so now, since I am on AMD64 and cannot compile wine, I will "hijack" this thread to see if anyone has any ideas why mine will not compile. I have version 0.9.6 installed through portage, but I seem to remember a patch that was needed that I found in the bugs section. From 0.9.6 on, I have not been able to get any version to compile cleanly.

In my output there are literally thousands of these

Code: Select all

Missing glyph for char 0116
Missing glyph for char 0122
Missing glyph for char 0136
Missing glyph for char 012a
Missing glyph for char 013b
Missing glyph for char 0145
Missing glyph for char 014c
Missing glyph for char 0172
Missing glyph for char 016a
Missing glyph for char 012f
Missing glyph for char 0101
Missing glyph for char 0113
Missing glyph for char 0117
I have tried this both +/- truetype with no difference

From what I can pull out of the 1000s of glyph errors, I also have this error:

Code: Select all

make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/include'
make[1]: Entering directory `/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/loader'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include    -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -march=athlon64 -O2 -pipe  -o glibc.o glibc.c

x86_64-pc-linux-gnu-gcc -o wine-glibc glibc.o -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib32` -L../libs/wine -lwine -L../libs/port -lwine_port -lpthread
x86_64-pc-linux-gnu-gcc -o wine-kthread -Wl,--export-dynamic -Wl,--section-start,.interp=0x7bf00400 -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib32` kthread.o main.o -L../libs/wine -lwine -L../libs/port -lwine_port 

main.o: In function `main':
/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/loader/main.c:57: undefined reference to `wine_pthread_set_functions'
collect2: ld returned 1 exit status


make[1]: *** [wine-kthread] Error 1
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.13/work/wine-0.9.13/loader'
make: *** [loader] Error 2
make: *** Waiting for unfinished jobs....
I have every emul-linux-x86-* installed and I have tried rebuilding mesa with no luck. I have conservative system flags as well (CFLAGS="-march=athlon64 -O2 -pipe")

My USE flags looks like this:

Code: Select all

[ebuild     U ] app-emulation/wine-0.9.13 [0.9.6] USE="X alsa arts cups gif jpeg ncurses opengl oss truetype xml% -debug -esd -glut -jack -lcms -ldap -nas -scanner" 0 kB
Any help would be greatly appreciated! Ask and any other info will be provided.
Support bacteria -- it's the only culture some people have!
Top
Timbers2k
Apprentice
Apprentice
Posts: 215
Joined: Fri Oct 03, 2003 5:53 pm

  • Quote

Post by Timbers2k » Wed May 24, 2006 3:32 pm

Wine should compile cleanly on amd64 with no patches. The only patch I use is for WoW. I have no idea what is causing your problems, and I don't have any issues like that during compile. Have you tried revdep-rebuild to make sure all other libs are updated correctly?
Top
omschaub
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 132
Joined: Fri Sep 03, 2004 5:23 pm
Location: Roanoke, VA
Contact:
Contact omschaub
Website

  • Quote

Post by omschaub » Wed May 24, 2006 4:30 pm

Timbers2k wrote:Wine should compile cleanly on amd64 with no patches. The only patch I use is for WoW. I have no idea what is causing your problems, and I don't have any issues like that during compile. Have you tried revdep-rebuild to make sure all other libs are updated correctly?
I was excited when I read your suggestion because I had not done a revdep-rebuild in several months. But with it rebuilding all the files, I get this:

Code: Select all

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild
So it looks like that is not the problem. Thanks for the suggestion though. Any other thoughts welcome!
Support bacteria -- it's the only culture some people have!
Top
Timbers2k
Apprentice
Apprentice
Posts: 215
Joined: Fri Oct 03, 2003 5:53 pm

  • Quote

Post by Timbers2k » Thu May 25, 2006 3:22 pm

How do you have glibc compiled? Do you have nptlonly? Mine looks like this:

Code: Select all

emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.6-r3  -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) +userlocales 0 kB
I'm asking because it looks like you're getting an error about pthreads.
Top
omschaub
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 132
Joined: Fri Sep 03, 2004 5:23 pm
Location: Roanoke, VA
Contact:
Contact omschaub
Website

  • Quote

Post by omschaub » Thu May 25, 2006 3:37 pm

Timbers2k wrote:How do you have glibc compiled? Do you have nptlonly? Mine looks like this:
Another great thought, but alas.. mine is the same as yours except for the userlocale

Code: Select all

[ebuild   R   ] sys-libs/glibc-2.3.6-r3  USE="nls nptl -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls -nptlonly -pic -profile -userlocales" 0 kB
Support bacteria -- it's the only culture some people have!
Top
_loKi
n00b
n00b
Posts: 16
Joined: Tue May 30, 2006 1:51 pm
Contact:
Contact _loKi
Website

multilib

  • Quote

Post by _loKi » Tue May 30, 2006 7:58 pm

What about multilib flag? I suggest you to use it for backward compatibility with 32bit apps.
loKi(home-server) : 2.6.15-gentoo-r3 , i686 Pentium III (Katmai)
Kathleen(desktop) : 2.6.16-ck10 , x86_64 AMD Athlon(tm) 64 Processor 3000+
You will be compiled. Resistance is futile.
Top
Post Reply
  • Print view

12 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic