multiple Definition von `DllMainCRTStartup @ 12 'beim Erstellen von glew auf Windows mit mingw32

Ich bin diesem Thema gefolgt:Building Glew auf Windows mit MingW aber hier ist etwas schief gelaufen:

gcc -shared -Wl, -soname, libglew32.dll -Wl, -out-implib, lib / libglew32.dll.a -o lib / glew32.dll src / glew.o -L / mingw / lib -lglu32 - lopengl32 -lgdi32 -luser32 -lkernel32

Ich erhalte diesen Fehler:

C: \ MinGW \ dev_lib \ glew-2.0.0> gcc -shared -Wl, -soname, libglew32.dll -Wl, -out-implib, lib / libglew32.dll.a -o lib / glew32.dll src /glew.o -L / mingw / lib -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32 src / glew.o: glew.c :(. text + 0x28f80): mehrfache Definition von `DllMainCRTStartup @ 12 'c: / mingw / bin /../ lib / gcc / mingw32 / 4.9.3 /../../../ dllcrt2.o :(. text + 0x60): hier zuerst definiert collect2.exe: Fehler: ld hat 1 Exit-Status zurückgegeben

Danke für die Hilfe

Antworten auf die Frage(2)

Ihre Antwort auf die Frage