On 9/8/07, <b class="gmail_sendername">Ken Restivo</b> <<a href="mailto:ken@restivo.org">ken@restivo.org</a>> 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>> Hi. I acquired a p5 glove, and the Pd interface I found for it relies on<br>> OSCx. I've been trying to build it, having added -fPIC to it, but I get
<br>> this:<br>> make[1]: Entering directory `/home/chuckk/Glove/pd/externals/OSCx/src'<br>> cc -Wl,-export_dynamic -shared -o sendOSC.pd_linux sendOSC.o htmsocket.o<br>> OSC-system-dependent.o -L../../../pd/bin -lpd -lc -lm ../libOSC/libOSC.a
<br>> /usr/bin/ld: cannot find -lpd<br>> collect2: ld returned 1 exit status<br>> make[1]: *** [sendOSC.pd_linux] Error 1<br>> make[1]: Leaving directory `/home/chuckk/Glove/pd/externals/OSCx/src'<br>> make: *** [all] Error 2
<br>><br>><br>> I added several paths to the INCLUDES line in src/Makefile, as the guy<br>> suggested, with the path to a Pd src folder, but still it can't find this<br>> -lpd. I read man ld and tried searching for any kind of *libpd*, *
pd.a*, or<br>> *pd.so* on my entire hard drive, and none of them exist. Should I replace<br>> this -lpd with something else? I tried removing it, and it built a faulty<br>> set of OSCx objects that don't work.
<br>><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. It doesn't seem to make a difference. There are a series of -L flags and a series of -I flags, so I'm guessing whoever wrote it knew the difference. 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> </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>