Arthur Wiebe wrote :

if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/FlightGear/include -g -O2 -MT
fgrun_pty.o -MD -MP -MF ".deps/fgrun_pty.Tpo" \
-c -o fgrun_pty.o `test -f 'fgrun_pty.cxx' || echo './'`fgrun_pty.cxx; \
then mv -f ".deps/fgrun_pty.Tpo" ".deps/fgrun_pty.Po"; \
else rm -f ".deps/fgrun_pty.Tpo"; exit 1; \
fi
In file included from fgrun_pty.cxx:32:
/usr/include/utmp.h:75: error: 'time_t' is used as a type, but is not defined as a type.
make[2]: *** [fgrun_pty.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


A quick look in utmp.h and I see time_t defined there like this:


time_t is defined in time.h . If utmp.h doesn't include it already, add this line *before* utmp.h :

#include <time.h>

-Fred



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to