|
[root@localhost /usr/src/vim61]# patch -Np1 -i ../vim-6.1-fhs-compliant-vimrc.patch &&
> ./configure --prefix=/usr \
> --with-features=huge &&
> make &&
> make install
mkdir objects
CC="gcc -s -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays " srcdir=. sh ./osdef.sh
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/buffer.o buffer.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/charset.o charset.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/diff.o diff.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/digraph.o digraph.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/edit.o edit.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/eval.o eval.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/ex_cmds.o ex_cmds.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/ex_cmds2.o ex_cmds2.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/ex_docmd.o ex_docmd.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/ex_getln.o ex_getln.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -s -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -o objects/fileio.o fileio.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
fileio.c: In function `readfile':
fileio.c:473: `O_RDONLY' undeclared (first use in this function)
fileio.c:473: (Each undeclared identifier is reported only once
fileio.c:473: for each function it appears in.)
fileio.c: In function `readfile_charconvert':
fileio.c:2045: `O_RDONLY' undeclared (first use in this function)
fileio.c: In function `buf_write':
fileio.c:2671: `O_CREAT' undeclared (first use in this function)
fileio.c:2671: `O_WRONLY' undeclared (first use in this function)
fileio.c:2671: `O_EXCL' undeclared (first use in this function)
fileio.c:2693: `O_RDONLY' undeclared (first use in this function)
fileio.c:3205: `O_APPEND' undeclared (first use in this function)
fileio.c:3205: `O_TRUNC' undeclared (first use in this function)
fileio.c: In function `vim_rename':
fileio.c:4912: `O_RDONLY' undeclared (first use in this function)
fileio.c:4915: `O_CREAT' undeclared (first use in this function)
fileio.c:4915: `O_EXCL' undeclared (first use in this function)
fileio.c:4915: `O_WRONLY' undeclared (first use in this function)
make[1]: *** [objects/fileio.o] Error 1
make[1]: Leaving directory `/usr/src/vim61/src'
make: *** [first] Error 2 |
|