paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] undefined references to SDL_main


From: nandrats
Subject: Re: [paragui-users] undefined references to SDL_main
Date: Thu, 27 Jun 2002 13:47:46 -0500


This is the output I get:

c++  -g -O2  -o listbox.exe  listbox.o -L/usr/local/lib -L/usr/local/lib
-lparagui -lmingw32 -lSDLmain -lSDL -mwindows -lz -lSDL_image
-Lc:/progra~1/FreeType/lib -lfreetype -lstdc++
c++ -DPACKAGE=\"paratest\" -DVERSION=\"1.0.0\"  -I. -I.././test
-I/usr/local/include -I/usr/local/include/paragui -Ic:/progra~1/FreeType/include
 -Ic:/progra~1/FreeType/include/freetype2 -I/usr/local/include
-I/usr/local/include/SDL -Dmain=SDL_main    -g -O2 -c animation.cpp
c++  -g -O2  -o animation.exe  animation.o -L/usr/local/lib -L/usr/local/lib
-lparagui -lmingw32 -lSDLmain -lSDL -mwindows -lz -lSDL_image
-Lc:/progra~1/FreeType/lib -lfreetype -lstdc++
c++ -DPACKAGE=\"paratest\" -DVERSION=\"1.0.0\"  -I. -I.././test
-I/usr/local/include -I/usr/local/include/paragui -Ic:/progra~1/FreeType/include
 -Ic:/progra~1/FreeType/include/freetype2 -I/usr/local/include
-I/usr/local/include/SDL -Dmain=SDL_main    -g -O2 -c dropdown.cpp
c++  -g -O2  -o dropdown.exe  dropdown.o -L/usr/local/lib -L/usr/local/lib
-lparagui -lmingw32 -lSDLmain -lSDL -mwindows -lz -lSDL_image
-Lc:/progra~1/FreeType/lib -lfreetype -lstdc++
C:\msys\1.0\local\lib/libSDLmain.a(SDL_main.o.b): In function `console_main':
//c/Mingw32/Visual-MinGW/SDL-1.2.4/src/main/SDL_main.c:227: undefined reference
to `SDL_main'
make: *** [dropdown.exe] Error 1

I looked at the source for dropdown and there is nothing special that could
explain this.

NIC




Alexander Pipelka <address@hidden> on 06/26/2002 05:28:08 PM

Please respond to address@hidden

To:   paragui-users <address@hidden>
cc:    (bcc: Nicolaus H. Andratschke/MDACC)

Subject:  Re: [paragui-users] undefined references to SDL_main



What's the compilation command for apps that are working ?
Is there any difference to the ones *not* working ?

I personally don't see any flaws in the log.

Which sample apps are working ?
Which ones do not ?

Maybe we'll get a clue with this information.

Alex

Am Mit, 2002-06-26 um 19.32 schrieb address@hidden:
>
>
> When compiling the test apps, some (dropdown e.g.) produce errors for
undefined
> references to SDL_main. Others like "animation" compileand execute just fine.
> I only see that problem on WinNT/98 and not with Linux.
>
> This is the error code:
> $ make
> c++  -g -O2  -o dropdown.exe  dropdown.o -L/usr/local/lib -L/usr/local/lib
> -lparagui -lmingw32 -lSDLmain -lSDL -mwindows -lz -lSDL_image
> -Lc:/progra~1/FreeType/lib -lfreetype -lstdc++
> C:\msys\1.0\local\lib/libSDLmain.a(SDL_main.o.b): In function `console_main':
> //c/Mingw32/Visual-MinGW/SDL-1.2.4/src/main/SDL_main.c:227: undefined
reference
> to `SDL_main'
> make: *** [dropdown.exe] Error 1
>
> Thanks,
>
> NIC
>
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users




_______________________________________________
paragui-users mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users









reply via email to

[Prev in Thread] Current Thread [Next in Thread]