Should I post it here or in the fgrun mailing list? I assume here
since there's only one person subscribed to the fgrun list.

I was getting this error:

if g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/FlightGear/include  -g -O2 -MT
run_posix.o -MD -MP -MF ".deps/run_posix.Tpo" \
  -c -o run_posix.o `test -f 'run_posix.cxx' || echo './'`run_posix.cxx; \
then mv -f ".deps/run_posix.Tpo" ".deps/run_posix.Po"; \
else rm -f ".deps/run_posix.Tpo"; exit 1; \
fi
run_posix.cxx: In member function `void Wizard::run_fgfs()':
run_posix.cxx:61: error: `OLCUC' undeclared (first use this function)
run_posix.cxx:61: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[2]: *** [run_posix.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

I looked the relevant code which is this:

void
Wizard::run_fgfs()
{
    pid_t pid;
    int master = -1;

#if defined(HAVE_TERMIOS_H)
    struct termios term;
    tcgetattr( STDOUT_FILENO, &term );
    term.c_oflag &= ~( OLCUC | ONLCR ); // This is the error line,
something with the OLCUC constant

    pid = pty_fork( &master, 0, &term, 0 );
#else
    pid = pty_fork( &master, 0, 0, 0 );
#endif

And I program in PHP and some other, this is just a little too
different for me to figure out how to fix.


On Sat, 18 Dec 2004 14:34:02 +0100, Frederic Bouvier <[EMAIL PROTECTED]> wrote:
> Arthur Wiebe wrote :
> 
> >I couldn't get fgrun to compile on OSX and so have started to write
> >one that's OS X native using Cocoa and AppleScript. (Applescript
> >Studio)
> >
> You should try to share your experience / problems with fgrun in order
> to get help. I can check your patches if you have some.
> 
> -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

Reply via email to