Re: compiling wine for amd64 on ubuntu dapper 6.06

2006-10-18 Thread Gerald Britton

Just tried to compile wine .23 on dapper 6.06 on AMD 64-bit.  Make all
terminated with these messages.  What does this error mean and how can
I get past it?

gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-gstabs+ -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
-g -O2  -o wowthunk.o wowthunk.c
../../tools/winebuild/winebuild -D_REENTRANT -fPIC --as-cmd as --32
-o relay16asm.o --relay16
LD_LIBRARY_PATH=../../libs/wine:$LD_LIBRARY_PATH ../../tools/wmc/wmc
-i -U -H /dev/null -o nls/winerr_deu.mc.rc nls/winerr_deu.mc
LD_LIBRARY_PATH=../../libs/wine:$LD_LIBRARY_PATH ../../tools/wmc/wmc
-i -U -H /dev/null -o nls/winerr_enu.mc.rc nls/winerr_enu.mc
../../tools/winebuild/winebuild -D_REENTRANT -fPIC --as-cmd as --32
--dll -o krnl386.exe.spec.o --dll-name kernel --main-module
kernel32.dll --res version16.res --export ./krnl386.exe.spec
LD_LIBRARY_PATH=../../libs/wine:$LD_LIBRARY_PATH ../../tools/wrc/wrc
--nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__
-D_KERNEL32_  -fokernel.res kernel.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./kernel32.spec comm.drv.spec.o krnl386.exe.spec.o stress.spec.o
system.drv.spec.o toolhelp.spec.o win87em.spec.o windebug.spec.o
atom16.o error16.o kernel16.o registry16.o toolhelp16.o win87em.o
actctx.o atom.o change.o comm.o computername.o console.o cpu.o
debugger.o dosmem.o editline.o environ.o except.o fiber.o file.o
file16.o format_msg.o global16.o heap.o instr.o kernel_main.o
lcformat.o local16.o locale.o lzexpand.o module.o ne_module.o
ne_segment.o oldconfig.o path.o powermgnt.o process.o profile.o
pthread.o relay16.o resource.o resource16.o selector.o snoop16.o
stress.o string.o sync.o syslevel.o system.o tape.o task.o thread.o
thunk.o time.o toolhelp.o utthunk.o version.o virtual.o volume.o vxd.o
windebug.o wowthunk.o   relay16asm.o kernel.res
-Wl,--image-base,0x7b80 -o kernel32.dll.so  -lntdll
../../libs/port/libwine_port.a -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32
-Wl,-rpath,/usr/lib32
/usr/sbin/prelink.bin: kernel32.dll.so: Unknown stabs code 0x2e

make[2]: Leaving directory `/tmp/wine-0.9.23/dlls/kernel32'
make[1]: Leaving directory `/tmp/wine-0.9.23/dlls'
make: *** [dlls] Error 2




Re: compiling wine for amd64 on ubuntu dapper 6.06

2006-10-02 Thread Gerald Britton

Looking at config.log, I see these messages:

configure:9418: checking for glXCreateContext in -lGL
configure:9453: gcc -m32 -o conftest -g -O2conftest.c -lGL
-L/usr/X11R6/lib -lXext -lX11 -lm   5
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libGL.so when searching
for -lGL
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libGL.so when
searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL


How does .configure determine that libGL is incompatible?

Also the second problem is much worse as it stops the make altogether:


 Relocatable linking with relocations from format elf64-x86-64
 (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.ArPHdq.o)
 is not supported




On 10/2/06, Damjan Jovanovic [EMAIL PROTECTED] wrote:

On 9/29/06, Gerald Britton [EMAIL PROTECTED] wrote:
 Hi -- I'm trying to get wine going on my ubuntu dapper installation on
 an amd 64 box. I have followed the wiki instructions in
 http://wiki.winehq.org/WineOn64bit for ubuntu and rechecked my work.
 Two things go wrong:

 1. /configure can't find opengl, and produces these messages:

 configure: WARNING: Wine will be build without OpenGL or Direct3D support
 configure: WARNING: because something is wrong with the OpenGL setup:
 configure: WARNING: No OpenGL library found on this system.

