Karl A. Krueger writes: > I'm having a good deal of trouble getting SLiRP to compile under Debian > 2.0. I'm using the slirp-1.0c source code, available from > blitzen.canberra.edu.au, under /pub/slirp. configure runs fine; but when > attempting to actually make the binary, I get a stream of errors. > > The first: > > gcc -I. -I. -DUSE_PPP -g -O -O2 -c ./ppp/pppdfncs.c > In file included from slirp.h:264, > from ppp/ppp.h:27, > from ppp/pppd.h:29, > from ./ppp/pppdfncs.c:39: > ppp.p:21: conflicting types for `logwtmp' > /usr/include/utmp.h:53: previous declaration of `logwtmp' > make: *** [pppdfncs.o] Error 1
I believe that this is caused by the different utmp format in glibc2. > So ... has anyone successfully massaged the SLiRP source to get it to > compile under a modern Linux? Mind sharing your hints or patches? Has > anyone picked SLiRP up where Dan Gasparovski left it off three years ago? > Has anyone (for that matter) a good replacement for SLiRP's functionality? Why not fetch the debianized source codes and take a look at the diff.gz file? -- H Huang