On 9/8/07, <b class="gmail_sendername">Ken Restivo</b> &lt;<a href="mailto:ken@restivo.org">ken@restivo.org</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>On Sat, Sep 08, 2007 at 06:48:52PM -0400, Chuckk Hubbard wrote:<br>&gt; Hi.&nbsp;&nbsp;I acquired a p5 glove, and the Pd interface I found for it relies on<br>&gt; OSCx.&nbsp;&nbsp;I&#39;ve been trying to build it, having added -fPIC to it, but I get
<br>&gt; this:<br>&gt; make[1]: Entering directory `/home/chuckk/Glove/pd/externals/OSCx/src&#39;<br>&gt; cc -Wl,-export_dynamic -shared -o sendOSC.pd_linux sendOSC.o htmsocket.o<br>&gt; OSC-system-dependent.o -L../../../pd/bin -lpd -lc -lm ../libOSC/libOSC.a
<br>&gt; /usr/bin/ld: cannot find -lpd<br>&gt; collect2: ld returned 1 exit status<br>&gt; make[1]: *** [sendOSC.pd_linux] Error 1<br>&gt; make[1]: Leaving directory `/home/chuckk/Glove/pd/externals/OSCx/src&#39;<br>&gt; make: *** [all] Error 2
<br>&gt;<br>&gt;<br>&gt; I added several paths to the INCLUDES line in src/Makefile, as the guy<br>&gt; suggested, with the path to a Pd src folder, but still it can&#39;t find this<br>&gt; -lpd.&nbsp;&nbsp;I read man ld and tried searching for any kind of *libpd*, *
pd.a*, or<br>&gt; *pd.so* on my entire hard drive, and none of them exist.&nbsp;&nbsp;Should I replace<br>&gt; this -lpd with something else?&nbsp;&nbsp;I tried removing it, and it built a faulty<br>&gt; set of OSCx objects that don&#39;t work.
<br>&gt;<br><br>The linker uses -L not -I to determine its paths.<br><br>Try -L/usr/wherever/pd/libs/are/located ?</blockquote><div><br>Hi Ken, thanks for the suggestion.&nbsp; It doesn&#39;t seem to make a difference.&nbsp; There are a series of -L flags and a series of -I flags, so I&#39;m guessing whoever wrote it knew the difference.&nbsp; But I tried both.
<br>I also tried removing the -lpd flag, since, again, there is no file on my system that would satisfy it, and it built dumpOSC.pd_linux, sendOSC.pd_linux, and OSCroute.pd_linux, but Pd cannot create a dumpOSC object, while it does create the other two...
<br><br>-Chuckk<br><br><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- -ken<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG 
v1.4.6 (GNU/Linux)<br><br>iD8DBQFG40Iwe8HF+6xeOIcRAod2AKDtPy6HN+RA7YwsdbkK/AMyEjGErgCgtRyu<br>pEPOATDtCGx6A31QzKXIGPY=<br>=kE7A<br>-----END PGP SIGNATURE-----<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.badmuthahubbard.com">
http://www.badmuthahubbard.com</a>