Current build failures

Stefan Dirsch sndirsch at suse.de
Fri Jul 15 08:39:34 EST 2005


On Thu, Jul 14, 2005 at 07:00:40PM +0200, Stefan Dirsch wrote:
> Just to let you know. I've encountered the following build failures in
> current CVS:

Meanwhile I had a closer look at these:

> lib/XvMC: error: X11/extensions/XvMClib.h: No such file or directory

Patch attached (libXvMC.diff)

> app/twm: needs man/Makefile.in (man/Makefile.am missing)

Patch attached (apptwm.diff)

> app/xfwp: io.c:279: error: storage size of 'time_zone' isn't known

After adding "-D_BSD_SOURCE":
misc.c:42:23: error: X11/PM/PM.h: No such file or directory

> app/xfd: (lib)xft required

Will libXft be completely external as xterm is now?

> app/xdm: multiple definitions of Xdm*Auth during linking

More details:

xdm-xdmauth.o: In function `XdmInitAuth':
xdmauth.c:(.text+0x9f): multiple definition of `XdmInitAuth'
xdm-xdmauth.o:xdmauth.c:(.text+0x9f): first defined here
xdm-xdmauth.o: In function `XdmGetAuth':
xdmauth.c:(.text+0x298): multiple definition of `XdmGetAuth'
xdm-xdmauth.o:xdmauth.c:(.text+0x298): first defined here
xdm-xdmauth.o: In function `XdmGetXdmcpAuth':
xdmauth.c:(.text+0x2bc): multiple definition of `XdmGetXdmcpAuth'
xdm-xdmauth.o:xdmauth.c:(.text+0x2bc): first defined here
xdm-xdmauth.o: In function `XdmCheckAuthentication':
xdmauth.c:(.text+0x94e): multiple definition of `XdmCheckAuthentication'
xdm-xdmauth.o:xdmauth.c:(.text+0x94e): first defined here

