CFLAGS="-m32 $(CFLAGS)" LDFLAGS="-L/usr/lib32 $(LDFLAGS)" ./configure I notice here some strange lines: ... checking whether we need to define __i386__... no ... configure: lib(n)curses 32-bit development files not found, curses won't be supported. configure: libv4l 32-bit development files not found. When I do make: Code: /usr/bin/ld: i386:x86-64 architecture of input file `hash.o' is incompatible with i386 output /usr/bin/ld: final link failed: Invalid operation collect2: ld returned 1 exit status make[1]: *** [widl] Error 1 make[1]: Leaving directory `/media/backup/wine/tools/widl' make: *** [tools/widl] Error 2 I did symlink lib32 to wine directory and install all I found about wine. Thanks in advance[/code]
> CFLAGS="-m32 $(CFLAGS)" LDFLAGS="-L/usr/lib32 $(LDFLAGS)" ./configureDid you follow the steps on WineOn64bit page? http://wiki.winehq.org/WineOn64bit Your CFALGS and LDFLAGS don't look correct. $(...) is command substitution, similar to `...` in bash: http://www.gnu.org/software/bash/manual/bashref.html#Command-Substitution You probably want something more like: CFLAGS="-m32 ${CFLAGS}" LDFLAGS="-L/usr/lib32 ${LDFLAGS}" ./configure --verbose Again, using bash, ${...} is a parameter expansion, not a command substitution.
Thanks for your reply, but with this flags result is the same Code: gcc -m32 -m32 -o widl client.o expr.o hash.o header.o proxy.o server.o typegen.o typelib.o typetree.o utils.o widl.o write_msft.o parser.tab.o parser.yy.o ../../libs/wpp/libwpp.a ../../libs/port/libwine_port.a -L/usr/lib32 /usr/bin/ld: i386:x86-64 architecture of input file `hash.o' is incompatible with i386 output /usr/bin/ld: final link failed: Invalid operation collect2: ld returned 1 exit status make[1]: *** [widl] Error 1 make[1]: Leaving directory `/media/backup/wine/tools/widl' make: *** [tools/widl] Error 2 Do you have any other ideas?[/code]
Wow it helps! Thanks a lot! But I get one error in any simple command Code: houdini at mozart:/media/backup/wine$ wine --version ERROR: ld.so: object '/lib/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded: ignored. wine-1.3.0 This error appeared a lot of times during install. Do you know how to fix it? Thanks again[/code]
Possibly Parallel Threads
- Libiberty/mkstemps compile problem
- error on compiling wine 0.9.6 on fedora core 4 - wine 0.9.5 works!
- Re: Cannot install vcrun6 or mfc42 using winetricks /Ubuntu10.04
- Wine on Mint9 vs Ubuntu10.04
- Re: Cannot install vcrun6 or mfc42 using winetricks /Ubuntu10.04