gpm
gpm copied to clipboard
redirect path of missing/wrong headers
@selkfoster Can you resolve conflicts? Thanks!
@darko-poljak Hello. Yes, I will make the update, tomorrow (due to the lack of time now).
@darko-poljak Done. :-)
UPDATE:
It looks like gpm does not build without the fcntl.h header:
lib/liblow.c: In function 'Gpm_Open': lib/liblow.c:265:29: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 265 | if ((gpm_consolefd=open(tty,O_WRONLY)) < 0) { | ^~~~ | popen lib/liblow.c:265:38: error: 'O_WRONLY' undeclared (first use in this function) 265 | if ((gpm_consolefd=open(tty,O_WRONLY)) < 0) { | ^~~~~~~~ lib/liblow.c:265:38: note: each undeclared identifier is reported only once for each function it appears in lib/liblow.c:328:41: error: 'O_RDWR' undeclared (first use in this function) 328 | if ((gpm_fd=open(GPM_NODE_DEV,O_RDWR))==-1) { | ^~~~~~ make[1]: *** [Makefile:71: lib/liblow.lo] Error 1 make[1]: Leaving directory '/usr/src/qi/build/gpm-20200617_e82d1a6/src' make: *** [Makefile:77: do-all] Error 1
Looks like we can ignore and close this PR.
P.S: I am testing and building the latest source from the -master branch (17 Jun). Seems to be working fine.
this should be fixed, the issue with headers with https://github.com/telmich/gpm/pull/14 in master