Hi, tcpemu is a global variable (declared in slirp/misc.h). A later "static" declaration raises a compilation error with newer gcc versions. The patch fixes the declaration in slirp/tcp_subr.c.
Regards Stefan
Index: slirp/tcp_subr.c =================================================================== RCS file: /sources/qemu/qemu/slirp/tcp_subr.c,v retrieving revision 1.12 diff -u -r1.12 tcp_subr.c --- slirp/tcp_subr.c 26 Oct 2007 19:34:46 -0000 1.12 +++ slirp/tcp_subr.c 1 Nov 2007 10:22:57 -0000 @@ -559,7 +559,7 @@ {0, 0, 0, 0} }; -static struct emu_t *tcpemu = 0; +struct emu_t *tcpemu; /* * Return TOS according to the above table