Date: Fri, 15 Oct 2004 16:05:58 +0200 (CEST) From: Jens Roeder <jens@alph.ptch.nat.tu-bs.de> To: ports@FreeBSD.org Subject: ports/net/ntop compile fails for FreeBSD 5.2.1 Message-ID: <Pine.LNX.4.58.0410151604040.25839@alph.ptch.nat.tu-bs.de>
next in thread | raw e-mail | index | archive | help
Hi, to compile ntop from the ports on FreeBSD 5.2.1 fails with the following messages: cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include -I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/zlib-1.1.4 -I/usr/local/include -I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3 -I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -g -DFREEBSD -O -pipe -mcpu=3Dpentiumpro -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g -DFREEBSD -O -pipe -mcpu=3Dpentiumpro -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c address.c -MT address.lo -MF .deps/address.TPlo -MD -MP -fPIC -DPIC -o =2Elibs/address.lo In file included from ntop.h:318, from address.c:21: /usr/include/sys/sched.h: In function `sched_pin': /usr/include/sys/sched.h:106: error: `curthread' undeclared (first use in this function) /usr/include/sys/sched.h:106: error: (Each undeclared identifier is reported only once /usr/include/sys/sched.h:106: error: for each function it appears in.) /usr/include/sys/sched.h: In function `sched_unpin': /usr/include/sys/sched.h:112: error: `curthread' undeclared (first use in this function) gmake[2]: *** [address.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop-2.2/ntop' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop-2.2/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. any suggestings what I can do to get it run? JR --=20 ---------------------------------------------------------------------------= -- Physikalische und Theoretische Chemie der TU-Braunschweig Jens R=F6der, Hans-Sommer Str.10, 38106 Braunschweig ---------------------------------------------------------------------------= --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.58.0410151604040.25839>