karldergrosse / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
0 stars 0 forks source link

[ 1526444 ] Doesn't build on Linux #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Nigel Horne - nigelhorne(sf)

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../ccutil
-I../cutil -O2 -W -Wformat=2 -Wswitch -Wshadow
-Wwrite-strings -Wuninitialized -Wwrite-strings -Wall
-pipe -mtune=pentium4 -march=pentium4
-fomit-frame-pointer -ffast-math -msse2 -msse -mmmx
-mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2
-Wpointer-arith -Wstrict-prototypes -fstack-protector
-Wstack-protector -W -Wformat=2 -Wswitch -Wshadow
-Wwrite-strings -Wuninitialized -Wwrite-strings -Wall
-pipe -mtune=pentium4 -march=pentium4
-fomit-frame-pointer -ffast-math -msse2 -msse -mmmx
-mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2
-Wpointer-arith -fstack-protector -Wstack-protector
-DNDEBUG -c -o bpsupport.o `test -f 'bpsupport.cpp' ||
echo './'`bpsupport.cpp
../ccutil/errcode.h:97: error: extra ‘;’
../ccutil/strngs.h: In copy constructor
‘STRING::STRING(const STRING&)’:
../ccutil/strngs.h:37: warning: declaration of ‘string’
shadows a member of 'this'
../ccutil/strngs.h:40: warning: declaration of ‘length’
shadows a member of 'this'
../ccutil/strngs.h: In constructor
‘STRING::STRING(const char*)’:
../ccutil/strngs.h:54: warning: declaration of ‘string’
shadows a member of 'this'
../ccutil/strngs.h:57: warning: declaration of ‘length’
shadows a member of 'this'
../ccutil/strngs.h: In member function ‘BOOL8
STRING::operator==(const STRING&) const’:
../ccutil/strngs.h:103: warning: declaration of
‘string’ shadows a member of 'this'
../ccutil/strngs.h: In member function ‘BOOL8
STRING::operator!=(const STRING&) const’:
../ccutil/strngs.h:113: warning: declaration of
‘string’ shadows a member of 'this'
../ccutil/strngs.h: In member function ‘BOOL8
STRING::operator!=(const char*) const’:
../ccutil/strngs.h:123: warning: declaration of
‘string’ shadows a member of 'this'
../ccutil/strngs.h: In member function ‘STRING&
STRING::operator=(const STRING&)’:
../ccutil/strngs.h:135: warning: declaration of
‘string’ shadows a member of 'this'
../ccutil/strngs.h: In member function ‘STRING&
STRING::operator+=(const STRING&)’:
../ccutil/strngs.h:149: warning: declaration of
‘string’ shadows a member of 'this'
../ccutil/strngs.h: In member function ‘void
STRING::de_dump(FILE*)’:
../ccutil/strngs.h:169: warning: declaration of
‘length’ shadows a member of 'this'
../ccutil/varable.h: In copy constructor
‘INT_VARIABLE_CLIST::INT_VARIABLE_CLIST(const
INT_VARIABLE_CLIST&)’:
../ccutil/varable.h:36: warning: base class ‘class
CLIST’ should be explicitly initialized in the copy
constructor
../ccutil/varable.h: In constructor
‘INT_VARIABLE_C_IT::INT_VARIABLE_C_IT(INT_VARIABLE_CLIST*)’:
../ccutil/varable.h:36: warning: declaration of ‘list’
shadows a member of 'this'
../ccutil/varable.h: In copy constructor
‘BOOL_VARIABLE_CLIST::BOOL_VARIABLE_CLIST(const
BOOL_VARIABLE_CLIST&)’:
../ccutil/varable.h:109: warning: base class ‘class
CLIST’ should be explicitly initialized in the copy
constructor
../ccutil/varable.h: In constructor
‘BOOL_VARIABLE_C_IT::BOOL_VARIABLE_C_IT(BOOL_VARIABLE_CLIST*)’:
../ccutil/varable.h:109: warning: declaration of ‘list’
shadows a member of 'this'
../ccutil/varable.h: In copy constructor
‘STRING_VARIABLE_CLIST::STRING_VARIABLE_CLIST(const
STRING_VARIABLE_CLIST&)’:
../ccutil/varable.h:182: warning: base class ‘class
CLIST’ should be explicitly initialized in the copy
constructor
../ccutil/varable.h: In constructor
‘STRING_VARIABLE_C_IT::STRING_VARIABLE_C_IT(STRING_VARIABLE_CLIST*)’:
../ccutil/varable.h:182: warning: declaration of ‘list’
shadows a member of 'this'
../ccutil/varable.h: In copy constructor
‘double_VARIABLE_CLIST::double_VARIABLE_CLIST(const
double_VARIABLE_CLIST&)’:
../ccutil/varable.h:259: warning: base class ‘class
CLIST’ should be explicitly initialized in the copy
constructor
../ccutil/varable.h: In constructor
‘double_VARIABLE_C_IT::double_VARIABLE_C_IT(double_VARIABLE_CLIST*)’:
../ccutil/varable.h:259: warning: declaration of ‘list’
shadows a member of 'this'
bpsupport.cpp: In function ‘void BPread_string(int,
char*)’:
bpsupport.cpp:56: warning: ignoring return value of
‘ssize_t read(int, void*, size_t)’, declared with
attribute warn_unused_result
bpsupport.cpp: In function ‘int BPread_thresholds(int,
const char*, const char*, int, int, float*, int*)’:
bpsupport.cpp:77: warning: ignoring return value of
‘ssize_t read(int, void*, size_t)’, declared with
attribute warn_unused_result
bpsupport.cpp: In function ‘int BPread_weights(int,
const char*, const char*, const char*, const char*,
int, int, float*, int*)’:
bpsupport.cpp:104: warning: ignoring return value of
‘ssize_t read(int, void*, size_t)’, declared with
attribute warn_unused_result
malloc: using debugging hooks
make[3]: *** [bpsupport.o] Error 1
make[3]: Leaving directory
`/home/njh/tesseract-1.0/aspirin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/njh/tesseract-1.0/aspirin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/njh/tesseract-1.0'
make: *** [all] Error 2

Original issue reported on code.google.com by tmb...@gmail.com on 7 Mar 2007 at 10:32

GoogleCodeExporter commented 9 years ago
was able to build tesseract 2.01 under Solaris 10

Original comment by drdunk.g...@gmail.com on 2 Apr 2008 at 5:46

GoogleCodeExporter commented 9 years ago
The fix is detailed here 

http://groups.google.com/group/tesseract-ocr/browse_thread/thread/cfe8011a737c0d
34

Original comment by ramon.bu...@gmail.com on 27 Oct 2008 at 11:34

GoogleCodeExporter commented 9 years ago

Original comment by theraysm...@gmail.com on 28 Dec 2008 at 6:28