[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vile] Build error on 32-bit linux
From: |
Chris G |
Subject: |
[vile] Build error on 32-bit linux |
Date: |
Wed, 3 Feb 2010 11:00:31 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
I've just been trying to build vile-9.7zb on my little server box
which is all 32-bit. I'm compiling exactly the same stuff as built
perfectly OK on my 64-bit desktop and both systems are running a
variety of ubuntu 9.10.
I'm getting the following error on the 32-bit system:-
gcc -c -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE -I/usr/include/ncursesw
-D_FILE_OFFSET_BITS=64 -DPROGRAM_NAME=\"vile\" -DVILE_ICON=\"icons/vile\"
-DVILE_LIBDIR_PATH=\"'/usr/local/lib/vile'\"
-DVILE_STARTUP_PATH=\"'/usr/local/share/vile'\" -g -O2
-DHELP_LOC=\"/usr/local/share/vile\" random.c
random.c: In function ‘vl_elapsed’:
random.c:1645: warning: passing argument 1 of ‘gettimeofday’ from incompatible
pointer type
/usr/include/sys/time.h:73: note: expected ‘struct timeval * __restrict__’ but
argument is of type ‘time_t *’
random.c:1648: error: request for member ‘tv_sec’ in something not a structure
or union
random.c:1648: error: request for member ‘tv_usec’ in something not a structure
or union
random.c:1648: error: request for member ‘tv_sec’ in something not a structure
or union
random.c:1648: error: request for member ‘tv_usec’ in something not a structure
or union
make: *** [random.o] Error 1
It looks as if the 32-bit system has a different header file somewhere
that breaks things, any ideas how to fix?
--
Chris Green
- [vile] Build error on 32-bit linux,
Chris G <=