Francois Gouget fgouget@free.fr writes:
I had not tried to remove it only from the externs. It seems to do the trick, except for wine_decompose() in libs/port/decompose.c where I get the following error if I don't remove the DECLSPEC_HIDDEN:
gcc -o libwine.so.1.0 casemap.o collation.o config.o debug.o ldt.o loader.o mmap.o port.o sortkey.o string.o \ wctype.o version.o -shared -Wl,-soname,libwine.so.1 ../../libs/port/libwine_port.a -lsocket -lnsl \
Text relocation remains referenced against symbol offset in file wine_decompose 0x76 ../../libs/port/libwine_port.a(decompose.o)
I've included what seems to be the minimal patch below:
Is wine_compose also an issue, even though it's not called from libwine?