[804] in Zephyr_Bugs
Re: Problems compiling 2.0.3 on SunOS 4.1.3
daemon@ATHENA.MIT.EDU (Mark Eichin)
Wed Jul 10 23:06:33 1996
To: "Keith M Swartz" <KSWARTZ@us.oracle.com>
Cc: bug-zephyr@MIT.EDU
From: Mark Eichin <eichin@cygnus.com>
Date: 10 Jul 1996 23:03:25 -0400
In-Reply-To: "Keith M Swartz"'s message of Wed, 10 Jul 1996 18:44:49 -0700
Not sure *why* you'd need libdl, unless you're using an old gnu ld
that can only do static linking and can't handle the way sunos libc
contains a dynamic link reference (for the nameservice code) even in
the static libc. That's just a guess, though, might be something more
subtle.
It might be worth putting a mention of config.cache in a Readme or
something (assuming it isn't already mentioned); the autoconf INSTALL
has some mention of deleting config.cache, though not very strong
wording, probably because distclean removes it.
>
>
> --Boundary-22109857-0-0
>
> Mark,
>
> A blue ribbon goes to you for deductive reasoning. That was exactly the
> problem. I mistakenly thought a "make clean" would remove the cache, and
> didn't check closely enough to see that it did not. After removing the cache,
> it 98% worked correctly. Good guess!
>
> The remaining 2% is probably a machine-specific problem: configure failed the
> cross-compiling test due to linking errors, that stemmed from not having
> "-ldl" on the link line. (The test for this comes later, resulting in a
> Catch-22.) I just defined LIBS to "-ldl" before running configure, and that
> allowed configure to run to completion, but not all Makefile rules append -ldl
> just because HAVE_LIBDL is defined, so some other compiles (compile_et, for
> example) fail anyway. I assume this is something local I just need to tweak,
> though.
>
> - Keith
> ===========================================================================
> Keith M Swartz Email: kswartz@us.oracle.com
> Oracle Corp. Worldwide Support, Applications Phone: 415-506-5410
> Technical Specialist, Systems Assurance Ctr. FAX : 415-591-6861
> ===========================================================================
>
>
> --Boundary-22109857-0-0
> Content-Type: message/rfc822
>
> Date: 10 Jul 96 14:14:44
> From:"Mark Eichin " <eichin@cygnus.com>
> To: KSWARTZ@us.oracle.com
> Subject: Re: Problems compiling 2.0.3 on SunOS 4.1.3
> Cc: zephyr-bugs@MIT.EDU
> X-Orcl-Application: In-Reply-To: "[800] in Zephyr_Bugs"
>
>
> this sounds like you had a left over config.cache from a Solaris build...
>
>
> --Boundary-22109857-0-0--
>