Subject: current on vax
To: current-users@netbsd.org <current-users@netbsd.org>
From: emanuel stiebler <emu@ecubics.com>
List: current-users
Date: 12/29/2003 16:53:28
Trying to compile current on vax, I got stuck at:
# compile libiberty/argv.o
/usr/tools/bin/vax--netbsdelf-gcc -O2 -Werror -DHAVE_CONFIG_H
-I/usr/src/gnu/lib/libiberty -I/usr/src/gnu/dist/binutils/include
-nostdinc -isystem /usr/dest/usr/include -c
/usr/src/gnu/dist/toolchain/libiberty/argv.c -o argv.o.tmp
/usr/src/gnu/dist/toolchain/libiberty/argv.c: In function `buildargv':
/usr/src/gnu/dist/toolchain/libiberty/argv.c:208: argument `input'
doesn't match prototype
/usr/src/gnu/dist/binutils/include/libiberty.h:54: prototype declaration
*** Failed target: argv.o
*** Failed command: /usr/tools/bin/vax--netbsdelf-gcc -O2 -Werror
-DHAVE_CONFIG_H -I/usr/src/gnu/lib/libiberty
-I/usr/src/gnu/dist/binutils/include -nostdinc -isystem
/usr/dest/usr/include -c /usr/src/gnu/dist/toolchain/libiberty/argv.c -o
argv.o.tmp
*** Error code 1
In argv.c, input is declared as: "char *input",
in libiberty.h it is declared as "const char *"
Could anybody fix this ?
thanks