<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px"><font color="#ff0000">You have uninstalled Xcode using the uninstall-devtools script?</font></span><div><font face="arial, sans-serif"><font color="#000000">yes. after that i have sent the /Applications/Xcode to the trash and emptied the trash.</font></font></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><font color="#ff0000">You have reinstalled Xcode from the App Store?</font></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><font color="#000000">no. i have installed it from apple developers site, this time.</font></span></div>

<div><font color="#ff0000"><span style="font-family:arial,sans-serif;font-size:13px">You have reinstalled the command line tools?</span></font></div><div><font face="arial, sans-serif"><font color="#000000">yes, i have reinstalled the command-line-tools of April from apple developer&#39;s site.</font></font></div>

<div><font face="arial, sans-serif"><font color="#000000"><br>
</font></font></div><div><span style="font-family:arial,sans-serif;font-size:13px">Indeed, line:74 is in my /usr/include/sys/cdefs.h file is identical to what you have written. for your convenience I am attaching this file with this mail. </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style>finally, i have been able to install pdflib. I have removed macports completely. and then fresh installation of macport worked. but after that atlas was taking a lot of time to be installed. i will resume that installation later. </div>
<div style><br></div><div style>thanks for your reply. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 29, 2013 at 8:39 PM, Ryan Schmidt <span dir="ltr">&lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Jul 29, 2013, at 11:55, Avijit Shee wrote:<br>
<div class="im">&gt; On Mon, Jul 29, 2013 at 1:11 PM, Avijit Shee wrote:<br>
&gt;&gt; Basically, I have reinstalled Xcode and trying it fresh now after facing the problem before. Previously, I had installed command-line-tools inside Xcode. But then following the suggestion of this forum i reinstalled command-line-tools from apple developer&#39;s site. I had not explicitly removed previous command-line-tools. Now, i am doing the following:<br>

&gt;&gt; sudo /Developer/Library/uninstall-devtools –mode=all<br>
&gt;&gt; after that i will reiterate all the process. what are the suggestions? Thanks again.<br>
&gt;<br>
</div><div class="im">&gt; still, i have not been able to install pdflib. i will appreciate your suggestions. is it a code error? i have unsuccessfully tried with different version of command line tools.<br>
<br>
<br>
</div>So, please confirm:<br>
<br>
You have uninstalled Xcode using the uninstall-devtools script?<br>
You have reinstalled Xcode from the App Store?<br>
You have reinstalled the command line tools?<br>
It still fails with the error message &quot;/usr/include/strings.h:74:47: error: expected function body after function declarator&quot;?<br>
<br>
Line 74 of /usr/include/strings.h reads:<br>
<br>
int      bcmp(const void *, const void *, size_t) __POSIX_C_DEPRECATED(200112L);<br>
<br>
Character 47 is the beginning of __POSIX_C_DEPRECATED. __POSIX_C_DEPRECATED should be defined in /usr/include/sys/cdefs.h like this:<br>
<br>
#define __POSIX_C_DEPRECATED(ver) ___POSIX_C_DEPRECATED_STARTING_##ver<br>
<br>
Could you attach your copy of /usr/include/sys/cdefs.h so we can check if it&#39;s the same as ours?<br>
<br>
</blockquote></div><br></div>