OK, I guess I do crazy things when without knowledge. :) The time_t error went away when including time.h, but login_tty() is still undefined.
Looking in the login_tty manual page it says you need to include it with: #include <util.h> So I added that include at the top of fgrun_pty.cxx but it still doesn't work. On Sat, 18 Dec 2004 21:49:29 +0100, Frederic Bouvier <[EMAIL PROTECTED]> wrote: > 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 > -- <Arthur/> - http://artooro.blogspot.com (Weblog) - http://machcms.sourceforge.net (MachCMS Project) - http://acalproj.sourceforge.net (Calendar Project) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
