I'm having issues compiling the x11 version of
carworld. I'm using gcc 2.95.3 on Gentoo, and when I
type gmake it says:
g++ -g -Wall -ansi -I/usr/X11R6/include
-I/usr/include/X11 -D USE_POSIX_SOCKETS -D USE_LIN_JOY
-oobj/X11Main.o -c src/x11/X11Main.cpp
src/x11/X11Main.cpp: In method `int
src/x11/X11Main.cpp:139: `timezone' undeclared (first
use this function)
src/x11/X11Main.cpp:139: (Each undeclared identifier is
reported only once
src/x11/X11Main.cpp:139: for each function it appears in.)
src/x11/X11Main.cpp:139: parse error before `;'
src/x11/X11Main.cpp:143: `tz' undeclared (first use
gmake: *** [X11Main.o] Error 1
I've looked at the ./src/x11/X11Main.cpp file, and the
only thing it is doing is declaring the timezone struct
I've gone as far as trying to add a struct and a const
struct in front of it, but no good.
I've grepped the /usr/include/sys/time.h file which is
included at the top of ./src/x11/X11Main.cpp, and it says:
typedef struct timezone *__restrict __timezone_ptr_t;
so I know the timezone structure is existent.
What else can I do to check this out? I'm confused.
Log in to post a comment.