vim 7.3 beta, gmake -j2 vs gmake

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vim 7.3 beta, gmake -j2 vs gmake

Charles Campbell
Hello!

Having just gotten mercurial running, I've now vim 7.3beta -- and here's
my first bug report:

Using the following configure line:

./configure --with-features=huge --enable-gui=gtk2 --enable-perlinterp
--enable-pythoninterp --enable-gnome-check --enable-cscope

on a Centos 5 (kernel 2.6.18-194.3.1.el5) 64-bit dual core machine and
using gmake -j2:

src/ xorn? gmake -j2
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12       -D_REENTRANT -D_GNU_SOURCE  
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm  
-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  
-I/usr/include/python2.4 -pthread   " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12     -g -O2
-D_FORTIFY_SOURCE=1    -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  
-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  
-I/usr/include/python2.4 -pthread    -o objects/blowfish.o blowfish.c
In file included from blowfish.c:14:
vim.h:288:61: error: auto/osdef.h: No such file or directory
gmake: *** [objects/blowfish.o] Error 1
gmake: *** Waiting for unfinished jobs....

With a plain gmake, compilation was successful.  I'm not sure why
auto/osdef.h was not found (it was there, and presumably was found with
a plain  "gmake").

Regards,
Chip Campbell

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Reply | Threaded
Open this post in threaded view
|

Re: vim 7.3 beta, gmake -j2 vs gmake

Dominique Pellé
Charles Campbell wrote:

> Hello!
>
> Having just gotten mercurial running, I've now vim 7.3beta -- and here's my
> first bug report:
>
> Using the following configure line:
>
> ./configure --with-features=huge --enable-gui=gtk2 --enable-perlinterp
> --enable-pythoninterp --enable-gnome-check --enable-cscope
>
> on a Centos 5 (kernel 2.6.18-194.3.1.el5) 64-bit dual core machine and using
> gmake -j2:
>
> src/ xorn? gmake -j2
> mkdir objects
> CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12       -D_REENTRANT -D_GNU_SOURCE
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm  -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
>  -I/usr/include/python2.4 -pthread   " srcdir=. sh ./osdef.sh
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12     -g -O2 -D_FORTIFY_SOURCE=1    -D_REENTRANT
> -D_GNU_SOURCE   -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
>  -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
>  -I/usr/include/python2.4 -pthread    -o objects/blowfish.o blowfish.c
> In file included from blowfish.c:14:
> vim.h:288:61: error: auto/osdef.h: No such file or directory
> gmake: *** [objects/blowfish.o] Error 1
> gmake: *** Waiting for unfinished jobs....
>
> With a plain gmake, compilation was successful.  I'm not sure why
> auto/osdef.h was not found (it was there, and presumably was found with a
> plain  "gmake").
>
> Regards,
> Chip Campbell

Hi Charles

I can reproduce it. I think we just need to run "make depend" in order to
update Makefile dependencies, at least the new file blowfish.c, and then
checkin the updated Makefile.

Regards
-- Dominique

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php