unable to compile on SLES 10

kalyanasundaram S s.kalyanasundaram at inbox.com
Mon Jul 17 06:46:46 UTC 2006


Hi everybody i have a basic question here.
I am getting trouble in compiling the dhcp3.0.3 in SLES 10
It is giving the following error

cc -g  -I/home/dhcp-3.0.3  -I/home/dhcp-3.0.3/includes -DLINUX_MAJOR=2 -DLINUX_MINOR=6     -c -o tr.o tr.c
tr.c:62: error: expected specifier-qualifier-list before ‘__u16’
tr.c: In function ‘insert_source_routing’:
tr.c:219: error: ‘struct routing_entry’ has no member named ‘rcf’
tr.c:220: error: ‘__u16’ undeclared (first use in this function)
tr.c:220: error: (Each undeclared identifier is reported only once
tr.c:220: error: for each function it appears in.)
tr.c:220: error: expected ‘;’ before ‘rcf’
tr.c:221: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:222: error: ‘rcf’ undeclared (first use in this function)
tr.c:227: error: ‘struct routing_entry’ has no member named ‘access_time’
tr.c: In function ‘save_source_routing’:
tr.c:257: error: ‘__u16’ undeclared (first use in this function)
tr.c:257: error: expected ‘;’ before ‘rcf’
tr.c:274: error: ‘rcf’ undeclared (first use in this function)
tr.c:276: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:276: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:278: error: ‘struct routing_entry’ has no member named ‘rcf’
tr.c:279: error: ‘struct routing_entry’ has no member named ‘access_time’
tr.c:294: error: ‘struct routing_entry’ has no member named ‘access_time’
tr.c:299: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:299: error: ‘struct routing_entry’ has no member named ‘rseg’
tr.c:301: error: ‘struct routing_entry’ has no member named ‘rcf’
tr.c: In function ‘expire_routes’:
tr.c:323: error: ‘struct routing_entry’ has no member named ‘access_time’
make[2]: *** [tr.o] Error 1
make[2]: Leaving directory `/home/dhcp-3.0.3/work.linux-2.2/common'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dhcp-3.0.3/work.linux-2.2'
make: *** [all] Error 2

i was able to compile successfully on SLES 9.
Does anybody else also having the same problem? or i am missing out of something.
plz somebody help me to solve this problem,

 thanks,
   -kalyan


More information about the dhcp-users mailing list