using patched gcc toolchain

Adam Lackorzynski adam at os.inf.tu-dresden.de
Thu Jul 7 16:04:20 CEST 2005


On Thu Jul 07, 2005 at 15:23:20 +0200, Emanuel Thomas wrote:
> Adam Lackorzynski wrote on 06/07/05 19:16:
> > Does the following test program work?
> > 
> > #include "SDL.h"
> > int main(void)
> > {
> >   SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER);
> >   return 0;
> > }
> > 
> > gcc -W -Wall -o sdltest $(sdl-config --cflags --libs) sdltest.c
> 
> Work with the unpatched version. But with the patched version I get:
> 
> /lib/libpthread.so.0: undefined reference to `__libc_stack_end at GLIBC_2.1'
> /lib/libc.so.6: undefined reference to `_rtld_global_ro at GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `___tls_get_addr at GLIBC_2.3'
> collect2: ld returned 1 exit status
> 
> Is problem that there is no patched sdl library?

Something like this, yes. But as I said, this is a host tool, so compile
it with your host environment.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list