guile-user
[Top][All Lists]
Advanced

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

Problems compiling guile-sdl


From: Paul Furber
Subject: Problems compiling guile-sdl
Date: Wed, 23 Jun 2004 13:05:26 +0200

Hi all,
I get an error when trying to compile guile-sdl-0.2.3:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include
-I../sdl-gfx/SDL_gfxPrimitives -I./SDL_rotozoom -g -O2 -Wall -pedantic
-Wno-long-long -pipe -I/usr/include/SDL -D_REENTRANT -MT sdlsurface.lo
-MD -MP -MF .deps/sdlsurface.Tpo -c sdlsurface.c  -fPIC -DPIC -o
.libs/sdlsurface.o
In file included from sdlsurface.c:477:
sdlsurface.x: In function `gsdl_init_surface':
sdlsurface.x:4: error: `smob' undeclared (first use in this function)
sdlsurface.x:4: error: (Each undeclared identifier is reported only once
sdlsurface.x:4: error: for each function it appears in.)
sdlsurface.x:4: warning: `return' with a value, in function returning
void
sdlsurface.x:5: warning: `return' with a value, in function returning
void
sdlsurface.x:6: warning: `return' with a value, in function returning
void
sdlsurface.x:7: warning: `return' with a value, in function returning
void
make[4]: *** [sdlsurface.lo] Error 1

Guile-1.6.4, sdl-1.2.6, gcc-3.3.3-r5 on x86 Gentoo.
Looks like sdlsurface can't find where smob is declared which shouldn't
happen. Anyone else come across this? 

paul.





reply via email to

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