<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: failed building ltib with can4linux package in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149015#M455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;thank you very much for your help!&lt;/DIV&gt;&lt;DIV&gt;I haven´t solved the problem,&amp;nbsp; but it´s nice to have people ready to help!&lt;/DIV&gt;&lt;DIV&gt;i have tried what you said but I always find the same problem, also when I try installing many other packages....&lt;/DIV&gt;&lt;DIV&gt;If you have any other idea...&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;Nevertheles, thank you very much!!!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 23:12:19 GMT</pubDate>
    <dc:creator>susan07</dc:creator>
    <dc:date>2008-04-22T23:12:19Z</dc:date>
    <item>
      <title>failed building ltib with can4linux package</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149013#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Hello everybody!&lt;BR /&gt;I have tried to install can4linux package with ltib and I found some errors. I have been looking for this error in Internet but I haven found anything. I would be very grateful if somebody could help me saying what I must look or do. thank you very much!!!&lt;BR /&gt;&lt;BR /&gt;Those are the errors:&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;Processing: can4linux&lt;BR /&gt;=======================&lt;BR /&gt;&lt;BR /&gt;Cowardly refusing to clobber existing directory:&lt;BR /&gt;/home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpm/BUILD/can4linux-examples&lt;BR /&gt;Remove this by hand if you really want to rebuild this package from scratch&lt;BR /&gt;&lt;BR /&gt;scbuild/scdeploy already unpacked package&lt;BR /&gt;&lt;BR /&gt;Processing: can4linux&lt;BR /&gt;=======================&lt;BR /&gt;rpmbuild --dbpath /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpmdb --define '_unpackaged_files_terminate_build 0' --define '_target_cpu m68knommu' --define '__strip strip' --define '_topdir /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpm' --define '_prefix /usr' --define '_tmppath /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/dist/lfs-5.1/can4linux/can4linux.spec&lt;BR /&gt;Executing(%build): /bin/sh -e /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp/rpm-tmp.78032&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ cd /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpm/BUILD&lt;BR /&gt;+ cd can4linux-examples&lt;BR /&gt;+ make 'CFLAGS=-Wall -I../can4linux-3.3.3 -DUSE_RT_SCHEDULING'&lt;BR /&gt;gcc can_send.o -o can_send&lt;BR /&gt;can_send.o: In function `main':&lt;BR /&gt;can_send.c&lt;IMG alt="" border="0" src="http://linuxquestions.cachefly.net/images/questions/images/smilies/frown.gif" /&gt;.text+0x428): undefined reference to `mlockall'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make: *** [can_send] Error 1&lt;BR /&gt;error: Bad exit status from /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp/rpm-tmp.78032 (%build)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RPM build errors:&lt;BR /&gt;Bad exit status from /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp/rpm-tmp.78032 (%build)&lt;BR /&gt;Failed building can4linux&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;f_buildrpms() returned an error, exiting&lt;BR /&gt;&lt;BR /&gt;Started: Sun Mar 30 09:51:53 2008&lt;BR /&gt;Ended: Sun Mar 30 09:52:02 2008&lt;BR /&gt;Elapsed: 9 seconds&lt;BR /&gt;&lt;BR /&gt;These packages failed to build:&lt;BR /&gt;can4linux&lt;BR /&gt;Build Failed&lt;/DIV&gt;&lt;!--   / message   --&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 18:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149013#M453</guid>
      <dc:creator>susan07</dc:creator>
      <dc:date>2008-04-21T18:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: failed building ltib with can4linux package</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149014#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;hi,&lt;BR /&gt;on you're log, I see that the package is already unpacked...&lt;BR /&gt;Do you made it yourself (with ltib -m prep -p can4linux), or it was unpacked on a previous complete build ?&lt;BR /&gt;If it's the second choice, try to delete this folder (rpm/BUILD/can4linux) before trying, once again...&lt;BR /&gt;The reason can be that you stop the compilation before it ends and, without luck, you stop it while it was unpacking this package... So the folder exists, but there's not all sources inside...&lt;BR /&gt;&lt;BR /&gt;Good luck !&lt;BR /&gt;&lt;BR /&gt;CimCim&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 20:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149014#M454</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-04-21T20:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: failed building ltib with can4linux package</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149015#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;thank you very much for your help!&lt;/DIV&gt;&lt;DIV&gt;I haven´t solved the problem,&amp;nbsp; but it´s nice to have people ready to help!&lt;/DIV&gt;&lt;DIV&gt;i have tried what you said but I always find the same problem, also when I try installing many other packages....&lt;/DIV&gt;&lt;DIV&gt;If you have any other idea...&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;Nevertheles, thank you very much!!!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 23:12:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149015#M455</guid>
      <dc:creator>susan07</dc:creator>
      <dc:date>2008-04-22T23:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: failed building ltib with can4linux package</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149016#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;hi !&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;can_send.o: In function `main':can_send.c: (.text+0x428): undefined reference to `mlockall'collect2: ld returned 1 exit status&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;Hum, after some reflexion, this looks like some missing library !!!&lt;BR /&gt;&lt;/DIV&gt;The function "mlockall" should be a part of a library (sorry, i don't know which one), and this library might be missing...&lt;BR /&gt;I think you have to check where this function is from, and if this library is well cross compiled...&lt;BR /&gt;If all this conditions are ok, verify that the library is accessible by the cross compiler !!!!&lt;BR /&gt;&lt;BR /&gt;Good luck !!&lt;BR /&gt;&lt;BR /&gt;CimCim&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:51:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/failed-building-ltib-with-can4linux-package/m-p/149016#M456</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2020-10-29T08:51:00Z</dc:date>
    </item>
  </channel>
</rss>

