error compiling wine

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


  today I did:

[s2 at localhost wine-cvs]$ cat ./run
#!/bin/bash
#export CVSROOT=:pserver:cvs at cvs.winehq.com:/home/wine
export CVSROOT=:pserver:cvs at rhlx01.fht-esslingen.de:/home/wine
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/libntdll.dll.so: undefined reference to `SetWaitableTimer'
./dlls/libntdll.dll.so: undefined reference to `CancelWaitableTimer'
./dlls/libntdll.dll.so: 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/Makefile.in
[s2 at localhost wine]$ cvs diff -u miscemu/
cvs server: Diffing .
cvs server: Diffing miscemu
Index: miscemu/Makefile.in
===================================================================
RCS file: /home/wine/wine/miscemu/Makefile.in,v
retrieving revision 1.20
diff -u -r1.20 Makefile.in
--- miscemu/Makefile.in 30 Apr 2003 17:17:48 -0000      1.20
+++ miscemu/Makefile.in 20 May 2003 19:37:09 -0000
@@ -14,7 +14,7 @@
 LDEXECFLAGS = @LDEXECFLAGS@

 $(MODULE): $(OBJS)
-       $(CC) -o $@ $(LDEXECFLAGS) $(OBJS) -L$(DLLDIR) -lntdll.dll
$(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LDFLAGS)
+       $(CC) -o $@ $(LDEXECFLAGS) $(OBJS) -L$(DLLDIR) $(LIBWINE)
$(LIBUNICODE) $(LIBPORT) $(LDFLAGS)

 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/ntdll.dll.so:
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