gpm icon indicating copy to clipboard operation
gpm copied to clipboard

redirect path of missing/wrong headers

Open selkfoster opened this issue 8 years ago • 5 comments

selkfoster avatar Aug 09 '17 23:08 selkfoster

@selkfoster Can you resolve conflicts? Thanks!

darko-poljak avatar Jun 17 '20 10:06 darko-poljak

@darko-poljak Hello. Yes, I will make the update, tomorrow (due to the lack of time now).

selkfoster avatar Jun 17 '20 23:06 selkfoster

@darko-poljak Done. :-)

selkfoster avatar Jun 19 '20 13:06 selkfoster

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.

selkfoster avatar Sep 03 '20 20:09 selkfoster

this should be fixed, the issue with headers with https://github.com/telmich/gpm/pull/14 in master

sergiomb2 avatar Feb 16 '21 17:02 sergiomb2