Hi All, I am making a R package which uses some C code. and existing library.My src folder has some .c files. and a Makevars.in Makevars.in contains export PKG_LIBS="-L. -lbz2" R CMD SHLIB bed2vector.C R CMD SHLIB wdl.C R CMD SHLIB peaks.C R CMD SHLIB cdensum.c
When I try library(libraryname). It gives me error undefined symbol: BZ2_bzRead Can anyone please suggest how to include a exiting library along with .c files to make a Rpackage thank you vidhu [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.