It's been a while since I compiled wine on my Ubuntu Dapper (32-bit)
box, but I had to install (too) many packages, among others
nvidia-glx-dev and maybe even some mesa ones, to get wine to detect
OpenGL. Are you sure you've got everything? Try building and running
some OpenGL samples.

Start by looking at config.log to see why wine didn't detect it.

 2. make depend works, but make all fails with this:

 LD_LIBRARY_PATH=../../libs/wine:$LD_LIBRARY_PATH ../../tools/wrc/wrc
 --nostdinc -I. -I. -I../../include -I../../include
 -I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_  -foversion.res
 version.rc
 ../../tools/winegcc/winegcc -B../../tools/winebuild -shared
 ./gdi32.spec dispdib.spec.o gdi.exe.spec.o wing.spec.o bidi16.o
 dispdib.o env.o gdi16.o metafile16.o wing.o  bidi.o bitblt.o bitmap.o
 brush.o clipping.o dc.o dib.o driver.o enhmetafile.o enhmfdrv/bitblt.o
 enhmfdrv/dc.o enhmfdrv/graphics.o enhmfdrv/init.o enhmfdrv/mapping.o
 enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o
 mapping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o
 mfdrv/init.o mfdrv/mapping.o mfdrv/objects.o mfdrv/text.o painting.o
 palette.o path.o pen.o printdrv.o region.oversion.res   -o
 gdi32.dll.so  -ladvapi32 -lkernel32 -lntdll  /usr/lib/libsicuuc.a
 /usr/lib/libsicudata.a -lstdc++ -lgcc_s ../../libs/port/libwine_port.a
 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32
 ld: Relocatable linking with relocations from format elf64-x86-64
 (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.ArPHdq.o)
 is not supported
 winebuild: ld -m elf_i386 -r failed with status 256
 winegcc: ../../tools/winebuild/winebuild failed.
 make[2]: *** [gdi32.dll.so] Error 2
 make[2]: Leaving directory `/tmp/wine-0.9.22/dlls/gdi'
 make[1]: *** [gdi] Error 2
 make[1]: Leaving directory `/tmp/wine-0.9.22/dlls'
 make: *** [dlls] Error 2



 I'm not sure what to do now.  Any feedback/suggestions would be appreciated.









Re: compiling wine for amd64 on ubuntu dapper 6.06

2006-10-02 Thread Gerald Britton

Ah.  Well on the wiki there's a note about symlinks for those libs.  I
have these:

$ ls -l /usr/lib32/libG*
lrwxrwxrwx 1 root root  21 2006-09-18 22:22
/usr/lib32/libGLcore.so.1 - libGLcore.so.1.0.8762
-rw-r--r-- 1 root root 8113728 2006-09-18 03:28 /usr/lib32/libGLcore.so.1.0.8762
-rw-r--r-- 1 root root 662 2006-09-18 03:28 /usr/lib32/libGL.la
lrwxrwxrwx 1 root root  17 2006-09-18 22:22 /usr/lib32/libGL.so.1
- libGL.so.1.0.8762
-rw-r--r-- 1 root root  540136 2006-09-18 03:28 /usr/lib32/libGL.so.1.0.8762
lrwxrwxrwx 1 root root  20 2006-08-28 23:21 /usr/lib32/libGLU.so.1
- libGLU.so.1.3.060401
-rw-r--r-- 1 root root  479244 2006-05-05 11:05 /usr/lib32/libGLU.so.1.3.060401

Is there a command to verify if the libs are 32- or 64-bit?

On 10/2/06, Robert Shearman [EMAIL PROTECTED] wrote:

Gerald Britton wrote:
 Looking at config.log, I see these messages:

 configure:9418: checking for glXCreateContext in -lGL
 configure:9453: gcc -m32 -o conftest -g -O2conftest.c -lGL
 -L/usr/X11R6/lib -lXext -lX11 -lm   5
 /usr/bin/ld: skipping incompatible
 /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libGL.so when searching
 for -lGL
 /usr/bin/ld: skipping incompatible /usr/bin/../lib/libGL.so when
 searching for -lGL
 /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching
 for -lGL
 /usr/bin/ld: cannot find -lGL


 How does .configure determine that libGL is incompatible?


