>I'm sorry there's no error message. I cannot help.
Thanks to Philippe, who told me it's a problem with "ar" and it wasn't in my path that's why that strange error message appeared. Now I have applied the 3 patches which you put online but unfortunately I get the following error message:
gmake[1]: Entering directory `/opt/source/gnokii-0.6.15/gnokii' gcc -g -O2 -Wall -I../include -c -o gnokii.o gnokii.c In file included from ../include/misc.h:41, from gnokii.c:42: ../include/compat.h:63:1: warning: "_GNU_SOURCE" redefined In file included from gnokii.c:41: ../include/config.h:513:1: warning: this is the location of the previous definition gcc -g -O2 -Wall -I../include -c -o gnokii-calendar.o gnokii-calendar.c In file included from
../include/misc.h:41, from gnokii-calendar.c:41: ../include/compat.h:63:1: warning: "_GNU_SOURCE" redefined In file included from gnokii-calendar.c:40: ../include/config.h:513:1: warning: this is the location of the previous definition gcc -g -O2 -Wall -I../include -c -o gnokii-dial.o gnokii-dial.c In file included from ../include/misc.h:41, from gnokii-dial.c:41: ../include/compat.h:63:1: warning: "_GNU_SOURCE" redefined In file included from gnokii-dial.c:40: ../include/config.h:513:1: warning: this is the location of the previous definition gcc -g -O2 -Wall -I../include -c -o gnokii-file.o gnokii-file.c In file included from
../include/misc.h:41, from gnokii-file.c:41: ../include/compat.h:63:1: warning: "_GNU_SOURCE" redefined In file included from gnokii-file.c:40: ../include/config.h:513:1: warning: this is the location of the previous definition gcc -g -O2 -Wall -I../include -c -o gnokii-logo.o gnokii-logo.c In file included from ../include/misc.h:41, from gnokii-logo.c:41: ../include/compat.h:63:1: warning: "_GNU_SOURCE" redefined In file included from gnokii-logo.c:40: ../include/config.h:513:1: warning: this is the location of the previous definition gcc -g -O2 -Wall -I../include -c -o gnokii-monitor.o gnokii-monitor.c In file included from
../include/misc.h:41, from gnokii-monitor.c:41: ../include/compat.h:63:1: warning: "_GNU_SOURCE" redefined In file included from gnokii-monitor.c:40: ../include/config.h:513:1: warning: this is the location of the previous definition gnokii-monitor.c: In function `displayoutput': gnokii-monitor.c:396: warning: implicit declaration of function `fcntl' gnokii-monitor.c:396: error: `F_SETFL' undeclared (first use in this function) gnokii-monitor.c:396: error: (Each undeclared identifier is reported only once gnokii-monitor.c:396: error: for each function it appears in.) gnokii-monitor.c:396: error: `O_NONBLOCK' undeclared (first use in this function) gmake[1]: *** [gnokii-monitor.o] Error 1 gmake[1]: Leaving directory `/opt/source/gnokii-0.6.15/gnokii' gmake: *** [gnokii] Error
2