From: Perrier Kent (Kent.Perrier@HCAhealthcare.com)
Date: Tue Aug 03 2004 - 12:33:55 EDT
Here is how I am attempting to configure vim:
env CC=/usr/local/bin/gcc ./configure --prefix=/usr/local/ --disable-shared
\
--enable-static --localstatedir=/var --disable-nls --with-x=no
--enable-gui=no
which runs fine. Make fails in the first file thusly:
CC="gcc -Iproto -DHAVE_CONFIG_H -g -O2 " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -o objects/buffer.o
buffer.c
In file included from buffer.c:29:
vim.h:40: error: parse error before ':' token
In file included from os_unix.h:21,
from vim.h:195,
from buffer.c:29:
/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/stdio.h:241: error:
parse error before "__gnuc_va_list"
make: *** [objects/buffer.o] Error 1
The macro __gnuc_va_list is not being expanded. I have exhausted my limited
C knowledge.
Has anyone ran into this issue? How did you fix it?
gcc was obtained at sunfreeware.com I am recompiling vim to match the setup
on or other unix boxes.
thanks!
-- Kent Perrier _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:12 EDT