Re: Cannot load x11drv due to "undefined symbol: dllname"
Peter Hunnisett <[email protected]> Tue, 20 Jul 2004 08:31:58 -0400
| Newsgroups | gmane.comp.emulators.winex.devel |
|---|---|
| Message-ID | <[email protected]> |
James Bentler wrote: >Nothing will run for me on SuSE 9.1 on either winex HEAD or 3.3.2 compiled >from cvs. That include everything from Solitare to GTA 3. > >Googling for "undefined symbol: dllname" gave literally no matches. >Googling for "err:module:BUILTIN32_dlopen failed to load .so lib for builtin >x11drv.dll" returned many, many results, but none of the many I sifted >through were useful. I searched for a great volume of stuff on the >transgaming website and elsewhere and could find nothing about this >particular error. > > > <snip a couple of error outputs> >I already attempted several fixes including using "export >LD_ASSUME_KERNEL=2.2.5". That allowed the version tagged 3.3.2 to give the >exact same error and did nothing to the latest source from cvs. > > Ya. This is an optimization issue. You can either pass CFLAGS="-O0" (or I guess CFLAGS="|-fno-unit-at-a-time") |to configure and compile without super optimization or you can use something before gcc 3.4 which has improved the optimization potential through their new unit at a time parser (http://gcc.gnu.org/gcc-3.4/changes.html). There is something in the tree which would have worked, except for the fact that gcc kindly changed the attribute which we used to deal with such situations on us :( The other option to get around this particular problem is to change tools/winebuild/spec32.c (at least it should be that) and look for __attribute__((unused)) and change that to __attribute__((used)). >I understand that I might be more likely to receive better support for this if >I might asked in a user forum, but I am not a subscriber and will not be as >long as I can't test things out this way. > > Well CVS gets no official support even for TransGamers, and is certainly in a state of flux right now. I assure you that only people compiling this themselves with gcc 3.4 have this problem ;) Please also realize that what you get from CVS is not what's in Cedega. Ciao, Peter