When it's a 64-bit library, whereas wine is 32-bit.

--
Rob Shearman







compiling wine for amd64 on ubuntu dapper 6.06

2006-09-29 Thread Gerald Britton

Hi -- I'm trying to get wine going on my ubuntu dapper installation on
an amd 64 box. I have followed the wiki instructions in
http://wiki.winehq.org/WineOn64bit for ubuntu and rechecked my work.
Two things go wrong:

1. /configure can't find opengl, and produces these messages:

configure: WARNING: Wine will be build without OpenGL or Direct3D support
configure: WARNING: because something is wrong with the OpenGL setup:
configure: WARNING: No OpenGL library found on this system.

2. make depend works, but make all fails with this:

LD_LIBRARY_PATH=../../libs/wine:$LD_LIBRARY_PATH ../../tools/wrc/wrc
--nostdinc -I. -I. -I../../include -I../../include
-I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_  -foversion.res
version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./gdi32.spec dispdib.spec.o gdi.exe.spec.o wing.spec.o bidi16.o
dispdib.o env.o gdi16.o metafile16.o wing.o  bidi.o bitblt.o bitmap.o
brush.o clipping.o dc.o dib.o driver.o enhmetafile.o enhmfdrv/bitblt.o
enhmfdrv/dc.o enhmfdrv/graphics.o enhmfdrv/init.o enhmfdrv/mapping.o
enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o
mapping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o
mfdrv/init.o mfdrv/mapping.o mfdrv/objects.o mfdrv/text.o painting.o
palette.o path.o pen.o printdrv.o region.oversion.res   -o
gdi32.dll.so  -ladvapi32 -lkernel32 -lntdll  /usr/lib/libsicuuc.a
/usr/lib/libsicudata.a -lstdc++ -lgcc_s ../../libs/port/libwine_port.a
-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32
ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.ArPHdq.o)
is not supported
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed.
make[2]: *** [gdi32.dll.so] Error 2
make[2]: Leaving directory `/tmp/wine-0.9.22/dlls/gdi'
make[1]: *** [gdi] Error 2
make[1]: Leaving directory `/tmp/wine-0.9.22/dlls'
make: *** [dlls] Error 2



I'm not sure what to do now.  Any feedback/suggestions would be appreciated.




Re: compiling wine for amd64

2006-09-22 Thread Gerald Britton

OK -- I did all that stuff, but the build failed.

note, I used the command

 sudo apt-get --build source wine

as per the page http://www.winehq.com/site/download-deb

below are the error messages from the build.  the weird thing is I DO
haev libdl.s0.2:

$ls -l /lib32/libdl.so.2
lrwxrwxrwx 1 root root 14 2006-08-28 22:22 /lib32/libdl.so.2 - libdl-2.3.6.so

Error messages:

gcc -m32 -Wall -g -O2 -o sfnt2fnt sfnt2fnt.o -L../libs/wine -lwine
../libs/port/libwine_port.a  -lfreetype -lz
/usr/bin/ld: warning: libdl.so.2, needed by ../libs/wine/libwine.so,
not found (try using -rpath or -rpath-link)
../libs/wine/libwine.so: undefined reference to [EMAIL PROTECTED]'
../libs/wine/libwine.so: undefined reference to [EMAIL PROTECTED]'
../libs/wine/libwine.so: undefined reference to [EMAIL PROTECTED]'
../libs/wine/libwine.so: undefined reference to [EMAIL PROTECTED]'
../libs/wine/libwine.so: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[2]: *** [sfnt2fnt] Error 1
make[2]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06'
make: *** [build-stamp] Error 2
Build command 'cd wine-0.9.21~winehq0~ubuntu~6.06  dpkg-buildpackage
-b -uc' failed.





On 9/21/06, Neil Skrypuch [EMAIL PROTECTED] wrote:

