Testing for the 4.4p1 release

David Bronder david-bronder at uiowa.edu
Fri Sep 8 07:49:45 EST 2006


Darren Tucker wrote:
> 
> On Fri, Sep 01, 2006 at 08:14:51PM -0500, David Bronder wrote:
> [...]
> >           Compiler: cc -qlanglvl=ansi
> [..]
> > "packet.c", line 162.12: 1506-010 (E) Macro TAILQ_HEAD invoked with a null argument for parameter name.
> 
> It would appear the autoconf 2.60 pretty much insists on using -qlanglvl=ansi
> in this case.
> 
> I think this will work around it.  You will need to run "autoreconf" from
> autoconf-2.60 to rebuild the configure.  If you don't have it handy, you
> can download a prebuilt one here:

Gave it a go (using the prebuilt configure; my autoconf is 2.53), but
it still used -qlanglvl=ansi and failed in the same place.  I can send
you the config.log separately if you want it.


> Index: configure.ac
> ===================================================================
> RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v
> retrieving revision 1.361
> diff -u -p -r1.361 configure.ac
> --- configure.ac	7 Sep 2006 01:11:29 -0000	1.361
> +++ configure.ac	7 Sep 2006 07:24:16 -0000
> @@ -134,6 +134,22 @@ SPC_MSG="no"
>  # Check for some target-specific stuff
>  case "$host" in
>  *-*-aix*)
> +	# Some versions of VAC won't allow empty macro argements with
> +	# -qlanglevel=ansi, and autoconf 2.60 sometimes insists on using that
> +	AC_MSG_CHECKING(if compiler allows null arguments in macros)
> +	AC_COMPILE_IFELSE(
> +	    [AC_LANG_SOURCE([[
> +#define testmacro(a,b)
> +int main(void) { int a; testmacro(,a); }
> +	    ]])],
> +	    [ AC_MSG_RESULT(yes) ],
> +	    [ AC_MSG_RESULT(no)
> +	      CC="`echo $CC | sed 's/langlvl\=ansi/langlvl=extc89/g'`"
> +	      CFLAGS="`echo $CFLAGS | sed 's/langlvl\=ansi/langlvl=extc89/g'`"
> +	      CPPFLAGS="`echo $CPPFLAGS | sed 's/langlvl\=ansi/langlvl=extc89/g'`"
> +	    ]
> +	)
> +
>  	AC_MSG_CHECKING([how to specify blibpath for linker ($LD)])
>  	if (test -z "$blibpath"); then
>  		blibpath="/usr/lib:/lib"
> 


-- 
Hello World.                                    David Bronder - Systems Admin
Segmentation Fault                                     ITS-SPA, Univ. of Iowa
Core dumped, disk trashed, quota filled, soda warm.   david-bronder at uiowa.edu



More information about the openssh-unix-dev mailing list