> Building c > /usr/bin/ld: parser.o: relocation R_X86_64_32S against `.rodata' can not > be used when making a shared object; recompile with -fPIC > /usr/bin/ld: failed to set dynamic section sizes: bad value > collect2: error: ld returned 1 exit status > cp: cannot stat 'libtree-sitter-c.so': No such file or directory > > Looking at the scripts, it isn't clear where I need to add the -fPIC (it > already seems to be there?). > You need to add to the like that builds the parser.c file, like in the attached patch. -- João Paulo L. de Carvalho Ph.D Computer Science | IC-UNICAMP | Campinas , SP - Brazil Postdoctoral Research Fellow | University of Alberta | Edmonton, AB - Canada joao.carvalho@ic.unicamp.br joao.carvalho@ualberta.ca