[PATCH] some patches for Fujitsu-Siemens ReliantUNIX, minor fixes and XXXes

Tim Rice tim at multitalents.net
Sat Oct 27 04:27:03 EST 2001


On Mon, 20 Aug 2001, Robert Dahlem wrote:

> Hi,
>
> attached please find some patches for ReliantUNIX. This was tested under
> Reliant UNIX V5.43C40 with Compiler CDSDEV V2.0C00.
>
> Here is what I did:
>
> - there is a common misunderstanding how to use /usr/libucb/libucb.a:
>
> There are some library functions only in libucb.a under ReliantUNIX, so
> one needs to bind it. The problem is: there are some other functions in
> this library you should never bind from there (i.e. fopen()). The trick
> is to first search through libc.so and then through libucb.a. Don't let
> ld search in /usr/ucblib, it will virtually always produce nonsense.
>
I suspect you could remove the libucb stuff altogether and it would work.
Do you really need -ldl ?

Please try this patch.

-------------------------< cut here >------------------
--- configure.ac.old	Thu Oct 25 10:01:31 2001
+++ configure.ac	Fri Oct 26 11:24:05 2001
@@ -187,12 +187,11 @@
 	;;
 *-sni-sysv*)
 	CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-	LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/ucblib"
+	LDFLAGS="$LDFLAGS -L/usr/local/lib"
 	IPADDR_IN_DISPLAY=yes
 	AC_DEFINE(USE_PIPES)
 	AC_DEFINE(IP_TOS_IS_BROKEN)
 	AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H)
-	LIBS="$LIBS -lgen -lnsl -lucb"
 	;;
 *-*-sysv4.2*)
 	CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-------------------------< end cut >------------------


-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list