<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> I have written one C file called test.c and I have included header file(dhcp.h) of ISC dhcp-4.2.3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">vi test.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#include<stdio.h><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#include "dhcp.h”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> int main(int argc, char** argv)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> printf("test\n");<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> return 0;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have written one makefile.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Vi Makefile<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">C_SRCS := $(wildcard *.c)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">DHCP_ROOT := home/user/dhcp-4.2.3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">CPPFLAGS += -I$(DHCP_ROOT)/includes \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/common \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/dhcpctl \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/omapip \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/includes/omapip \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/dhcp-output/include \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/bind \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/bind/include \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> -I$(DHCP_ROOT)/bind/bind-9.8.1/contrib/query-loc-0.4.0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And I have compiled using make command.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[user@new dhcpd_test]$ make<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">----- Updating test.d<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">----- Compiling test.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In file included from test.c:14:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/home/user/dhcp-4.2.3/includes/dhcp.h:52: error: expected specifier-qualifier-list before âu_int8_tâ<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What would be the problem??<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Please provide the solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>
<p> 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. </p>
<p>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. </p>
<p>
www.wipro.com
</p>
</body>
</html>