<div dir="ltr">[Thanks!]<br><div>Oops, that last apt-get update left me with no gcc...! <br><br></div>But after fixing that:<br><br>root@lapcritter:/usr/lib/puredata/doc/6.externs# make pd_linux<br>gcc
 -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow 
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch 
-I../../src -o obj1.o -c obj1.c<br>ld -shared -o obj1.pd_linux obj1.o -lc -lm<br>ld: obj1.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC<br>obj1.o: could not read symbols: Bad value<br>make: *** [obj1.pd_linux] Error 1<br><br>root@lapcritter:/usr/lib/puredata/doc/6.externs# nano makefile<br>root@lapcritter:/usr/lib/puredata/doc/6.externs# make pd_linux<br>gcc
 -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow 
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch 
-I../../src -fPIC -o obj1.o -c obj1.c<br>ld -shared -o obj1.pd_linux obj1.o -lc -lm<br>ld: cannot find -lc<br>ld: cannot find -lm<br>make: *** [obj1.pd_linux] Error 1<br><br>?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 29, 2015 at 7:48 AM, Charles Z Henry <span dir="ltr"><<a href="mailto:czhenry@gmail.com" target="_blank">czhenry@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Forrest,<br>
<br>
You can edit the makefile and replace "cc" with "gcc".<br>
<br>
On my system, "cc" is just a symlink to "gcc":<br>
[root@farnsworth asdf]# ls -l `which cc`<br>
lrwxrwxrwx 1 root root 3 AprĀ  6 11:36 /bin/cc -> gcc<br>
<br>
You can add that symlink as well:<br>
ln -s /bin/gcc /bin/cc<br>
<br>
Chuck<br>
<div><div class="h5"><br>
<br>
On Fri, May 29, 2015 at 9:38 AM, Forrest Curo <<a href="mailto:treegestalt@gmail.com">treegestalt@gmail.com</a>> wrote:<br>
> [I'd had this process down a few updates ago...]<br>
><br>
> running as root, cd-ing to the directory containing these patches:<br>
><br>
> /usr/lib/puredata/doc/6.externs# make pd_linux<br>
> cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow<br>
> -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch<br>
> -I../../src -o obj1.o -c obj1.c<br>
> make: cc: Command not found<br>
> make: *** [obj1.pd_linux] Error 127<br>
> ----------<br>
> Any good way to just point gcc at each .c file?<br>
><br>
</div></div>> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -><br>
> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
</blockquote></div><br></div>