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++
instead now.
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.
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.