Problems compiling SLiRP

Problems compiling SLiRP

Post by Adam P Whitn » Tue, 07 May 1996 04:00:00



Could some kind person help this poor soul with compiling SLiRP?

I'm running Slackware Linux 1.3.20 and gcc version 2.7.0  (on a 486).

I'm trying to compile slirp-1.0c
I used the --disable-ppp flag with configure. (I have the same problems
without it)
When I type "make" I see:

gcc -I. -I.   -g -O -O2 -Wall -Wno-implicit -Wmissing-prototypes -c ./cksum.c
In file included from /usr/include/linux/socket.h:6,
                 from /usr/include/sys/socket.h:5,
                 from /usr/include/netinet/in.h:23,
                 from ./slirp.h:83,
                 from ./cksum.c:37:
/usr/include/linux/uio.h:18 redefinition of 'struct iovec'
make: *** [cksum.o] Error 1

The makefile gives up at this point.

Can anyone give me any suggestions / advice / help?  (pretty please)  :)

Thanks,
Adam

--

_.,-+~"`^`"~+-,._.,-+~"`^`"~+-,._.,-+~"`^`"~+-,._.,-+~"`^`"~+-,._.,-+~"`^

*               http://www.public.iastate.edu/~apw                      *
^`"~+-,._.,-+~"`^`"~+-,._.,-+~"`^`"~+-,._.,-+~"`^`"~+-,._.,-+~"`^`"~+-,._

 
 
 

1. Problem compiling SLiRP on FreeBSD 3.1

Hello all.
   I just switched my system over to 3.1 and can't get
SLiRP to compile. When I try it, I get this error.

gcc -I. -I. -DUSE_PPP -g -O -O2 -Wall -Wno-implicit -Wmissing-prototypes -c ./tcp_subr.c
./tcp_subr.c:241: parse error before `('
./tcp_subr.c:244: parse error before `{'
./tcp_subr.c:250: parse error before `if'
*** Error code 1

I don't have this problem when I compile it on FreeBSD 2.2.5.
Does it have something to do with ELF? If so, how do you get gcc to
use a.out instead of ELF?

I did, however, copy over the compiled version from my 2.2.5 machine,
and it seems to work. But I'd really like to know what the problem is.

   Thanks.
 --Dan

-------------------------------------------------------------------

 University Publications   -   Computer Coordinator   -   852-0716
-------------------------------------------------------------------
                 I doubt, therefore I might be.

2. DITTO Max tape drive in 2.2.5?

3. PPP+SLiRP OK but CSLIP+SLiRP has display problem

4. linux-2.5.38-mm2 cleanups

5. Slirp Slirp

6. IDE CD-RW setup in Storm Linux

7. SliRp/Minicom: Starting Slirp through minicom?

8. mini CLI (command line interphase)

9. Slirp Slirp

10. Slirp: Dial with minicom to shell then telnet to other shell to use slirp?

11. Slirp compile error: Linux 2.0.33

12. Compiling SLiRP for Linux...

13. crypt function when compiling slirp disabled (RH5.0)