Subject: Re: Another problem with stack protector changes
To: David Coppa <>
From: Marco Trillo <>
List: current-users
Date: 11/09/2006 21:35:00

On 11/9/06, David Coppa <> wrote:
> # compile libssp/fgets_chk.o
> /usr/src/cobalt_tools/bin/mipsel--netbsd-gcc -O2 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
> -Wno-tradit
> ional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
> -Wno-unused-parameter -std=gnu99 -Werror -I/usr/src/lib/libssp/
> ssp -nostdinc -isystem /usr/qube/usr/include -c
> /usr/src/lib/libssp/fgets_chk.c -o fgets_chk.o
> In file included from /usr/src/lib/libssp/fgets_chk.c:42:
> /usr/src/lib/libssp/ssp/stdio.h:52: error: format string
> argument not a string type

I ran into this problem too (when crosscompiling macppc), but it's now
fixed as of revision 1.2 of stdio.h [1].

Do a 'cvs update' and it should build fine.