jacklicn / tesseract-ocr

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

cygwin link error #546

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.   ./configure LDFLAGS="-no-undefined  -Wl,--as-needed" --prefix=/usr
2.    make
3.

What is the expected output? What do you see instead?
numerous "undefined reference to .........." error 

What version of the product are you using? On what operating system?
tesseract-ocr svn revision 624
CYGWIN_NT-6.1 jc-aomc 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

Please provide any additional information below.
cygwin is very dependent on the linking order of compiled objects. The attached 
diff shall fix the problem. Please note that it is not a must to apply the 
patch if u are compiling and linking under Mac OSX and Ubuntu.

Original issue reported on code.google.com by FreeT...@gmail.com on 2 Sep 2011 at 7:57

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I see this bug with Ubuntu Natty but had to adapt your patch to this.

Original comment by jeffrey....@gmail.com on 6 Oct 2011 at 1:34

Attachments:

GoogleCodeExporter commented 9 years ago
Unfortunately, the patch is not compatible with configure 
--disable-multiple-libraries. It goes into a endless loop whilst linking and I 
end up killing the process

Original comment by jeffrey....@gmail.com on 7 Oct 2011 at 9:08

GoogleCodeExporter commented 9 years ago
If u are impatient, u could try the attached fix. I tested it in cygwin but not 
yet for ubuntu. 

Good luck

Original comment by FreeT...@gmail.com on 7 Oct 2011 at 9:37

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 3.01

Original comment by zde...@gmail.com on 10 Feb 2012 at 9:37