mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] SDL_gfx .mk file


From: Stefan Pietzonke
Subject: [Mingw-cross-env-list] SDL_gfx .mk file
Date: Mon, 22 Aug 2011 14:05:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Icedove/3.0.11

Hi!
I wrote a sdl_gfx.mk and sdl_gfx-test.c file.
It' compiled and installed SDL_gfx, so it works.

Now I have trouble compiling my project:
(make.txt:)

i686-pc-mingw32-gcc -O0 -g -ffast-math -fomit-frame-pointer -O3 -s -D_WIN32 -o flow.exe main.o mem.o gadgets.o socket.o string.o sound.o -lSDLmain -lSDL_mixer -lSDL_ttf -lSDL_net -lSDL_image -lSDL_gfx -lSDL -L../lib -lwsock32
Warning: resolving address@hidden by linking to _WinMain
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
/opt/mingw-cross/usr/lib/gcc/i686-pc-mingw32/4.6.1/../../../../i686-pc-mingw32/lib/libSDL_mixer.a(dynamic_ogg.o): In function `Mix_InitOgg': /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_ogg.c:106: undefined reference to `_ov_clear' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_ogg.c:107: undefined reference to `_ov_info' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_ogg.c:108: undefined reference to `_ov_open_callbacks' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_ogg.c:109: undefined reference to `_ov_pcm_total' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_ogg.c:110: undefined reference to `_ov_read' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_ogg.c:111: undefined reference to `_ov_time_seek' /opt/mingw-cross/usr/lib/gcc/i686-pc-mingw32/4.6.1/../../../../i686-pc-mingw32/lib/libSDL_mixer.a(dynamic_mod.o): In function `Mix_InitMOD': /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_mod.c:235: undefined reference to `_MikMod_Exit' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_mod.c:236: undefined reference to `_MikMod_InfoDriver' /opt/mingw-cross/tmp-sdl_mixer/SDL_mixer-1.2.11/dynamic_mod.c:237: undefined reference to `_MikMod_InfoLoader'

---------------- snip ----------------------------------------------------------

I have attached the files. However I get no undefined reference to SDL_gfx.
I don't know whats wrong here...

cu

Stefan Pietzonke

Attachment: sdl_gfx.mk
Description: Text document

Attachment: sdl_gfx-test.c
Description: Text Data

Attachment: make.txt
Description: Text document


reply via email to

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