<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Mq_getattr is defined in mqueue.h<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Assuming the source has this included, then you need to make sure you compile/link with –lrt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Did you check that?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also, mqueue.h is part of the package libc6-dev or glibc-devel.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Is this all installed correctly?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> clfs-support-bounces@lists.cross-lfs.org [mailto:clfs-support-bounces@lists.cross-lfs.org]
<b>On Behalf Of </b>William Harrington<br>
<b>Sent:</b> Thursday, May 30, 2013 10:45 PM<br>
<b>To:</b> CLFS Support<br>
<b>Subject:</b> Re: [Clfs-support] gcc-4.8.0 clfs<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">Begin forwarded message:<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">From:
</span></b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">bvl <<a href="mailto:bvl@btconnect.com">bvl@btconnect.com</a>></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">Date:
</span></b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">May 30, 2013 6:28:50 PM CDT</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">To:
</span></b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif""><a href="mailto:clfs-support@lists.cross-lfs.org">clfs-support@lists.cross-lfs.org</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">Cc:
</span></b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">William Harrington <<a href="mailto:kb0iic@berzerkula.org">kb0iic@berzerkula.org</a>>, Martin Ward <<a href="mailto:macros_the_black@ntlworld.com">macros_the_black@ntlworld.com</a>></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">Subject:
</span></b><b><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">Re: [Clfs-support] gcc-4.8.0 clfs</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Thursday 30 May 2013 12:47:37 William Harrington wrote:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I'll update my working book and right now I'm doing a powerpc target  <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><br>
<br>
Following my recent  emails   to the list I am a bit more successful after <br>
trying MWard's WHarrington's updates  over the last few days .  I  shall <br>
hopefully  make a report soon.  You may all recall my build is amd64 (pure64). <br>
I  reached as far as udev-182 with the build.  I am using the  instructions in <br>
the clfs dev book of a few days ago. namely:-<br>
<br>
./configure --prefix=/usr \<br>
 --sysconfdir=/etc --with-rootprefix="" \<br>
 --libexecdir=/lib --bindir=/sbin \<br>
 --with-usb-ids-path=no --with-pci-ids-path=no \<br>
 --enable-rule_generator --disable-introspection \<br>
 --disable-keymap --disable-gudev<br>
<br>
Make ends like so:-<br>
#---------------------<br>
 CCLD   udevadm<br>
 CC     src/udevd-udev-event.o<br>
 CC     src/udevd-udev-watch.o<br>
 CC     src/udevd-udev-node.o<br>
 CC     src/udevd-udev-rules.o<br>
 CC     src/udevd-udev-ctrl.o<br>
 CC     src/udevd-udev-builtin.o<br>
 CC     src/udevd-udev-builtin-blkid.o<br>
 CC     src/udevd-udev-builtin-firmware.o<br>
 CC     src/udevd-udev-builtin-hwdb.o<br>
 CC     src/udevd-udev-builtin-input_id.o<br>
 CC     src/udevd-udev-builtin-kmod.o<br>
 CC     src/udevd-udev-builtin-path_id.o<br>
 CC     src/udevd-udev-builtin-usb_id.o<br>
 CC     src/udevd-udevd.o<br>
 CC     src/udevd-sd-daemon.o<br>
 CCLD   udevd<br>
src/udevd-sd-daemon.o: In function `sd_is_mq':<br>
/udev-182/src/sd-daemon.c:394: undefined reference to `mq_getattr'<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [udevd] Error 1<br>
#--------<br>
<br>
Advice would be appreciated.<br>
<br>
sincerely<br>
bv<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
</body>
</html>