Re: Double DECL_GLOBAL_CONSTRUCTOR in latest CVS

2002-07-22 Thread Michael Stefaniuc

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 GmbHEmail: [EMAIL PROTECTED]
Hauptstaetterstr. 58http://www.redhat.de/
D-70178 Stuttgart



msg10968/pgp0.pgp
Description: PGP signature


Double DECL_GLOBAL_CONSTRUCTOR in latest CVS

2002-07-22 Thread Uwe Bonnes

Hallo,

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
-- 
Uwe Bonnes[EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
- Tel. 06151 162516  Fax. 06151 164321 --