<URL: http://bugs.freeciv.org/Ticket/Display.html?id=29557 >

> [dmarks - So 21. Jan 2007, 11:56:07]:
> 
> On 1/21/07, Christian Prochaska <[EMAIL PROTECTED]>
> wrote:
> >
> > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=29557 >
> >
> > > [dmarks - So 21. Jan 2007, 11:12:47]:
> > >
> > > On 1/21/07, Christian Prochaska <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=29557 >
> > > >
> > > > > [dmarks - So 21. Jan 2007, 09:51:18]:
> > > > >
> > > > > On 1/21/07, Christian Prochaska
> <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > >
> > > > > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=29557 >
> > > > > >
> > > > > > > [dmarks - So 21. Jan 2007, 09:31:09]:
> > > > > > >
> > > > > > > On 1/21/07, Christian Prochaska
> <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > > > >
> > > > > > > > <URL:
> http://bugs.freeciv.org/Ticket/Display.html?id=29557 >
> > > > > > > >
> > > > > > > > What output do you get when you enter "nm libguiclient.a
> | grep
> > > > > > > > zoomSurface" in client/gui-sdl?
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > ibg3:~/freeciv/client/gui-sdl daniel$ nm libguiclient.a |
> grep
> > > > > zoomSurface
> > > > > > > nm: no name list
> > > > > > > nm: no name list
> > > > > > >          U _zoomSurface
> > > > > > >
> > > > > >
> > > > > > And "nm SDL_rotozoom.o"?
> > > > > >
> > > > > >
> > > > >
> > > > > There no such file in the gui-sdl/ directory.
> > > > >
> > > >
> > > > Did you run autogen.sh after applying the patch?
> > > >
> > > >
> > >
> > > Yes I did, but that file is not created.
> > >
> >
> > And when you run "make clean" in gui-sdl before compiling?
> >
> >
> 
> It didn't make any difference. Isn't it a problem that the ".o" isn't
> created?
> 

It's a problem, because the *.o files contain the binary code that gcc
generates from the *.c source files. The error message you got ("ld:
Undefined symbols: _zoomSurface") means that the binary code of the
zoomSurface() function could not be found. It's supposed to be stored in
SDL_rotozoom.o, because the source code of the zoomSurface() function is
defined in SDL_rotozoom.c. But for some reason SDL_rotozoom.c doesn't
seem to get compiled on your machine. 

What output do you get from "cat Makefile | grep SDL_rotozoom" in the
gui-sdl directory?


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to