cc -g -D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" -I.. -I../includes -DLINUX_MAJOR=2 -DLINUX_MINOR=6 -c -o tr.o tr.c
tr.c:34: error: expected specifier-qualifier-list before ‘__u16’
tr.c: In function ‘insert_source_routing’:
tr.c:191: error: ‘struct routing_entry’ has no member named ‘rcf’
tr.c:192: error: ‘__u16’ undeclared (first use in this function)
tr.c:192: error: (Each undeclared identifier is reported only once
tr.c:192: error: for each function it appears in.)
tr.c:192: error: expected ‘;’ before ‘rcf’
tr.c:193: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:194: error: ‘rcf’ undeclared (first use in this function)
tr.c:199: error: ‘struct routing_entry’ has no member named ‘access_time’
tr.c: In function ‘save_source_routing’:
tr.c:229: error: ‘__u16’ undeclared (first use in this function)
tr.c:229: error: expected ‘;’ before ‘rcf’
tr.c:246: error: ‘rcf’ undeclared (first use in this function)
tr.c:248: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:248: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:250: error: ‘struct routing_entry’ has no member named ‘rcf’
tr.c:251: error: ‘struct routing_entry’ has no member named ‘access_time’
tr.c:266: error: ‘struct routing_entry’ has no member named ‘access_time’
tr.c:271: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:271: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:273: error: ‘struct routing_entry’ has no member named ‘rcf’
tr.c: In function ‘expire_routes’:
tr.c:295: error: ‘struct routing_entry’ has no member named ‘access_time’
make[2]: *** [tr.o] Error 1
make[2]: Leaving directory `/usr/src/ubuntu/foo/dhcp-2.0pl5/common'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/ubuntu/foo/dhcp-2.0pl5'
make: *** [build-stamp] Error 2
Fixed with the upload of dhcp_2. 0pl5-19. 4ubuntu1