unable to compile on SLES 10
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.?
> 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
> < * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
>> * Copyright (c) 2004-2005 by Internet Systems Consortium, Inc. ("ISC")
> < "$Id: tr.c,v 184.108.40.206 2004/06/10 17:59:21 dhankins Exp $ Copyright (c)
> Internet Systems Consortium. All rights reserved.\n";
>> "$Id: tr.c,v 220.127.116.11 2005/09/08 21:19:21 dhankins Exp $ Copyright (c)
> 2004-2005 Internet Systems Consortium. All rights reserved.\n";
> < __u16 rcf; /* route control field */
> < __u16 rseg; /* routing registers */
>> u_int16_t rcf; /* route control field */
>> u_int16_t rseg; /* routing registers */
> < __u16 rcf = rover->rcf;
>> u_int16_t rcf = rover->rcf;
> < __u16 rcf = 0;
>> u_int16_t rcf = 0;
> >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
> >plz somebody help me to solve this problem,
More information about the dhcp-users