On Thursday, September 21, 2006 15:30, Gerald Britton wrote:
 Hi  --  I'm running ubuntu dapper on amd64.  I want to compile wine
 but am hitting problems.  I got the dependencies just fine, but the
 compile died.  Here's what I get:

 $ sudo apt-get -y --build source wine
 Reading package lists... Done
 Building dependency tree... Done
 Skipping the already downloaded file
 'wine_0.9.21~winehq0~ubuntu~6.06-1.dsc' Skipping the already downloaded
 file
 'wine_0.9.21~winehq0~ubuntu~6.06.orig.tar.gz'
 Skipping the already downloaded file
 'wine_0.9.21~winehq0~ubuntu~6.06-1.diff.gz' Need to get 0B of source
 archives.
 Skipping unpack of already unpacked source in
 wine-0.9.21~winehq0~ubuntu~6.06 dpkg-buildpackage: source package is wine
 dpkg-buildpackage: source version is 0.9.21~winehq0~ubuntu~6.06-1
 dpkg-buildpackage: source changed by Scott Ritchie [EMAIL PROTECTED]
 dpkg-buildpackage: host architecture amd64
  debian/rules clean
 dh_testdir
 dh_testroot
 rm -f build-stamp
 # Add here commands to clean up after the build process.
 /usr/bin/make distclean
 make[1]: Entering directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06'
 make[1]: *** No rule to make target `distclean'.  Stop.
 make[1]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06'
 make: [clean] Error 2 (ignored)
 #-/usr/bin/make -C documentation clean
 cp -f /usr/share/misc/config.sub config.sub
 cp -f /usr/share/misc/config.guess config.guess
 dh_clean
  debian/rules build
 dh_testdir
 # Add here commands to configure the package.
 CFLAGS=-Wall -g -O2 ./configure --host=x86_64-linux-gnu
 --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man
 --infodir=\${prefix}/share/info
 checking build system type... x86_64-pc-linux-gnu
 checking host system type... x86_64-pc-linux-gnu
 checking whether make sets $(MAKE)... yes
 checking for x86_64-linux-gnu-gcc... gcc -m32
 checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 make: *** [config.status] Error 77
 Build command 'cd wine-0.9.21~winehq0~ubuntu~6.06  dpkg-buildpackage
 -b -uc' failed.
 E: Child process failed


 I attached the config.log.  What must I do to complete the compiles?

You probably don't have any 32 bit emul libraries installed. See
http://wiki.winehq.org/WineOn64bit for more details.

- Neil




note, I used the command
 sudo apt-get --build source wine

as per the page http://www.winehq.com/site/download-deb




compiling wine for amd64

2006-09-21 Thread Gerald Britton

Hi  --  I'm running ubuntu dapper on amd64.  I want to compile wine
but am hitting problems.  I got the dependencies just fine, but the
compile died.  Here's what I get:

$ sudo apt-get -y --build source wine
Reading package lists... Done
Building dependency tree... Done
Skipping the already downloaded file 'wine_0.9.21~winehq0~ubuntu~6.06-1.dsc'
Skipping the already downloaded file
'wine_0.9.21~winehq0~ubuntu~6.06.orig.tar.gz'
Skipping the already downloaded file 'wine_0.9.21~winehq0~ubuntu~6.06-1.diff.gz'
Need to get 0B of source archives.
Skipping unpack of already unpacked source in wine-0.9.21~winehq0~ubuntu~6.06
dpkg-buildpackage: source package is wine
dpkg-buildpackage: source version is 0.9.21~winehq0~ubuntu~6.06-1
dpkg-buildpackage: source changed by Scott Ritchie [EMAIL PROTECTED]
dpkg-buildpackage: host architecture amd64
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06'
make: [clean] Error 2 (ignored)
#-/usr/bin/make -C documentation clean
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
dh_clean
debian/rules build
dh_testdir
# Add here commands to configure the package.
CFLAGS=-Wall -g -O2 ./configure --host=x86_64-linux-gnu
--build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for x86_64-linux-gnu-gcc... gcc -m32
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [config.status] Error 77
Build command 'cd wine-0.9.21~winehq0~ubuntu~6.06  dpkg-buildpackage
-b -uc' failed.
E: Child process failed


I attached the config.log.  What must I do to complete the compiles?


config.log
Description: Binary data