[Wine] Re: Compiling wine gphoto2 error

cyphaw wineforum-user at winehq.org
Sun May 6 09:08:04 CDT 2012


I actually solved it. Kind of. I'm not sure if what I did was right or not, but I was able to continue to compile and use wine without any problems (yet?)

I directly went to gphoto2.ds directory, and launch the compilation command manually, but removing the 64bits flags.

I launch that:

Code:
../../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 -lgphoto2 -lgphoto2_port -lm -lgphoto2_port -m32 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32

 

Instead of that:

Code:
../../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 



The compilation worked of gphoto2 worked, then I went back to the main source folder, launch make again, and the compilation finished without problems (it worked with 1.3.37 and 1.5.3, didn't test with 1.4).

Is that a good way of solving the problem or not? Can it cause problems later?







More information about the wine-users mailing list