trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] libksquirrel FTBFS

From: Darrell Anderson <humanreadable@...>
Date: Thu, 29 Mar 2012 12:22:30 -0700 (PDT)
> > > > Building from GIT.
> > > > 
> > > > fmt_codec_pnm.cpp: In member function
> 'virtual s32
> > > > fmt_codec::read_init(const
> std::string&)':
> > > > fmt_codec_pnm.cpp:959: error: 'exit' was not
> declared
> > > in
> > > > this scope
> > > > fmt_codec_pnm.cpp:969: warning: suggest
> braces around
> > > empty
> > > > body in an 'else' statement
> > > > make[2]: *** [fmt_codec_pnm.lo] Error 1
> > > > make[2]: Leaving directory
> > > > `/dev/shm/libksquirrel/kernel/kls_pict'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory
> > > `/dev/shm/libksquirrel/kernel'
> > > > make: *** [all-recursive] Error 1
> > > > 
> > > > Any ideas how to fix?
> > > 
> > > Does libksquirrel have any dependency
> prerequisites?
> > 

> As for man 3 exit including <stdlib.h> should suffice
> to fix the error.

Yes, that did the trick. Thank you!

Darrell