unable to compile on SLES 10

kalyanasundaram S s.kalyanasundaram at inbox.com
Tue Jul 18 05:17:15 UTC 2006


Thanks glenn for replying ,
i have seen the changes.. __u16 has been chanegd to u_int16_t.
I want to know why it is happening and is it bug?. It can not be bug. becaz it works well in SLES 9.
why not in SLES 10. If i include <linux/types.h> or <asm/types.h> in tr.c it works fine.
can you explain why it is happening.?

thanks,
  -"kalyan"
 
> Hi Kalyan,
> 
> Have you tried dhcp-3.0.4? There's a bunch of changes in the 3.0.4 tr.c
> regarding definitions of various types. Looks like this might be all
> fixed in the newer version.
> 
> % diff dhcp-3.0.3/common/tr.c dhcp-3.0.4/common/tr.c
> 7c7
> <  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
> ---
>>  * Copyright (c) 2004-2005 by Internet Systems Consortium, Inc. ("ISC")
> 31c31
> < "$Id: tr.c,v 1.7.2.2 2004/06/10 17:59:21 dhankins Exp $ Copyright (c)
> 2004
> Internet Systems Consortium.  All rights reserved.\n";
> ---
>> "$Id: tr.c,v 1.7.2.3 2005/09/08 21:19:21 dhankins Exp $ Copyright (c)
> 2004-2005 Internet Systems Consortium.  All rights reserved.\n";
> 62,63c62,63
> <         __u16 rcf;                      /* route control field */
> <         __u16 rseg[8];                  /* routing registers */
> ---
>>         u_int16_t rcf;                      /* route control field */
>>         u_int16_t rseg[8];                  /* routing registers */
> 220c220
> <                                 __u16 rcf = rover->rcf;
> ---
>>                                 u_int16_t rcf = rover->rcf;
> 257c257
> <         __u16 rcf = 0;
> ---
>>         u_int16_t rcf = 0;
> 
> regards,
> -glenn
> 
> >Hi everybody i have a basic question here.
> >I am getting trouble in compiling the dhcp3.0.3 in SLES 10
> >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