Bonsoir,

Je souhaite installer cedega sur ma fc5 ( a jour ). J'utilise les cvs mais au moment de la compile j'ai droit a cette erreur :
make[3]: « win32.o » est à jour.
make[3]: Leaving directory `/home/guillaume/.WineCVS/sources/cvscedega/winex/win32'
make[2]: Leaving directory `/home/guillaume/.WineCVS/sources/cvscedega/winex/dlls/ntdll'
make[2]: Entering directory `/home/guillaume/.WineCVS/sources/cvscedega/winex/dlls/kernel'
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -o time.o time.c
time.c: In function ?SetTimeZoneInformation?:
time.c:479: attention : null argument where non-null required (argument 1)
time.c: In function ?TIME_ClockTimeToFileTime?:
time.c:532: erreur: ?CLK_TCK? undeclared (first use in this function)
time.c:532: erreur: (Each undeclared identifier is reported only once
time.c:532: erreur: for each function it appears in.)
make[2]: *** [time.o] Erreur 1
make[2]: Leaving directory `/home/guillaume/.WineCVS/sources/cvscedega/winex/dlls/kernel'
make[1]: *** [kernel/libkernel32.so] Erreur 2
make[1]: Leaving directory `/home/guillaume/.WineCVS/sources/cvscedega/winex/dlls'
make: *** [dlls] Erreur 2


Error in Make

Try fixing the error based on the output above, and
run the script again, without paramaters (Eg: WineCVS.sh)
Je sais que le cvs n'est pas très efficace mais je ne peux pas payer, et pour les rpm sur amule il faut un nom d'utilisateur quand même :s

Merci de votre aide.
Tu as un probleme de symbole non declare : CLK_TCK
une recherche sur google m'a donne : http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_17.html

Macro: int CLK_TCK
This is an obsolete name for CLOCKS_PER_SEC

Apparemment, c'est lie a la libc :
Essaye la commande suivante pour voir si tu l'as qq part :
# find /usr/include -depth -exec grep CLK_TCK {} ; -print

Sur mon PC, ca m'a donne :
# ifndef CLK_TCK
# define CLK_TCK CLOCKS_PER_SEC
/usr/include/time.h
All times are in CLK_TCKths of a second. */
/usr/include/sys/times.h
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
/usr/include/bits/time.h

C'est donc lie a time.h ! As-tu ce fichier sous /usr/include ?
++
alors :

[guillaume@localhost ~]$ locate time.h
/home/guillaume/.WineCVS/sources/cvscedega/winex/include/msvcrt/time.h
/home/guillaume/.WineCVS/sources/cvscedega/winex/include/msvcrt/sys/utime.h
/home/guillaume/Logiciel/wormux-0.7.1/src/game/time.h
/usr/include/time.h
...

donc oui

et pour
# find /usr/include -depth -exec grep CLK_TCK {} ; -print :
[guillaume@localhost ~]$ find /usr/include -depth -exec grep CLK_TCK {} ; -print
_SC_CLK_TCK,
#define _SC_CLK_TCK _SC_CLK_TCK
/usr/include/bits/confname.h
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
/usr/include/bits/time.h
#define HZ sysconf(_SC_CLK_TCK)
/usr/include/asm/param.h
* gettimeofday call, then must use times and the CLK_TCK #define (from
* have HZ and no CLK_TCK, and some might not even have HZ.
# ifndef CLK_TCK
# define CLK_TCK HZ
# define CLK_TCK 60
/usr/include/tcl-private/unix/tclUnixPort.h
# ifndef CLK_TCK
# define CLK_TCK CLOCKS_PER_SEC
/usr/include/time.h
All times are in CLK_TCKths of a second. */
/usr/include/sys/times.h
Fichier binaire /usr/include/c++/4.1.0/i386-redhat-linux/bits/stdc++.h.gch/O0g.gch concorde
/usr/include/c++/4.1.0/i386-redhat-linux/bits/stdc++.h.gch/O0g.gch
Fichier binaire /usr/include/c++/4.1.0/i386-redhat-linux/bits/stdc++.h.gch/O2g.gch concorde
/usr/include/c++/4.1.0/i386-redhat-linux/bits/stdc++.h.gch/O2g.gch
Ce n'est pas pareil :-?.
Et je comprend pas vraiment ce que ça signifie.

Merci de ton aide :-D
bonjour,
laisse moi un mail je te te depannerai.
a+
Je te l'envoi par message pivée,
Merci
Salut, j'ai exactement le même problème, je passe par MP aussi ?
Pourquoi tant de discrétion ?? On a tous le même problème !
Hmm des messages privé sur un forum............................................................... bravo :/


J'ai rien d'autre a dire
Justement, c'est pour ça que je demandais s'il fallait passer en MP, ce que je trouvais bizarre :/
Bon, j'ai fait un truc, à l'arrache, mais ça semble marcher :
dans les sources, modifier le fichier dlls/kernel/time.c
remplacer la chaine CLK_TCK par par CLOCKS_PER_SEC (CLK_TCK est une instruction obsolète, remplacée par CLOCKS_PER_SEC)
Enregistrer le fichier, reprendre la compil.

Si ça passe chez les autres, faites signe, qu'on passe ça en résolu.
Chez moi ça marche, merci beaucoup!
Cependant je n'arrive pas a l'utiliser, je n'ai pas la commande cedega, ni cvscedega.

Merci

Bonne soiré!
Desoler, il faut etre root pour voir la commande,
Cependant, je n'arrive pas a installer bf2 ( qui devrait marcher )
j'ai cette erreur a la fin de la preparation de l'install :


Code d'erreur : -5009 : 0x80040154
Information d'erreur :
>KernelTextSubstitution.cpp (555)
>CtorObjectWrapper.cpp (396)
>KernelComponent.cpp (1161)
>KernelCABFile.cpp (384)
>SetupDLLSetupDLL.cpp (1701)
pAPP:Battlefield 2(TM)
PVENDOR:DICE
PGUID:04858915-9F49-4B2A-AED4-DC49A7DE6A7B
$10.50.0.125
@Windows XP (2600) BT_OTHER 15224.46416

Et dans la console :

[root@localhost ~]# cvscedega -winver winxp /media/BF2 DVD/setup.exe
fixme:win32:PE_CreateModule Security directory ignored
err:font:ReadFontDir Can't open directory "/usr/X11R6/lib/X11/fonts/truetype/"
err:font:FTAlias_FindBestBuiltins Could not create alias for serif fonts
Unable to find a sufficient number of fonts available to FreeType.
FreeType will not be loaded as a result.
FreeType could not be loaded.
This is not necessarily a fatal error, however some
applications require FreeType to be installed and
may not function or display text correctly otherwise.
Please consult the Cedega Font FAQ for more details
about this problem
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not found!
Using closest match instead (French keyboard layout) for scancode mapping.
Please define your layout in windows/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See the Wine User Guide, chapter "Keyboard" for more information.
/root/.WineCVS/installs/cvscedega/bin/wine: binary overlaps reserved area (08048000-0804c9bc)
[root@localhost ~]# fixme:win32:PE_CreateModule Security directory ignored
err:font:ReadFontDir Can't open directory "/usr/X11R6/lib/X11/fonts/truetype/"
err:font:FTAlias_FindBestBuiltins Could not create alias for serif fonts
Unable to find a sufficient number of fonts available to FreeType.
FreeType will not be loaded as a result.
FreeType could not be loaded.
This is not necessarily a fatal error, however some
applications require FreeType to be installed and
may not function or display text correctly otherwise.
Please consult the Cedega Font FAQ for more details
about this problem
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not found!
Using closest match instead (French keyboard layout) for scancode mapping.
Please define your layout in windows/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See the Wine User Guide, chapter "Keyboard" for more information.
fixme:ntdll:NtOpenThreadToken (0xfffffffe,0x00000008,0x00000000,0xb79209c0): stub
fixme:ntdll:NtQueryInformationToken (0000cafe,2,(nil),0,0xb79209bc): stub
fixme:ntdll:NtQueryInformationToken (0000cafe,2,0xb61a0120,12,0xb79209bc): stub
........


Merci de votre aide 😉