Irix joblimits failure (was: Re: New snapshot)

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Tue Nov 21 20:37:44 EST 2000


Will this resolve the issue cleanly?  

- Ben

--- ../openssh/configure.in	Sat Nov 11 12:58:31 2000
+++ configure.in	Tue Nov 21 03:33:53 2000
@@ -111,7 +111,7 @@
 	AC_DEFINE(WITH_IRIX_ARRAY)
 	AC_DEFINE(WITH_IRIX_PROJECT)
 	AC_DEFINE(WITH_IRIX_AUDIT)
-	AC_DEFINE(WITH_IRIX_JOBS)
+	AC_CHECK_FUNC(jlimit_startjob, [AC_DEFINE(WITH_IRIX_JOBS)])
 	no_libsocket=1
 	no_libnsl=1
 	AC_DEFINE(BROKEN_INET_NTOA)


On Tue, 21 Nov 2000, Pekka Savola wrote:

> On Tue, 14 Nov 2000, Michael Stone wrote:
> 
> > The IRIX job limits patch will only build on IRIX >= 6.5.7. I hacked up
> > configure to do the checking, but I'm not sure of the configure.in
> > syntax. Does this look legal?
> >
> > *-*-irix6*)
> >         CFLAGS="$CFLAGS -I/usr/local/include"
> >         LDFLAGS="$LDFLAGS"
> >         PATH="$PATH:/usr/etc"
> >         MANTYPE='$(CATMAN)'
> >         AC_DEFINE(WITH_IRIX_ARRAY)
> >         AC_DEFINE(WITH_IRIX_PROJECT)
> >         AC_DEFINE(WITH_IRIX_AUDIT)
> >
> >         IFS=.fm
> >         set `uname -r`
> >         if test $2 -ge 5 ; then
> >                 set `uname -R`
> >                 if test $3 -gt 5 -o $4 -gt 7 ; then
> >                         AC_DEFINE(WITH_IRIX_JOBS)
> >                 fi
> >         fi
> >         unset IFS
> >
> >         no_libsocket=1
> >         no_libnsl=1
> >         AC_DEFINE(BROKEN_INET_NTOA)
> >         ;;
> 
> For me, compilation on Irix (uname -R: 6.5 6.5.9m) fails with:
> 
> ---
> ld32: ERROR   33 : Unresolved text symbol "jlimit_startjob" -- 1st referenced by session.o.
>         Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld32: INFO    152: Output file removed because of error.
> ---
> 
> And relating:
> ---
> session.c:1101: warning: implicit declaration of function 'limit_startjob'
> ---
> 
> Apparently not all people have job limits even though they may have rather
> recent systems...
> 
> 






More information about the openssh-unix-dev mailing list