<?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: Dynamic linked libraries with Coldfire in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Dynamic-linked-libraries-with-Coldfire/m-p/135452#M1625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Bia,&lt;/P&gt;&lt;P&gt;The ColdFire forum is more structured for device specific questions/issues.&lt;/P&gt;&lt;P&gt;For uClinux best to contact the &lt;A href="http://www.wildrice.com/coldfire" rel="nofollow" target="_blank"&gt;http://www.wildrice.com/coldfire&lt;/A&gt; forum.&amp;nbsp; They are uClinux experts and therefore gnu tools experts.&lt;/P&gt;&lt;P&gt;Regards, David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2006 20:20:47 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2006-05-18T20:20:47Z</dc:date>
    <item>
      <title>Dynamic linked libraries with Coldfire</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Dynamic-linked-libraries-with-Coldfire/m-p/135451#M1624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;Hello everybody,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;I am trying to compile an application that uses xmlsec to uclinux. Xmlsec requires libxslt, libxml2, openssl, and libcrypto libraries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;I have ported all of these libs to uclinux (xmlsec, libxslt, libxml2, openssl, and libcrypto).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;However when I try to compile an application that uses xmlsec (vbsign1) to uclinux I get the following error (cannot find -ldl):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit-frame-pointer -m5307 -DCONFIG_COLDFIRE -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -DXMLSEC_CRYPTO_OPENSSL -I/home/usuarios/hargrave/uClinux-vb/include -I/home/usuarios/hargrave/uClinux-vb/include/include -I/home/usuarios/hargrave/uClinux-vb/include/openssl -I/home/usuarios/hargrave/uClinux-vb/lib/libssl -I/home/usuarios/hargrave/uClinux-vb/lib/libssl/ssl -I/home/usuarios/hargrave/uClinux-vb/lib/libssl/crypto -I/home/usuarios/hargrave/uClinux-vb/uClibc -I/home/usuarios/hargrave/uClinux-vb/uClibc/include -I/home/usuarios/hargrave/uclib5/include -I/home/usuarios/hargrave/uclib5/include/libxml2 -I/home/usuarios/hargrave/uclib5/include/libxslt -I/home/usuarios/hargrave/uclib5/include/libexslt -I/home/usuarios/hargrave/uclib5/include/xmlsec1 -Wall -fno-common -fno-builtin -nostdinc -DUSE_SYSLOG -Wl,-elf2flt -Wl,-move-rodata -nostartfiles /home/usuarios/hargrave/uClinux-vb/lib/crt0.o -o vbsign1 vbsign1.o&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; -L/home/usuarios/hargrave/uClinux-vb/lib -L/home/usuarios/hargrave/uClinux-vb/lib/libssl -L/home/usuarios/hargrave/uclib5/lib -lcrypto -lssl /home/usuarios/hargrave/uclib5/lib/libxmlsec1-openssl.a /home/usuarios/hargrave/uclib5/lib/libxmlsec1.a -ldl /home/usuarios/hargrave/uclib5/lib/libxslt.a /home/usuarios/hargrave/uclib5/lib/libxml2.a -lpthread -lm -lc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;/usr/local/m68k-elf/bin/ld.real: cannot find –ldl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;I have some questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;1- Is it possible to have dynamic linked libraries in uclinux ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;2- Is it possible to use libdl with uclinux ? How ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;3- Is it possible that all libs used by xmlsec are statically linked to xmlsec and not dynamic ? I really don´t know where this –ldl comes from ….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;I am using uclinux-dist 20041215, toolchain 20030314, linux kernel 2.4.x, Coldfire and Gentoo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;on PC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;Bia.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 21:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Dynamic-linked-libraries-with-Coldfire/m-p/135451#M1624</guid>
      <dc:creator>Bia</dc:creator>
      <dc:date>2006-05-10T21:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic linked libraries with Coldfire</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Dynamic-linked-libraries-with-Coldfire/m-p/135452#M1625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Bia,&lt;/P&gt;&lt;P&gt;The ColdFire forum is more structured for device specific questions/issues.&lt;/P&gt;&lt;P&gt;For uClinux best to contact the &lt;A href="http://www.wildrice.com/coldfire" rel="nofollow" target="_blank"&gt;http://www.wildrice.com/coldfire&lt;/A&gt; forum.&amp;nbsp; They are uClinux experts and therefore gnu tools experts.&lt;/P&gt;&lt;P&gt;Regards, David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 20:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Dynamic-linked-libraries-with-Coldfire/m-p/135452#M1625</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2006-05-18T20:20:47Z</dc:date>
    </item>
  </channel>
</rss>

