Bug 993 - Build failure with |#define BuildXevie NO|
Summary: Build failure with |#define BuildXevie NO|
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: All Linux (All)
: high blocker
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 351
  Show dependency treegraph
 
Reported: 2004-08-05 17:20 UTC by Roland Mainz
Modified: 2011-10-15 15:48 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Roland Mainz 2004-08-05 17:20:02 UTC
2004-08-05-trunk on SuSE Linux 8.2/x86, a build with |#define BuildXevie NO|
fails like this:
-- snip --
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic -Wall
-Wpointer-arith -Wundef  -I../../lib/X11  -I../.. -
I../../exports/include   -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE
-D_XOPEN_SOURCE     
                                -D_BSD_SOURCE
-D_SVID_SOURCE                            
-D_GNU_SOURCE                            -D
FUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API   
-DMALLOC_0_RETURNS_NULL     -fPIC Xevie.c
Xevie.c:37:37: X11/extensions/Xeviestr.h: No such file or directory
Xevie.c:43: error: `XEVIENAME' undeclared here (not in a function)
Xevie.c: In function `XevieQueryVersion':
Xevie.c:89: error: `xXevieQueryVersionReply' undeclared (first use in this
function)
Xevie.c:89: error: (Each undeclared identifier is reported only once
Xevie.c:89: error: for each function it appears in.)
Xevie.c:89: error: parse error before "rep"
Xevie.c:90: error: `xXevieQueryVersionReq' undeclared (first use in this
function)
Xevie.c:90: error: `req' undeclared (first use in this function)
Xevie.c:96: error: `sz_xXevieQueryVersionReq' undeclared (first use in this
function)
Xevie.c:96: error: parse error before ')' token
Xevie.c:96: error: `X_XevieQueryVersion' undeclared (first use in this function)
Xevie.c:99: error: `XEVIE_MAJOR_VERSION' undeclared (first use in this function)
Xevie.c:100: error: `XEVIE_MINOR_VERSION' undeclared (first use in this
function)
Xevie.c:101: error: `rep' undeclared (first use in this function)
Xevie.c: In function `XevieStart':
Xevie.c:128: error: `xXevieStartReply' undeclared (first use in this function)
Xevie.c:128: error: parse error before "rep"
Xevie.c:129: error: `xXevieStartReq' undeclared (first use in this function)
Xevie.c:129: error: `req' undeclared (first use in this function)
Xevie.c:135: error: `sz_xXevieStartReq' undeclared (first use in this function)
Xevie.c:135: error: parse error before ')' token
Xevie.c:135: error: `X_XevieStart' undeclared (first use in this function)
Xevie.c:138: error: `rep' undeclared (first use in this function)
Xevie.c: In function `XevieEnd':
Xevie.c:150: error: `xXevieEndReply' undeclared (first use in this function)
Xevie.c:150: error: parse error before "rep"
Xevie.c:151: error: `xXevieEndReq' undeclared (first use in this function)
Xevie.c:151: error: `req' undeclared (first use in this function)
Xevie.c:156: error: `sz_xXevieEndReq' undeclared (first use in this function)
Xevie.c:156: error: parse error before ')' token
Xevie.c:156: error: `X_XevieEnd' undeclared (first use in this function)
Xevie.c:160: error: `rep' undeclared (first use in this function)
Xevie.c: In function `XevieSendEvent':
Xevie.c:173: error: `xXevieSendReply' undeclared (first use in this function)
Xevie.c:173: error: parse error before "rep"
Xevie.c:174: error: `xXevieSendReq' undeclared (first use in this function)
Xevie.c:174: error: `req' undeclared (first use in this function)
Xevie.c:177: error: `sz_xXevieSendReq' undeclared (first use in this function)
Xevie.c:177: error: parse error before ')' token
Xevie.c:177: error: `X_XevieSend' undeclared (first use in this function)
Xevie.c:182: error: `rep' undeclared (first use in this function)
Xevie.c: In function `XevieSelectInput':
Xevie.c:194: error: `xXevieSelectInputReply' undeclared (first use in this
function)
Xevie.c:194: error: parse error before "rep"
Xevie.c:195: error: `xXevieSelectInputReq' undeclared (first use in this
function)
Xevie.c:195: error: `req' undeclared (first use in this function)
Xevie.c:198: error: `sz_xXevieSelectInputReq' undeclared (first use in this
function)
Xevie.c:198: error: parse error before ')' token
Xevie.c:198: error: `X_XevieSelectInput' undeclared (first use in this function)
Xevie.c:203: error: `rep' undeclared (first use in this function)
make[4]: *** [Xevie.o] Error 1
make[4]: Leaving directory
`/home/gismobile/projects/xorg/anonwork006/xc/lib/Xext'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/gismobile/projects/xorg/anonwork006/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gismobile/projects/xorg/anonwork006/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/gismobile/projects/xorg/anonwork006/xc'
make: *** [World] Error 2
-- snip --

Steps to reproduce:
1. Pull source from CVS
2. Add
-- snip --
#define BuildXevie NO
-- snip --
to xc/config/cf/host.def
3. Build
% cd xc
% make World 2>&1 | tee -a buildlog.log
Comment 1 Kevin E. Martin 2004-08-08 19:08:58 UTC
There were three problems here, but they have now been fixed and checked in.

- Make header files available when building the Xevie library
- Disable building Xevie library when BuildXevieLibrary is NO
- Added #ifdef XEVIE around recent changes to dix/events.c

Also, this brings up an issue that was raised on the xorg@fdo mailing list: Are
we going to keep Xevie in Xext or are we going to put it into a library of its own?
Comment 2 Kevin E. Martin 2004-08-11 15:43:59 UTC
Update from today's release wranglers call.  Xevie will be put into a separate
library.  Stuart Kreitman said he would do this work.
Comment 3 Kevin E. Martin 2004-08-16 12:04:21 UTC
This has been checked in.
Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.