What steps will reproduce the problem?
1. attemting to configure, make, make install in tesseract-ocr
2.
3.
What is the expected output? What do you see instead?
expect it to install. However, the make fails with:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../ccstruct -I../ccutil -I../cutil
-I../classify -I../image -I../dict -I../viewer -g -O2 -MT tface.o -MD -MP
-MF ".deps/tface.Tpo" -c -o tface.o tface.cpp; \
then mv -f ".deps/tface.Tpo" ".deps/tface.Po"; else rm -f
".deps/tface.Tpo"; exit 1; fi
../cutil/globals.h:46: error: previous declaration of ‘int optind’ with
‘C++’ linkage
../ccutil/getopt.h:23: error: conflicts with new declaration with ‘C’
linkage
../cutil/globals.h:47: error: previous declaration of ‘char* optarg’ with
‘C++’ linkage
../ccutil/getopt.h:24: error: conflicts with new declaration with ‘C’
linkage
make[2]: *** [tface.o] Error 1
make[2]: Leaving directory `/home/ray/.src/tesseract-ocr/wordrec'
make[1]: *** [install-recursive] Error 1
What version of the product are you using? On what operating system?
This is tesseract-ocr from SVN yesterday, compiling on FC6
gcc --version
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
Please provide any additional information below.
Original issue reported on code.google.com by OM1...@gmail.com on 11 Apr 2007 at 9:34
Original issue reported on code.google.com by
OM1...@gmail.com
on 11 Apr 2007 at 9:34