Re: Compiling wine gphoto2 error

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

 



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?







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

  Powered by Linux