Subject: Re: [htdig] multiply defined
From: Geoff Hutchison (firstname.lastname@example.org)
Date: Thu Apr 06 2000 - 12:10:27 PDT
On Thu, 6 Apr 2000, Karel Zajicek wrote:
> I'm trying to build htdig 3.1.5 on SunOS 4.1.3. Configure and
> compilation seem to go well, but the linking fails in htfuzzy directory:
> ld: /usr/local/lib/libg++.a(rx.o): _re_set_syntax: multiply defined
> ld: /usr/local/lib/libg++.a(rx.o): _re_match_2: multiply defined
> collect2: ld returned 2 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `htfuzzy'
> I see that all these symbols are defined twice in libg++.a, but I have
> no idea how to get rid of this problem. I wil be obliged for any help.
Oh yuck. I forgot how libg++ has rx built-in: most of us use libstdc++
I would remove the regex.h file from htlib and remove regex.o from the
Makefile.in in the htlib directory as well. Run the config.status script
in the top-level to regenerate your Makefiles and you should be OK.
Williams Students Online
To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu Apr 06 2000 - 11:09:30 PDT