error compiling wine

Saulius Krasuckas Saulius.Krasuckas at
Tue May 20 14:45:52 CDT 2003

  today I did:

[s2 at localhost wine-cvs]$ cat ./run
#export CVSROOT=:pserver:cvs at
export CVSROOT=:pserver:cvs at
cvs login
cvs -z 3 checkout wine
#cvs update -PAd

[s2 at localhost wine-cvs]$ ./run
<skipped />

  and got:

[s2 at localhost wine]$ cd wine && tools/wineinstall
<skipped />
Compiling WINE. Grab a lunch or two, rent a video, or whatever,
in the meantime...
<skipped />
make[1]: Leaving directory `/usr/src/wine-cvs/wine/include'
make[1]: Entering directory `/usr/src/wine-cvs/wine/miscemu'
gcc -o wine -Wl,--section-start,.interp=0x3c000100 main.o  -L../dlls
-lntdll.dll -L../libs/wine -lwine -L../libs/unicode -lwine_unicode
-L../libs/port -lwine_port
./dlls/ undefined reference to `SetWaitableTimer'
./dlls/ undefined reference to `CancelWaitableTimer'
./dlls/ undefined reference to `CreateWaitableTimerA'
collect2: ld returned 1 exit status
make[1]: *** [wine] Error 1
make[1]: Leaving directory `/usr/src/wine-cvs/wine/miscemu'
make: *** [miscemu] Error 2

Compilation failed, aborting install.

  after I did some "patching" and got:

[s2 at localhost wine]$ pico miscemu/
[s2 at localhost wine]$ cvs diff -u miscemu/
cvs server: Diffing .
cvs server: Diffing miscemu
Index: miscemu/
RCS file: /home/wine/wine/miscemu/,v
retrieving revision 1.20
diff -u -r1.20
--- miscemu/ 30 Apr 2003 17:17:48 -0000      1.20
+++ miscemu/ 20 May 2003 19:37:09 -0000
@@ -14,7 +14,7 @@

-       $(CC) -o $@ $(LDEXECFLAGS) $(OBJS) -L$(DLLDIR) -lntdll.dll
+       $(CC) -o $@ $(LDEXECFLAGS) $(OBJS) -L$(DLLDIR) $(LIBWINE)

 install:: $(MODULE)
        $(MKINSTALLDIRS) $(bindir)

[s2 at localhost wine]$ rm config.cache && tools/wineinstall
<skipped />
Preparing to install default Wine registry entries...
Installing default Wine registry entries...

wine: failed to initialize: /usr/src/wine-cvs/wine/dlls/
undefined symbol: SetWaitableTimer
Registry install failed.

  although wine got compiled, IMHO there are some problems with recent CVS
as it is related to some Timer-migration, right?

  any ideas on how to fix it?
  and how should I find patch which made build to fail? should i apply
diffs by hand? or is it possible to use "cvs" here?

  thank you all for you patience and usefull info :)

More information about the wine-users mailing list