[TRE-general] cygwin problem

Ville Laurikari ville at laurikari.net
Wed May 10 04:52:24 EEST 2006


On Wed, May 10, 2006 at 02:17:57AM +1000, skaller wrote:
> gcc -g -O2 -Wall -o agrep.exe agrep-agrep.o  ../lib/.libs/libtre.a -L/usr/lib /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a
> agrep-agrep.o: In function `tre_agrep_handle_file':
> /cygdrive/c/homes/max/tre/tre-0.7.3/src/agrep.c:232: undefined reference to `_regnexec'
> /cygdrive/c/homes/max/tre/tre-0.7.3/src/agrep.c:351: undefined reference to `_reganexec'
> agrep-agrep.o: In function `main':
> /cygdrive/c/homes/max/tre/tre-0.7.3/src/agrep.c:447: undefined reference to `_regaparams_default'
> /cygdrive/c/homes/max/tre/tre-0.7.3/src/agrep.c:550: undefined reference to `_tre_config'
> collect2: ld returned 1 exit status

Strange.  I tried a Cygwin build, and this happened for me too (I
don't regularly do Cygwin builds).  I remember though that it used to
work at some point.

I cannot see anything obviously incorrect in the linking process,
although I didn't look too hard yet.  Could this maybe be a libtool
bug?

-- 
http://www.iki.fi/vl/


More information about the TRE-general mailing list