! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cannot compile xffm under FreeBSD 5.3
Status:
RESOLVED: FIXED
Severity:
critical

Comments

Description Mart T 2004-10-03 09:34:39 CEST
Fails with the following error message:

Making all in fgr
gmake[2]: Entering directory `/usr/home/tm/xfce4/xffm/fgr'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/libs    -g -O2 -MT glob.o -MD -MP -M
eps/glob.Tpo" -c -o glob.o glob.c; \
then mv -f ".deps/glob.Tpo" ".deps/glob.Po"; else rm -f ".deps/glob.Tpo"; e
; fi
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/home/tm/xfce4/xffm/fgr'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/tm/xfce4/xffm'
gmake: *** [all] Error 2
Comment 1 Mart T 2004-10-03 10:41:59 CEST
Ok, this one went away with this...

> cvs diff -u globber.h
Index: globber.h
===================================================================
RCS file: /cvsroot/xfce/xfce4/xffm/fgr/globber.h,v
retrieving revision 1.3
diff -u -r1.3 globber.h
--- globber.h   25 Aug 2004 19:04:05 -0000      1.3
+++ globber.h   3 Oct 2004 10:41:06 -0000
@@ -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>
Comment 2 Mart T 2004-10-03 10:51:48 CEST
Another error in libraries...

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../smb -I/usr/local/include
-DLIBDIR=\"/usr/local/lib\" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include -I/usr/local/include/xfce4
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/xfce4 -DPACKAGE_DATA_DIR=\"/usr/local/share\"
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0
-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include
-I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -g -O2
-MT libxffm_basic_la-modules.lo -MD -MP -MF .deps/libxffm_basic_la-modules.Tpo
-c modules.c  -fPIC -DPIC -o .libs/libxffm_basic_la-modules.o
In file included from ./constants.h:4,
                 from ../smb/smb_module.h:6,
                 from modules.h:13,
                 from modules.c:32:
./types.h:133: error: syntax error before "off_t"
*** Error code 1
Comment 3 Mart T 2004-10-03 10:53:53 CEST
And the last one will go away...

Now it compiles and runs at least :)


> cvs diff -u types.h
Index: types.h
===================================================================
RCS file: /cvsroot/xfce/xfce4/xffm/libs/types.h,v
retrieving revision 1.50
diff -u -r1.50 types.h
--- types.h     22 Sep 2004 01:02:22 -0000      1.50
+++ types.h     3 Oct 2004 10:53:05 -0000
@@ -2,6 +2,8 @@
 #ifndef __XFFM_TYPES_H__
 #define __XFFM_TYPES_H__
 #include <time.h>
+#include <sys/types.h>
+
 /* only 2 treeview supported at present time */
 enum
 {
Comment 4 edscott editbugs 2004-10-03 13:24:37 CEST
The missing header files you noticed have been added to CVS HEAD. Please let us
know about anything else you notice.
Comment 5 Mart T 2004-10-04 08:39:03 CEST
Ok, it's done.

Bug #350

Reported by:
Mart T
Reported on: 2004-10-03
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information