On Wed, Apr 13, 2011 at 9:11 PM, roberto pagliari
<
rpagliari.ml@
gmail.com> wrote:
> Hi All,
> I'm getting this error while compiling the igraph C library from source code
> (under linux)
> fPIC -DPIC -o .libs/libigraph_la-drl_parse.o
> drl_parse.cpp: In constructor ‘drl::parse::parse(int, char**)’:
> drl_parse.cpp:74: error: ‘sprintf’ was not declared in this scope
> make[3]: *** [libigraph_la-drl_parse.lo] Error 1
> make[3]: Leaving directory `/home/rpagliar/igraph-0.5.1/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/rpagliar/igraph-0.5.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rpagliar/igraph-0.5.1'
> make: *** [all] Error 2
> I was able to compile igraph under OSX. Is this error related to gcc
> versioning?
> Thanks