net/ifstated does not compile on 9.0-RELEASE/amd64

Hugo Silva hugo at barafranca.com
Tue Feb 14 13:37:14 UTC 2012


# make install clean
===>  License check disabled, port has not defined LICENSE
=> ifstated-4.7.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch 
http://christianserving.org/ports/net/ifstated/ifstated-4.7.tar.gz
ifstated-4.7.tar.gz                           100% of   14 kB   22 kBps
===>  Extracting for ifstated-4.7_2,1
=> SHA256 Checksum OK for ifstated-4.7.tar.gz.
===>  Patching for ifstated-4.7_2,1
===>  Applying FreeBSD patches for ifstated-4.7_2,1
===>   ifstated-4.7_2,1 depends on shared library: event - found
===>  Configuring for ifstated-4.7_2,1
===>  Building for ifstated-4.7_2,1
Warning: Object directory not changed from original 
/usr/ports/net/ifstated/work/ifstated-4.7
cc -O2 -fno-strict-aliasing -pipe -march=k8-sse3 -Wall 
-I/usr/ports/net/ifstated/work/ifstated-4.7 -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wshadow 
-Wpointer-arith -Wcast-qual -I/usr/local/include -std=gnu99 
-fstack-protector  -c ifstated.c
ifstated.c:42:19: error: event.h: No such file or directory
In file included from ifstated.c:46:
ifstated.h:50: error: field 'ev' has incomplete type
ifstated.h:110: error: field 'ev' has incomplete type
ifstated.c: In function 'main':
ifstated.c:151: warning: implicit declaration of function 'event_init'
ifstated.c:154: warning: implicit declaration of function 'signal_set'
ifstated.c:155: warning: implicit declaration of function 'signal_add'
ifstated.c:160: warning: implicit declaration of function 'evtimer_set'
ifstated.c:161: warning: implicit declaration of function 'evtimer_add'
ifstated.c:163: warning: implicit declaration of function 'event_loop'
ifstated.c: In function 'startup_handler':
ifstated.c:198: warning: implicit declaration of function 'event_set'
ifstated.c:198: error: 'EV_READ' undeclared (first use in this function)
ifstated.c:198: error: (Each undeclared identifier is reported only once
ifstated.c:198: error: for each function it appears in.)
ifstated.c:198: error: 'EV_PERSIST' undeclared (first use in this function)
ifstated.c:199: warning: implicit declaration of function 'event_add'
ifstated.c: In function 'external_evtimer_setup':
ifstated.c:423: warning: implicit declaration of function 'evtimer_del'
ifstated.c: In function 'remove_expression':
ifstated.c:763: warning: implicit declaration of function 'event_del'
*** Error code 1

Stop in /usr/ports/net/ifstated/work/ifstated-4.7.
*** Error code 1

Stop in /usr/ports/net/ifstated.




Regards,

Hugo


More information about the freebsd-questions mailing list