You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. .configure reported no problems
2. make dies with error below
3.
What is the expected output? What do you see instead?
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:49: error: previous declaration of ‘char* optarg’ with
‘C++’ linkage
/usr/include/getopt.h:59: error: conflicts with new declaration with ‘C’
linkage
../cutil/globals.h:48: error: previous declaration of ‘int optind’ with
‘C++’ linkage
/usr/include/getopt.h:73: error: conflicts with new declaration with ‘C’
linkage
make[3]: *** [tface.o] Error 1
make[3]: Leaving directory `/home/neumann/Desktop/tesseract-1.04/wordrec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/neumann/Desktop/tesseract-1.04/wordrec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neumann/Desktop/tesseract-1.04'
make: *** [all] Error 2
What version of the product are you using? On what operating system?
tesseract-1.04b.tar.gz on linux (Fedora 5)
Please provide any additional information below.
I doubt it is relevant: "configure" gave one warning: "`missing' script is
too old or missing"
Original issue reported on code.google.com by walter.n...@gmail.com on 20 May 2007 at 5:14
The text was updated successfully, but these errors were encountered:
I had the same problem on FC6. The workaround is to use GCC 3.4 instead of
4.1.
(Both are available in Fedora Core 6's repositories.)
It may be better to retitle the issue to "compile error with GCC 4.1."
Original comment by ahz...@gmail.com on 25 May 2007 at 8:32
I haven't tested it, but here's a patch I found here:
http://karlik.nonlogic.org/tesseract/tesseract-1.03-2.src.rpm
via https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=220979
Original comment by ahz...@gmail.com on 25 May 2007 at 9:50
Original issue reported on code.google.com by
walter.n...@gmail.com
on 20 May 2007 at 5:14The text was updated successfully, but these errors were encountered: