pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
x11/fltk2 compilation failure
On netBSD 8.0_RC1 pkgsrc-current:
In file included from /usr/include/stdio.h:597:0,
from ../fltk/string.h:45,
from string.c:22:
../fltk/string.h:72:19: error: expected declaration specifiers or '...'
before numeric constant
FL_API extern int snprintf(char *, size_t, const char *, ...);
^
In file included from /usr/include/ssp/strings.h:34:0,
from /usr/include/strings.h:72,
from /usr/include/string.h:98,
from ../fltk/string.h:43,
from string.c:22:
../fltk/string.h:72:19: error: expected declaration specifiers or '...'
before '__builtin_object_size'
FL_API extern int snprintf(char *, size_t, const char *, ...);
^
In file included from /usr/include/stdio.h:597:0,
from ../fltk/string.h:45,
from string.c:22:
../fltk/string.h:73:19: error: expected declaration specifiers or '...'
before numeric constant
FL_API extern int vsnprintf(char *, size_t, const char *, va_list ap);
^
In file included from /usr/include/ssp/strings.h:34:0,
from /usr/include/strings.h:72,
from /usr/include/string.h:98,
from ../fltk/string.h:43,
from string.c:22:
../fltk/string.h:73:19: error: expected declaration specifiers or '...'
before '__builtin_object_size'
FL_API extern int vsnprintf(char *, size_t, const char *, va_list ap);
^
../makeinclude:129: recipe for target 'string.o' failed
I am using the base C compiler:
# cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper
Target: x86_64--netbsd
Configured with:
/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/configure
--target=x86_64--netbsd --enable-long-long --enable-threads
--with-bugurl=http://www.NetBSD.org/Misc/send-pr.html
--with-pkgversion='Ne
tBSD nb1 20171112' --with-system-zlib --disable-libstdcxx-dual-abi
--enable-__cxa_atexit --enable-libstdcxx-time=rt
--enable-libstdcxx-threads --with-tune=nocona
--with-diagnostics-color=auto-if-env --with-mpc-lib=
/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpc/lib/libmpc
--with-mpfr-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpfr/lib/libmpfr
--with-gmp-lib=/var/obj/mknative/amd64-x86_64/usr/src/exte
rnal/lgpl3/gmp/lib/libgmp
--with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src
--with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src
--with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/x86_64 --en
able-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch
--disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd7.1
--host=x86_64--netbsd
--with-sysroot=/var/obj/mknative/amd64-x86_64/usr/src/destdi
r.amd64
Thread model: posix
gcc version 5.5.0 (nb2 20180327)
Does that look like a compiler version issue?
Mayuresh
Home |
Main Index |
Thread Index |
Old Index