Page 1 of 1

sys/termios.h: No such file or directory

Posted: Tue Jan 17, 2017 7:27 pm
by nebiun
termios.h references <sys/termios.h>, but the file does not exist.

Re: sys/termios.h: No such file or directory

Posted: Tue Jan 17, 2017 8:08 pm
by WinterMute
What are you building that includes termios.h?

newlib has a lot of things that may not currently work with devkitARM or devkitPPC. This isn't necessarily a bug.

Re: sys/termios.h: No such file or directory

Posted: Tue Jan 17, 2017 10:05 pm
by nebiun
I'm working to lite version of libcurses to compile the Rogue game for wii.
Not a problem removing termios.h from source, but I think you must remove the reference to a non existent file from termios.h (or add an empty sys/termios.h)

Re: sys/termios.h: No such file or directory

Posted: Wed Jan 18, 2017 12:44 am
by WinterMute
Funnily enough I was looking at an ncurses port a few months ago but got buried in toolchain & other library updates.

Is this failing with configure & make or are you attempting the usual unfortunate method of slapping the source in a project & beating it until it compiles?

I do recommend going for the configure & make using $DEVKITPRO/portlibs/ppc as prefix (assuming there's no wii or cube specific parts to curses). That will test toolchain capabilities properly.

I can have a look soon - I've been meaning to look at porting over the vt52 stuff we extended for 3DS.