[Wine] Re: compile will not link from elf64-x86-64 to elf32-i386

syazdani at gmail.com syazdani at gmail.com
Mon Mar 19 00:47:27 CDT 2007


I was unable to run the ar command, but hacking the Makefile to say
-licuuc and -licudata, instead of -L/usr/local/lib/libicuuc.a etc,
helped
the compiler to continue. I'm guessing that's a valid hack as well.

Cheers,
Soroosh
Octoploid wrote:
> jason.rothfuss at gmail.com wrote:
> > Hi,
> >
> > I had the same problem, and solved it using this technique on Ubuntu
> > 6.06 / dapper:
> >
> > STEP 1:  Download ICU library source from
> > http://www-306.ibm.com/software/globalization/icu/downloads.jsp
> >
> > STEP 2: Untar what you just downloaded
> > $ tar zxvf icu-3.4.1.tgz
> >
> > STEP 3: Run the configure script in this manner:
> > $ LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32
> > -Wl,-rpath,/usr/lib32" CC="gcc -m32" CXX="g++ -m32" ./configure
> >
> > STEP 4: Build the ICU libraries
> > $ make
> >
> > STEP 5: Manually create the libsicuuc.a archive:
> > $ ar t /usr/lib/libsicuuc.a | sed -e 's/ao$/o/' | perl -e 'while(<>){
> > chomp($_); print "find . -name $_ | xargs ar uv libsicuuc.a\n"; }' >
> > mkar.sh
> > $ sh mkar.sh
>
>
> You forgot a 'r'. It should read: xargs ar uvr libsicuuc.a
>
>
> >
> > STEP 6: Copy the archive to /usr/lib32
> > $ cp libsicuuc.a /usr/lib32/
> >
> > STEP 7: Hack the wine dlls/gdi/Makefile to include the archive you just
> > copied to /usr/lib32
> > Change:
> > EXTRALIBS = /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++
> > -lgcc_s
> > -to-
> > EXTRALIBS = /usr/lib32/libsicuuc.a /usr/lib/libsicudata.a -lstdc++
> > -lgcc_s
> >
> > STEP 8: Continue with the 'make all' step in compiling wine.
> >
> > After doing this, I had a working version of wine.  Kind of a pain to
> > go through, but I was expecting worse.
> >



More information about the wine-users mailing list