Re: Compiling wine gphoto2 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jjmckenzie wrote:
> 
> cyphaw wrote:
> > 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:
> > 
> > Code:
> > 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.


Yes, I know but I can't find which packages are needed, and it doesn't seem necessary according to the wiki



> 
> > 
> > [code]make[1]: 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.
> 
> James


Well, I'm not on purpose, but it seems that it's what's happening, do you have any idea of how to correct that?
I used CC="gcc-4.4 -m32" LDFLAGS="-m32 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v during configure. Do I need to specify some things when I launch make? I really can't figure it out.







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux