Double DECL_GLOBAL_CONSTRUCTOR in latest CVS

Michael Stefaniuc mstefani at redhat.com
Mon Jul 22 17:32:29 CDT 2002


Hello,

got the same error, but Alexander fixed it 15 minutes later (the fix is
already in CVS).

On Mon, Jul 22, 2002 at 11:29:11PM +0200, Uwe Bonnes wrote:
> copiling a recent CVS, I got:
> 
> gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
> -mpreferred-stack-boundary=2 -fPIC -D__WINE__  -D_REENTRANT
> -I/usr/X11R6/include -o mouse/main.o mouse/main.c
> mouse/main.c:217: warning: `mousedev' defined but not used
> ld -r  device.o dinput_main.o joystick/linux.o joystick/linuxinput.o
> keyboard/main.o mouse/main.o      -o dinput.dll.tmp.o
> keyboard/main.o: In function `DECL_GLOBAL_CONSTRUCTOR':
> /home/bon/tmp/wine/compile/wine/dlls/dinput/keyboard/main.c(.text+0x380):
> multiple definition of `DECL_GLOBAL_CONSTRUCTOR'
> joystick/linuxinput.o(.text+0x550):/home/bon/tmp/wine/compile/wine/dlls/dinput/joystick/linuxinput.c:
> first defined here
> make: *** [dinput.dll.tmp.o] Fehler 1
> 

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020723/bad82030/attachment.pgp


More information about the wine-devel mailing list