error compiling slirp

j.hakert j.hakert at macnews.de
Thu May 3 22:40:21 PDT 2007


As I try to install slirp the compiler has problems with some system  
header files:

Error: Target com.apple.build returned: shell command " cd "/opt/ 
local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_comms_slirp/work/slirp-1.0.16/src" && make all " returned error 2
Command output: gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/ 
auth.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/bsd-comp.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/ccp.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/chap.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/fsm.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/ipcp.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/lcp.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/magic.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/md5.c
gcc -I. -I. -DUSE_PPP -DUSE_MS_DNS  -O2 -O2  -c ./ppp/pppdfncs.c
In file included from ./ppp/pppdfncs.c:31:
/usr/include/utmp.h:75: error: parse error before 'time_t'
/usr/include/utmp.h:78: error: parse error before '}' token
make: *** [pppdfncs.o] Error 1

Error: Status 1 encountered during processing.

can anybudy help here?
Thx jersine



More information about the macports-users mailing list