Problem solved for multiple libc environments
Ing. Gianluca Alberici
alberici at abinetworks.biz
Tue Apr 6 09:44:32 CDT 2004
Hello,
I have downloaded wine-20040309 on a mixed gcc 2.96 - glibc 2.2 / gcc3 -
glibc 2.3
system ( i have gcc3 - glibc 2.3 in /usr/local/gcc3/ as prefix).
Configuring with --prefix=/usr/local/gcc3 and LDFLAGS=-Wl,
--dynamic-linker=/usr/local/gcc3/lib/ld-linux.so.2
does NOT extends linker flags to winetools Makefile so as i tried to
compile (or make depend) i got an
error GLIBC2.3 not found and so on...
I have then found a possibile patch modifying the Makefile in 'tools'
after configuration so that linking
bin2res, makedep, and fnt2bdf the gcc is passed the right LDFLAGS:
@line 310, tools/Makefile after configuring
makedep: makedep.o
$(CC) $(CFLAGS) $(LDFLAGS) -o makedep makedep.o
fnt2bdf: fnt2bdf.o
$(CC) $(CFLAGS) $(LDFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
bin2res: bin2res.o
$(CC) $(CFLAGS) $(LDFLAGS) -o bin2res bin2res.o $(LIBPORT)
I really dont know whether thats a clean solution but it works.
Bye,
Gianluca
More information about the wine-patches
mailing list