On Wed, 28 Jul 1999, Gilles Detillieux wrote:

> Date: Wed, 28 Jul 1999 17:50:23 -0500 (CDT)
> From: Gilles Detillieux <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: [htdig] Memory fault (core dumped)
> 
> OK, upon closer examination, it appears I was mistaken about one point.
> 3.1.2 doesn't use the regex code in the C library, but rather it bundles
> the GNU regex code in the package, and puts it in htlib/libht.a.
> The extern "C" construct above doesn't work because htlib/regex.h
> already includes this construct - that's why it was removed from
> htfuzzy/Endings.cc.
> 
> So, perhaps this GNU regex.c code is causing a conflict with your C
> or C++ library.  If you already have a regex.h in your /usr/include
> directory, and regex functions in your C library, you might want to try
> using these instead of the ones in htlib.  To do this, I think you'd need
> to remove references to regex.o from htlib/Makefile, remove regex.o from

Bingo;)  I removed references to regex.o from htlib/Makefile.

> htlib/libht.a, and probably also remove htlib/regex.h.  If this works,

I ran make clean and removed htlib/regex.h; however, I had to also remove
references to htlib/regex.h in htfuzzy/Makefile.  It worked like a charm;)

Thanks a million Gilles and Geoff.

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to