[Wine] Re: Compiling wine gphoto2 error
wineforum-user at winehq.org
Sat May 5 22:28:18 CDT 2012
> Hello there.
> I usually get my wine binaries through PlayonLinux, but this time, I want to get a patched version of wine, so I tried to compile it myself, and failed, so I'm here to ask for help.
> So I have a debian sid 64 bits, I'm trying to compile a 32 bits version of wine 1.5.3
> So I followed the wiki here http://wiki.winehq.org/WineOn64bit#head-64ba498d52dd0a3ccae1c52c5d913d7aa692f9b1
> I downloaded the source and patched it without problem.
> Then I used
> CC="gcc-4.4 -m32" LDFLAGS="-m32 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v --prefix=/home/laurent/Desktop/compiled
> I get the 5 following warnings that don't seem to be problematic:
> configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
> configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
> configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
> configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
> configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.
You need to find and install the 32 bit libraries for all dependencies for Wine. This is causing multiple problems for your 32 bit build.
> [code]make: Entering directory `/home/laurent/Desktop/wine-1.5.3/dlls/gphoto2.ds'
> ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./gphoto2.ds.spec capability.o ds_image.o gphoto2_main.o ui.o gphoto2.res -o gphoto2.ds.so -lcomctl32 -luser32 -lgdi32 -ladvapi32 ../../libs/port/libwine_port.a -L/usr/lib/x86_64-linux-gnu -lgphoto2 -lgphoto2_port -lm -L/usr/lib/x86_64-linux-gnu -lgphoto2_port -m32 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgphoto2.so when searching for -lgphoto2
You are trying to build a 32 bit program against a 64 bit library. This is not working here for libgphoto2.
More information about the wine-users