On Wed Jul 06, 2005 at 18:41:20 +0200, Emanuel Thomas wrote:
> Adam Lackorzynski wrote on 06/07/05 17:54:
> >>>Which libraries do you mean?
> >>
> >>/lib/libpthread.so.0
> >>/lib/libc.so
> > 
> > 
> > Except for the build tools itself those libraries are not used.
> 
> I'm compiling the ux version of Fiasco. I get an error while linking 
> ux_con (see below).
> 
> The problem seems to be the linker. Its still /usr/bin/ld and not the 
> one from the tool chain. Is there a way to change that?
> 
> [...]
> chmod 755 kernel.image
> ln -sf kernel.image fiasco
>    ... Making irq0.o
>    ==> Linking irq0
>    ... Stripping irq0
>    ... Making ux_con.o
>    ==> Linking ux_con
> /lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
> /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
> /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
> collect2: ld returned 1 exit status
> make[5]: *** [ux_con] Error 1

ux_con is a Linux host program and has actually nothing to do with L4
per se. It's just a program to visualize a framebuffer. It is compiled
and linked with $(CC). Maybe the problem is that glibc and the libsdl
don't fit quite well?

Does the following test program work?

#include "SDL.h"
int main(void)
{
  SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER);
  return 0;
}

with
gcc -W -Wall -o sdltest $(sdl-config --cflags --libs) sdltest.c


Adam
-- 
Adam                 [EMAIL PROTECTED]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Reply via email to