Hello list,
Any ideas on how to fix this?
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/sched.h usability... no
checking sys/sched.h presence... yes
configure: WARNING: sys/sched.h: present but cannot be compiled
configure: WARNING: sys/sched.h: check for missing prerequisite headers?
configure: WARNING: sys/sched.h: see the Autoconf documentation
configure: WARNING: sys/sched.h: section "Present But Cannot Be
Compiled"
configure: WARNING: sys/sched.h: proceeding with the preprocessor's result
configure: WARNING: sys/sched.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------- ##
configure: WARNING: ## Report this to the ntop lists. ##
configure: WARNING: ## ------------------------------- ##
checking for sys/sched.h... yes
checking pthread.h usability... yes
$ gmake
gmake all-recursive
gmake[1]: Entering directory `/smb/ntop-4.0.1'
Making all in .
gmake[2]: Entering directory `/smb/ntop-4.0.1'
if /usr/local/bin/bash ./libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
-I/usr/local/include -DFREEBSD -I/usr/local/include
-I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -DPIC -MT address.lo -MD -MP -MF
".deps/address.Tpo" -c -o address.lo address.c; \
then mv -f ".deps/address.Tpo" ".deps/address.Plo"; else rm -f
".deps/address.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
-I/usr/local/include -DFREEBSD -I/usr/local/include -I/opt/local/include
-g -O2 -I/usr/local/include -I/opt/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -DPIC -MT address.lo -MD -MP -MF
.deps/address.Tpo -c address.c -fPIC -DPIC -o .libs/address.o
In file included from ntop.h:250,
from address.c:21:
/usr/include/sys/sched.h: In function `sched_pin':
/usr/include/sys/sched.h:103: error: `curthread' undeclared (first use
in this function)
/usr/include/sys/sched.h:103: error: (Each undeclared identifier is
reported only once
/usr/include/sys/sched.h:103: error: for each function it appears in.)
/usr/include/sys/sched.h: In function `sched_unpin':
/usr/include/sys/sched.h:109: error: `curthread' undeclared (first use
in this function)
In file included from ntop.h:524,
from address.c:21:
globals-core.h: At top level:
globals-core.h:449: warning: declaration of 'hostCreation' shadows a
global declaration
globals-structtypes.h:1134: warning: shadowed declaration is here
gmake[2]: *** [address.lo] Error 1
gmake[2]: Leaving directory `/smb/ntop-4.0.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/smb/ntop-4.0.1'
gmake: *** [all] Error 2
P8888:/smb/ntop-4.0.1
Thanks
Phil
--
Phillip Lynn
Software Engineer II
NetWolves
Phone:813-579-3214
Fax:813-882-0209
Email: [email protected]
www.netwolves.com
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop