ports/net/ntop compile fails for FreeBSD 5.2.1

Jens Roeder jens at alph.ptch.nat.tu-bs.de
Fri Oct 15 07:05:59 PDT 2004


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=pentiumpro -g -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g
-DFREEBSD -O -pipe -mcpu=pentiumpro -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
.libs/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


-- 
-----------------------------------------------------------------------------
Physikalische und Theoretische Chemie der TU-Braunschweig
Jens Röder, Hans-Sommer Str.10, 38106 Braunschweig
-----------------------------------------------------------------------------


More information about the freebsd-ports mailing list