xffm compilation problem

Martti Kuparinen martti.kuparinen at iki.fi
Fri Oct 8 14:35:14 CEST 2004


Is this already fixed?

glob.c: In function `main':
glob.c:221: error: `SIGHUP' undeclared (first use in this function)
glob.c:221: error: (Each undeclared identifier is reported only once
glob.c:221: error: for each function it appears in.)
glob.c:222: error: `SIGSEGV' undeclared (first use in this function)
glob.c:223: error: `SIGKILL' undeclared (first use in this function)
glob.c:224: error: `SIGTERM' undeclared (first use in this function)
gmake[2]: *** [glob.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/xfce4-fm/work/xffm-4.1.90/fgr'
gmake[1]: *** [all-recursive] Error 1

The code need to #include <sys/signal.h>

--- fgr/globber.h.orig	2004-10-08 15:35:12.000000000 +0300
+++ fgr/globber.h	2004-10-08 15:35:37.000000000 +0300
@@ -40,6 +40,7 @@
  #include <sys/types.h>
  #include <sys/stat.h>
  #include <sys/wait.h>
+#include <sys/signal.h>
  #include <time.h>
  #include <errno.h>

Martti



More information about the Xfce4-dev mailing list