Dear moses-support,

I got error when compiling.
I've building moses version 1.5.3 with gcc and g++ version 4.1
--------------------------------------------------------------------------------------------------------
gzfilebuf.h:5:18: error: zlib.h: No such file or directory
gzfilebuf.h:75: error: ‘gzFile’ does not name a type
gzfilebuf.h: In constructor ‘gzfilebuf::gzfilebuf(const char*)’:
gzfilebuf.h:10: error: ‘_gzf’ was not declared in this scope
gzfilebuf.h:10: error: ‘gzopen’ was not declared in this scope
gzfilebuf.h: In destructor ‘virtual gzfilebuf::~gzfilebuf()’:
gzfilebuf.h:15: error: ‘_gzf’ was not declared in this scope
gzfilebuf.h:15: error: ‘gzclose’ was not declared in this scope
gzfilebuf.h: At global scope:
gzfilebuf.h:17: warning: unused parameter ‘c’
gzfilebuf.h:24: warning: unused parameter ‘s’
gzfilebuf.h:24: warning: unused parameter ‘num’
gzfilebuf.h:28: warning: unused parameter ‘sp’
gzfilebuf.h:28: warning: unused parameter ‘which’
gzfilebuf.h: In member function ‘virtual int gzfilebuf::underflow()’:
gzfilebuf.h:54: error: ‘_gzf’ was not declared in this scope
gzfilebuf.h:54: error: ‘gzread’ was not declared in this scope
gzfilebuf.h: In member function ‘virtual std::streamsize 
gzfilebuf::xsgetn(char*, std::streamsize)’:
gzfilebuf.h:71: error: ‘_gzf’ was not declared in this scope
gzfilebuf.h:71: error: ‘gzread’ was not declared in this scope
make[2]: *** [InputFileStream.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/nguyen/Project/moses/moses/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nguyen/Project/moses'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------
Please help me compile moses.
Thanks
Huy.

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to