[Top][All Lists]

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

Re: [Chicken-users] install sdl.egg with mingw32?

From: Jong-Hyouk Yun
Subject: Re: [Chicken-users] install sdl.egg with mingw32?
Date: Mon, 25 Jun 2007 23:58:59 +0900

Same errors with above versions.

my installing procedure are...

1. chicken-setup -f sdl
2. bzip2 -dc sdl.egg | tar xvf -
3. edit sdl/Makefile
sdlCFLAGS=-C -Ic:/codeblocks/include/SDL
sdlLDADD=-L -lmingw32 -lSDLmain -lSDL \
    -L -lSDL_ttf \
    -L -lSDL_image \
    -L -lSDL_gfx \
    -L -lSDL_net
4. chicken-setup sdl.setup

then I got...
sdl.c:1: warning: -fPIC ignored for target (all code is position independent)
sdl.c: In function `stub497':
sdl.c:2226: warning: implicit declaration of function `gettimeofday'
Cannot export .idata$4: symbol not found
Cannot export .idata$5: symbol not found
Cannot export .idata$6: symbol not found
Cannot export .text: symbol not found
Cannot export SDL_ttf_NULL_THUNK_DATA: symbol not found
sdl.o:sdl.c:(.text+0x22622): undefined reference to `gettimeofday'
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc sdl.o -lchicken -o -
fPIC -shared -L"C:\Program Files\Chicken\lib" -Wl,-R"C:\Program Files\Chicken\li
b" -lmingw32 -lSDLmain -lSDL -lSDL_ttf -lSDL_image -lSDL_gfx -lSDL_net  -lws2_32
make: *** [] Error 1
Error: shell invocation failed with non-zero return status
"make extension"

I'm really appreciate about all your's concern about this :-)
(I really like chicken-scheme's people and felix)

Anyway, when I got such errors? when libraries are broken? may I have some unittests about libraries?


2007/6/25, Brandon Van Every <address@hidden>:
On 6/25/07, Alex Queiroz <address@hidden> wrote:
> Hallo,
> On 6/25/07, felix winkelmann <address@hidden > wrote:
> > On 6/24/07, Jong-Hyouk Yun <address@hidden> wrote:
> > >
> > > what's wrong, or more simple method there? anybody has succeed sdl.egg +
> > > mingw32?
> >
> > I think you are the first person who actually tries to use it on mingw.
> > sdl.scm should include <winsock2.h> if _WIN32 is defined and omit the
> > inclusion of netinet/in.h.
> >
>      No, he's the second. :-)

Third.  I can't remember if I got it working or not.   I remember
doing it under MSYS, because compiling SDL under straight MinGW wasn't
possible and I didn't know if I could just use MSVC binaries.  Anyways
it was a PITA because of all the needed SDL components.  I've migrated
mostly to a laptop now, and haven't set up MSYS there, nor do I want
MSYS, or SDL for that matter, so I got lazy about responding to this.
I suppose I could try the straight MSVC binaries and see if they work

Brandon Van Every

Chicken-users mailing list

reply via email to

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