> app/lbxproxy: include files not found (can't remember)

di/pm.c:42:23: error: X11/PM/PM.h: No such file or directory
di/pm.c:43:28: error: X11/PM/PMproto.h: No such file or directory

Also sth. for proto module?

> app/listres: listres.c:48: error: 'caddr_t' undeclared

Patch attached (applistres.diff)

> app/xfs: os/connection.c:260: error: 'fd_mask' undeclared

Patch attached (appxfs.diff)

> app/xgc: choice.c:264: error: syntax error before 'caddr_t'

Patch attached (appxgc.diff)

> app/xman: buttons.c:452: error: 'caddr_t' undeclared 

Patch attached (appxman.diff)

> app/xmh: error: 'S_IWRITE' undeclared (first use in this function)

Patch attached (appxmh.diff)

> app/xset: xset.c:169: error: 'caddr_t' undeclared

Patch attached (appxset.diff)

> app/xstdcmap: xstdcmap.c:96: error: 'caddr_t' undeclared

Patch attached (appxstdcmap.diff)

> app/xtrap: xtrapin.c:108: error: 'caddr_t' undeclared

Patch attached (appxtrap.diff)

> xserver/xorg: bigreq.c:44:21: error: modinit.h: No such file or directory

Patch attached (xserverxorg.diff)

Regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------
-------------- next part --------------
--- util.old/modular/symlink.sh	2005-07-14 20:28:33.000000000 +0000
+++ util/modular/symlink.sh	2005-07-14 20:34:39.000000000 +0000
@@ -253,6 +253,7 @@
     action	Xvproto.h
     action	XvMC.h
     action	XvMCproto.h
+    action	XvMClib.h
 }
 
 symlink_proto_xcmisc() {
--- proto.old/Video/Makefile.am	2005-07-14 20:28:26.000000000 +0000
+++ proto/Video/Makefile.am	2005-07-14 20:31:34.000000000 +0000
@@ -4,6 +4,7 @@
 	Xv.h \
 	XvMC.h \
 	XvMCproto.h \
+	XvMClib.h \
 	Xvproto.h
 
 pkgconfigdir = $(libdir)/pkgconfig
-------------- next part --------------
--- app.old/twm/src/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/twm/src/Makefile.am	2005-07-14 21:04:15.000000000 +0000
@@ -24,7 +24,7 @@
 
 bin_PROGRAMS = twm
 
-twm_CFLAGS = $(DEP_CFLAGS) -DXVENDORNAME=\"The\ X.org\ Foundation\" -DXORG_RELEASE=\"Release\ $(VERSION)\"
+twm_CFLAGS = $(DEP_CFLAGS) -DXVENDORNAME=\"The\ X.org\ Foundation\" -DXORG_RELEASE=\"Release\ $(VERSION)\" -D_BSD_SOURCE
 twm_LDADD = $(DEP_LIBS)
 
 twm_SOURCES =   \
--- /dev/null	2005-07-12 07:11:39.000000000 +0000
+++ app/twm/man/Makefile.am	2005-07-14 20:46:21.000000000 +0000
@@ -0,0 +1,3 @@
+dist_man_MANS = \
+        twm.man
+
-------------- next part --------------
--- app.old/listres/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/listres/Makefile.am	2005-07-14 21:08:34.000000000 +0000
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = listres
 
-listres_CFLAGS = $(DEP_CFLAGS)
+listres_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 listres_LDADD = $(DEP_LIBS)
 
 listres_SOURCES =	\
-------------- next part --------------
--- app.old/xfs/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/xfs/Makefile.am	2005-07-14 21:36:05.000000000 +0000
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = xfs
 
-xfs_CFLAGS = $(DEP_CFLAGS) -I$(top_srcdir)/include -DXFSPIDDIR=\"/var/run\"
+xfs_CFLAGS = $(DEP_CFLAGS) -I$(top_srcdir)/include -DXFSPIDDIR=\"/var/run\" -D_BSD_SOURCE
 xfs_LDADD = $(DEP_LIBS)
 
 xfs_SOURCES = \
-------------- next part --------------
--- app.old/xgc/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/xgc/Makefile.am	2005-07-14 21:35:38.000000000 +0000
@@ -23,7 +23,7 @@
 
 bin_PROGRAMS = xgc
 
-xgc_CFLAGS = $(DEP_CFLAGS)
+xgc_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 xgc_LDADD = $(DEP_LIBS) -lm
 
 xgc_SOURCES =	\
-------------- next part --------------
--- app.old/xman/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/xman/Makefile.am	2005-07-14 21:37:47.000000000 +0000
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = xman
 
-xman_CFLAGS = $(DEP_CFLAGS)
+xman_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 xman_LDADD = $(DEP_LIBS)
 
 xman_SOURCES =	\
-------------- next part --------------
--- app.old/xmh/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/xmh/Makefile.am	2005-07-14 21:39:49.000000000 +0000
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = xmh
 
-xmh_CFLAGS = $(DEP_CFLAGS) -DXVENDORNAME=\"X.org\ Foundation\" -DXORG_RELEASE=\"$(VERSION)\"
+xmh_CFLAGS = $(DEP_CFLAGS) -DXVENDORNAME=\"X.org\ Foundation\" -DXORG_RELEASE=\"$(VERSION)\" -D_BSD_SOURCE
 xmh_LDADD = $(DEP_LIBS)
 
 xmh_SOURCES =	\
-------------- next part --------------
--- app.old/xset/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/xset/Makefile.am	2005-07-14 21:41:15.000000000 +0000
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = xset
 
-xset_CFLAGS = $(DEP_CFLAGS)
+xset_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 xset_LDADD = $(DEP_LIBS)
 
 xset_SOURCES =	\
-------------- next part --------------
--- app.old/xstdcmap/Makefile.am	2005-07-14 20:27:07.000000000 +0000
+++ app/xstdcmap/Makefile.am	2005-07-14 21:42:36.000000000 +0000
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = xstdcmap
 
-xstdcmap_CFLAGS = $(DEP_CFLAGS)
+xstdcmap_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 xstdcmap_LDADD = $(DEP_LIBS)
 
 xstdcmap_SOURCES =	\
-------------- next part --------------
--- app.old/xtrap/Makefile.am	2005-07-14 20:27:06.000000000 +0000
+++ app/xtrap/Makefile.am	2005-07-14 21:46:11.000000000 +0000
@@ -46,7 +46,7 @@
 #
 # xtrapin
 # 
-xtrapin_CFLAGS = $(DEP_CFLAGS)
+xtrapin_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 xtrapin_LDADD = $(DEP_LIBS)
 
 xtrapin_SOURCES = \
@@ -57,7 +57,7 @@
 #
 # xtrapout
 #
-xtrapout_CFLAGS = $(DEP_CFLAGS)
+xtrapout_CFLAGS = $(DEP_CFLAGS) -D_BSD_SOURCE
 xtrapout_LDADD = $(DEP_LIBS)
 
 xtrapout_SOURCES = \
-------------- next part --------------
--- xserver.old/xorg/Xext/Makefile.am	2005-07-14 20:28:40.000000000 +0000
+++ xserver/xorg/Xext/Makefile.am	2005-07-14 21:57:31.000000000 +0000
@@ -32,7 +32,7 @@
 XEVIE_SRCS = xevie.c EVIstruct.h
 endif
 
-INCLUDES = -I$(srcdir)/extmod
+INCLUDES = -I$(srcdir)/extmod -I$(top_builddir)/hw/xfree86/dixmods/extmod
 
 AM_CFLAGS = $(DIX_CFLAGS)
 


More information about the xorg-modular mailing list