Solaris 2.6 needs '#define HAVE_BOGUS_SYS_QUEUE_H 1' to build OpenSSH 3.1p1

Mark D. Baushke mdb at juniper.net
Sat Mar 9 02:06:51 EST 2002


After looking more closely the root-cause of the problem was that
someone had installed a /usr/local/sys/queue.h file on the system that
does not have all of the macros needed for openssh to work properly.
(It appears to be a circa 1993 version of the berkeley sys/queue.h file.)

So, in the general case, solaris 2.6 should not need the hack I
outlined in my previous message.

	-- Mark

> From: "Mark D. Baushke" <mdb at juniper.net>
> Date: Fri, 08 Mar 2002 01:39:24 -0800
> 
> I needed to manually add a '#define HAVE_BOGUS_SYS_QUEUE_H 1' to the
> config.h file to get OpenSSH 3.1p1 to properly build under Solaris
> 2.6. Without it, the system <sys/queue.h> is included rather than
> using the openbsd-compat/fake-queue.h and the various TAILQ_* macros
> are not defined.
> 
> I suspect that the configure.ac file needs to be updated to add the
> lines:
> 
> 	if test "$sol2ver" -eq 6; then
> 	    AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H)
> 	fi
> 
> under the *-*-solaris* entry.
> 
> 	-- Mark
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> 




More information about the openssh-unix-dev mailing list