Bug 1362 - VendorReleaseDefines causes build failure
Summary: VendorReleaseDefines causes build failure
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Monolithic (show other bugs)
Version: 6.7.0
Hardware: SPARC Solaris
: high blocker
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 18:35 UTC by George R. Goffe
Modified: 2011-10-15 15:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description George R. Goffe 2004-09-13 18:35:46 UTC
Build platform: Sun Solaris 2.8 with gcc 3.4.1.

Line 21 of the Imakefile in  xc/programs/xfs/difs appears to cause build failures.

# define VendorReleaseDefines -DVENDOR_RELEASE='$(VENDOR_RELEASE)'



gcc -c -O2 -DNO_ASM   -I../include -I../../../include/fonts
-I../../../include/extensions          -I../../../lib/font/include
-I../../../lib/font/bitmap  -I../../.. -I../../../exports/include   -Dsun
-Dsparc -DSVR4 -D__EXTENSIONS__       -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'  error.c
rm -f libos.a
/usr/ccs/bin/ar cqs libos.a connection.o waitfor.o daemon.o io.o utils.o
osinit.o       config.o access.o osglue.o error.o 
make[5]: Leaving directory `/tmp/tools/x11/xc/programs/xfs/os'
making all in programs/xfs/difs...
make[5]: Entering directory `/tmp/tools/x11/xc/programs/xfs/difs'
rm -f main.o
gcc -c -O2 -DNO_ASM   -I../include -I../../../include/fonts
-I../../../include/extensions -I../../../lib/font/include  -I../../..
-I../../../exports/include   -Dsun -Dsparc -DSVR4 -D__EXTENSIONS__    
VendorReleaseDefines -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'  -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'
-DDEFAULT_CONFIG_FILE=\"/usr/X11R6/lib/X11/fs/config\" main.c
gcc: VendorReleaseDefines: Ngcc -c -O2 -DNO_ASM   -I../include
-I../../../include/fonts -I../../../include/extensions         
-I../../../lib/font/include -I../../../lib/font/bitmap  -I../../..
-I../../../exports/include   -Dsun -Dsparc -DSVR4 -D__EXTENSIONS__      
-DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'  error.c
rm -f libos.a
/usr/ccs/bin/ar cqs libos.a connection.o waitfor.o daemon.o io.o utils.o
osinit.o       config.o access.o osglue.o error.o 
make[5]: Leaving directory `/tmp/tools/x11/xc/programs/xfs/os'
making all in programs/xfs/difs...
make[5]: Entering directory `/tmp/tools/x11/xc/programs/xfs/difs'
rm -f main.o
gcc -c -O2 -DNO_ASM   -I../include -I../../../include/fonts
-I../../../include/extensions -I../../../lib/font/include  -I../../..
-I../../../exports/include   -Dsun -Dsparc -DSVR4 -D__EXTENSIONS__    
VendorReleaseDefines -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'  -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'
-DDEFAULT_CONFIG_FILE=\"/usr/X11R6/lib/X11/fs/config\" main.c
gcc: VendorReleaseDefines: No such file or directory
*** Error code 1
o such file or directory
*** Error code 1
Comment 1 Alan Coopersmith 2005-05-15 11:51:40 UTC
Closing, since this is filed against Xorg 6.7.0, where it was indeed broken, but
it was fixed in CVS head shortly after that release and is fixed in 6.8.0 & later.

Fix was:
http://cvs.freedesktop.org/xorg/xc/programs/xfs/difs/Imakefile?r1=1.2&r2=1.3


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.