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 ... 7aa692f9b1
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: Select all
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.
Code: Select all
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
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgphoto2.a when searching for -lgphoto2
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgphoto2.so when searching for -lgphoto2
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgphoto2.a when searching for -lgphoto2
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-log.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-portability.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-result.o)' is incompatible with i386 output
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x47): undefined reference to `lt_dlopenext'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x60): undefined reference to `lt_dlsym'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x70): undefined reference to `lt_dlsym'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0xcb): undefined reference to `lt_dlclose'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x151): undefined reference to `lt_dlerror'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x18a): undefined reference to `lt_dlclose'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x1cf): undefined reference to `lt_dlclose'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `foreach_func':
(.text+0x1d9): undefined reference to `lt_dlerror'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `gp_port_info_list_load':
(.text+0x430): undefined reference to `lt_dlinit'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `gp_port_info_list_load':
(.text+0x438): undefined reference to `lt_dladdsearchdir'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `gp_port_info_list_load':
(.text+0x448): undefined reference to `lt_dlforeachfile'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port-info-list.o): In function `gp_port_info_list_load':
(.text+0x44f): undefined reference to `lt_dlexit'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_free':
(.text+0x1ead): undefined reference to `lt_dlclose'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_free':
(.text+0x1eb2): undefined reference to `lt_dlexit'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2224): undefined reference to `lt_dlclose'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2229): undefined reference to `lt_dlexit'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2231): undefined reference to `lt_dlinit'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2245): undefined reference to `lt_dlopenext'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x226d): undefined reference to `lt_dlsym'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2511): undefined reference to `lt_dlerror'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2549): undefined reference to `lt_dlexit'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x2558): undefined reference to `lt_dlerror'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x259e): undefined reference to `lt_dlclose'
/usr/lib/x86_64-linux-gnu/libgphoto2_port.a(libgphoto2_port_la-gphoto2-port.o): In function `gp_port_set_info':
(.text+0x25a3): undefined reference to `lt_dlexit'
collect2: ld returned 1 exit status
winegcc: gcc-4.4 failed
make[1]: *** [gphoto2.ds.so] Error 2
make[1]: Leaving directory `/home/laurent/Desktop/wine-1.5.3/dlls/gphoto2.ds'
make: *** [dlls/gphoto2.ds] Error 2
This is kind of frustrating, I've never been able to compile wine and can't find any information to help me.
Thanks for any help!