ISC DHCP-4.2.3 compilation issue

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Tue Jan 31 11:22:02 UTC 2012


Hi,
                I am using dhcp-4.2.3 source code.
Inside dhcp-4.2.3/includes/dhcpd.h
Line no:417      struct class *classes [PACKET_MAX_CLASSES]

Declared and used as struct class , when I tried to compile with c++ compiler , its throwing an error ..
Since I m using c++ compiler , this statement declaration in various file giving error.

Also I have searched this usage in code.
[amin at csc dhcp-4.2.3]$ grep -rl "struct class" *
client/dhclient.c
common/parse.c
dhcpctl/omshell.c
includes/dhcpd.h
includes/statement.h
relay/dhcrelay.c
r.txt
server/db.c
server/omapi.c
server/mdb.c
server/class.c
server/ldap.c
server/salloc.c
server/confpars.c
tests/t_api_dhcp.c


How to resolve it??
Please let me know.


Thanks
Ameen S

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120131/d2c0de35/attachment.html>


More information about the dhcp-users mailing list