--- linux-user/signal.c +++ linux-user/signal.c 2007/02/12 12:47:45 @@ -389,6 +389,8 @@ { int sig; target_siginfo_t tinfo; + + //printf("host_signal_handler, signum %d\n",host_signum); /* the CPU emulator uses some host signals to detect exceptions, we we forward to it some signals */ --- Makefile +++ Makefile 2007/02/12 12:48:38 @@ -27,7 +27,7 @@ ifndef CONFIG_DARWIN ifndef CONFIG_WIN32 ifndef CONFIG_SOLARIS -LIBS+=-lrt +LIBS+=-lrt -lpthread endif endif endif --- Makefile.target +++ Makefile.target 2007/02/12 12:47:45 @@ -181,8 +181,8 @@ ######################################################### -CPPFLAGS+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -LIBS+=-lm +CPPFLAGS+=-D_GNU_SOURCE -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +LIBS+=-lm -lrt -lpthread ifndef CONFIG_USER_ONLY LIBS+=-lz endif