[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compile help please



Hi,

I'm trying to compile tesseract from svn so I can do ocr.
Here is my problem I get compile errors... So, can someone please help?
At the bottom of this email is the output of stderr and stdout for the
following commands:
./configure
and 
make

So does anyone know how I get this to compile?

One other thing for tesseract people, what is the language package for?
Does the sources out of svn come with this, or should I download this
package from somewhere. If so how do I compile the language package for
tesseract in with everything else?

Thanks very much and .configure and make output follows:

./configure:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for cl.exe... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking for ranlib... ranlib
checking for deflate in -lz... yes
checking for png_read_png in -lpng... yes
checking for jpeg_read_scanlines in -ljpeg... yes
checking for sem_init in -lpthread... yes
checking for pixCreate in -llept... no
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking allheaders.h usability... yes
checking allheaders.h presence... yes
checking for allheaders.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking whether #! works in shell scripts... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for wchar_t... yes
checking for long long int... yes
checking for mbstate_t... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strerror... yes
checking for vsnprintf... yes
checking for gethostname... yes
checking for strchr... yes
checking for memcpy... yes
checking for acos... yes
checking for asin... yes
checking for Leffler libtiff library... checking linking with -ltiff... ok
setting LIBTIFF_CFLAGS=
setting LIBTIFF_LIBS=-ltiff
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ccmain/Makefile
config.status: creating ccstruct/Makefile
config.status: creating ccutil/Makefile
config.status: creating classify/Makefile
config.status: creating cutil/Makefile
config.status: creating dict/Makefile
config.status: creating pageseg/Makefile
config.status: creating image/Makefile
config.status: creating textord/Makefile
config.status: creating viewer/Makefile
config.status: creating wordrec/Makefile
config.status: creating training/Makefile
config.status: creating tessdata/Makefile
config.status: creating tessdata/configs/Makefile
config.status: creating tessdata/tessconfigs/Makefile
config.status: creating testing/Makefile
config.status: creating dlltest/Makefile
config.status: creating java/Makefile
config.status: creating config_auto.h
config.status: config_auto.h is unchanged
config.status: executing default-1 commands

Configuration is done.
You can now build tesseract by running:

% make

Make:

make  all-recursive
make[1]: Entering directory `/media/daniel-external/svn/tesseract-ocr'
Making all in ccstruct
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/ccstruct'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/ccstruct'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c blobbox.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c blobs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c blread.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c callcpp.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c coutln.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c genblob.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c labls.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c linlsq.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c lmedsq.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c mod128.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c normalis.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c ocrblock.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c ocrrow.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c pageblk.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c pageres.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c pdblock.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c points.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c polyaprx.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c polyblk.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c polyblob.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c polyvert.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c poutline.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c quadlsq.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c quadratc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c quspline.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c ratngs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c rect.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c rejctmap.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c rwpoly.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c statistc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c stepblob.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c txtregn.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c vecfuncs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../cutil     -I../image -I../viewer -I/usr/include/leptonica  -g -O2 -c werd.cpp
rm -f libtesseract_ccstruct.a
ar cru libtesseract_ccstruct.a blobbox.o blobs.o blread.o callcpp.o coutln.o genblob.o labls.o linlsq.o lmedsq.o mod128.o normalis.o ocrblock.o ocrrow.o pageblk.o pageres.o pdblock.o points.o polyaprx.o polyblk.o polyblob.o polyvert.o poutline.o quadlsq.o quadratc.o quspline.o ratngs.o rect.o rejctmap.o rwpoly.o statistc.o stepblob.o txtregn.o vecfuncs.o werd.o 
ranlib libtesseract_ccstruct.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/ccstruct'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/ccstruct'
Making all in ccutil
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/ccutil'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/ccutil'
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c basedir.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c bits16.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c clst.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c debugwin.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c elst.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c elst2.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c errcode.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c globaloc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c hashfn.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c mainblk.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c memblk.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c memry.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c ocrshell.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c serialis.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c strngs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c tprintf.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c varable.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c unichar.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c tessopt.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c unicharmap.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c unicharset.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -c boxread.cpp
rm -f libtesseract_ccutil.a
ar cru libtesseract_ccutil.a basedir.o bits16.o clst.o debugwin.o elst.o elst2.o errcode.o globaloc.o hashfn.o mainblk.o memblk.o memry.o ocrshell.o serialis.o strngs.o tprintf.o varable.o unichar.o tessopt.o unicharmap.o unicharset.o boxread.o 
ranlib libtesseract_ccutil.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/ccutil'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/ccutil'
Making all in classify
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/classify'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/classify'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c adaptive.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c adaptmatch.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c baseline.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c blobclass.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c chartoname.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c cluster.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c clusttool.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c cutoffs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c extract.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c featdefs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c flexfx.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c float2int.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c fpoint.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c fxdefs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c hideedge.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c intfx.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c intmatcher.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c intproto.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c kdtree.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c mf.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c mfdefs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c mfoutline.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c mfx.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c normfeat.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c normmatch.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c ocrfeatures.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c outfeat.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c picofeat.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c protos.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c sigmenu.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c speckle.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil     -I../ccstruct -I../dict     -I../viewer -I/usr/include/leptonica  -g -O2 -c xform2d.cpp
rm -f libtesseract_classify.a
ar cru libtesseract_classify.a adaptive.o adaptmatch.o baseline.o blobclass.o chartoname.o cluster.o clusttool.o cutoffs.o extract.o featdefs.o flexfx.o float2int.o fpoint.o fxdefs.o hideedge.o intfx.o intmatcher.o intproto.o kdtree.o mf.o mfdefs.o mfoutline.o mfx.o normfeat.o normmatch.o ocrfeatures.o outfeat.o picofeat.o protos.o sigmenu.o speckle.o xform2d.o 
ranlib libtesseract_classify.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/classify'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/classify'
Making all in cutil
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/cutil'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/cutil'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c tessarray.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c bitvec.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c cutil.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c danerror.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c debug.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c efio.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c emalloc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c freelist.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c globals.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c listio.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c oldheap.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c oldlist.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c structures.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c tordvars.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I/usr/include/leptonica  -g -O2 -c variables.cpp
rm -f libtesseract_cutil.a
ar cru libtesseract_cutil.a tessarray.o bitvec.o cutil.o danerror.o debug.o efio.o emalloc.o freelist.o globals.o listio.o oldheap.o oldlist.o structures.o tordvars.o variables.o 
ranlib libtesseract_cutil.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/cutil'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/cutil'
Making all in dict
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/dict'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/dict'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c choices.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c context.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c dawg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c hyphen.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c permdawg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c permnum.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c permute.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c states.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c stopper.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c trie.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c lookdawg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c makedawg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c reduce.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../cutil -I../ccutil -I/usr/include/leptonica  -g -O2 -c permngram.cpp
rm -f libtesseract_dict.a
ar cru libtesseract_dict.a choices.o context.o dawg.o hyphen.o permdawg.o permnum.o permute.o states.o stopper.o trie.o lookdawg.o makedawg.o reduce.o permngram.o 
ranlib libtesseract_dict.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/dict'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/dict'
Making all in pageseg
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/pageseg'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/pageseg'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../ccstruct     -I../image -I../textord -I../viewer     -I../ccmain -I/usr/include/leptonica  -g -O2 -c leptonica_pageseg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../ccstruct     -I../image -I../textord -I../viewer     -I../ccmain -I/usr/include/leptonica  -g -O2 -c leptonica_pageseg_interface.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../ccstruct     -I../image -I../textord -I../viewer     -I../ccmain -I/usr/include/leptonica  -g -O2 -c pageseg.cpp
rm -f libtesseract_pageseg.a
ar cru libtesseract_pageseg.a leptonica_pageseg.o leptonica_pageseg_interface.o pageseg.o 
ranlib libtesseract_pageseg.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/pageseg'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/pageseg'
Making all in image
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/image'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/image'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../viewer -I/usr/include/leptonica  -g -O2 -c imgbmp.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../viewer -I/usr/include/leptonica  -g -O2 -c imgio.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../viewer -I/usr/include/leptonica  -g -O2 -c imgs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../viewer -I/usr/include/leptonica  -g -O2 -c imgtiff.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../viewer -I/usr/include/leptonica  -g -O2 -c bitstrm.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccutil -I../viewer -I/usr/include/leptonica  -g -O2 -c svshowim.cpp
rm -f libtesseract_image.a
ar cru libtesseract_image.a imgbmp.o imgio.o imgs.o imgtiff.o bitstrm.o svshowim.o 
ranlib libtesseract_image.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/image'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/image'
Making all in textord
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/textord'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/textord'
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c blkocc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c drawedg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c drawtord.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c edgblob.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c edgloop.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c fpchop.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c gap_map.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c makerow.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c oldbasel.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c pithsync.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c pitsync1.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c scanedg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c sortflts.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c topitch.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c tordmain.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c tospace.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c tovars.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c underlin.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ccstruct -I../ccutil     -I../image -I../viewer     -I../pageseg -I/usr/include/leptonica  -g -O2 -c wordseg.cpp
rm -f libtesseract_textord.a
ar cru libtesseract_textord.a blkocc.o drawedg.o drawtord.o edgblob.o edgloop.o fpchop.o gap_map.o makerow.o oldbasel.o pithsync.o pitsync1.o scanedg.o sortflts.o topitch.o tordmain.o tospace.o tovars.o underlin.o wordseg.o 
ranlib libtesseract_textord.a
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/textord'
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/textord'
Making all in viewer
make[2]: Entering directory `/media/daniel-external/svn/tesseract-ocr/viewer'
make[3]: Entering directory `/media/daniel-external/svn/tesseract-ocr/viewer'
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/leptonica  -g -O2 -c scrollview.cpp
scrollview.cpp: In member function 'SVEvent* SVEvent::copy()':
scrollview.cpp:62: error: 'strlen' was not declared in this scope
scrollview.cpp:63: error: 'strncpy' was not declared in this scope
scrollview.cpp: In static member function 'static void* ScrollView::MessageReceiver(void*)':
scrollview.cpp:89: error: 'strlen' was not declared in this scope
scrollview.cpp:107: error: 'strncpy' was not declared in this scope
scrollview.cpp: In static member function 'static void* ScrollView::StartEventHandler(void*)':
scrollview.cpp:302: error: 'INT_MAX' was not declared in this scope
scrollview.cpp: In member function 'char* ScrollView::ShowInputDialog(const char*)':
scrollview.cpp:689: error: 'strlen' was not declared in this scope
scrollview.cpp:690: error: 'strncpy' was not declared in this scope
scrollview.cpp: In member function 'char* ScrollView::AddEscapeChars(const char*)':
scrollview.cpp:795: error: 'strchr' was not declared in this scope
scrollview.cpp:800: error: 'strncpy' was not declared in this scope
scrollview.cpp:807: error: 'strlen' was not declared in this scope
scrollview.cpp:807: error: 'strncpy' was not declared in this scope
make[3]: *** [scrollview.o] Error 1
make[3]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/daniel-external/svn/tesseract-ocr/viewer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/daniel-external/svn/tesseract-ocr'
make: *** [all-recursive-am] Error 2


Reply to: