LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-21-2004, 10:45 AM   #1
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Rep: Reputation: 15
Xorg 6.8.1 compile problem


I've got an LFS 6.0 base system, and I'm working my way through the BLFS development Version svn-20041220. I have install cracklib, linux-PAM, and reinstalled shadow, as per the instructions concerning linux-PAM. I have also installed expat, libpng, fontconfig, and freetype (the prerequisites for Xorg).
Now, when I run 'make World' I get the following (take from the log file):

Code:
Building Release 6.8.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Tue Dec 21 08:46:33 CST 2004

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/usr/src/xorg/xcbuild/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/usr/src/xorg/xcbuild/config/imake'
make  Makefile.boot
make[1]: Entering directory `/usr/src/xorg/xcbuild'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/usr/src/xorg/xcbuild/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/usr/src/xorg/xcbuild/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
In file included from ./config/cf/site.def:44,
                 from ./config/cf/Imake.tmpl:46,
                 from Imakefile.c:34:
./config/cf/host.def:54: warning: "XF86CardDrivers" redefined
./config/cf/host.def:53: warning: this is the location of the previous definition
./config/cf/host.def:55: warning: "XF86CardDrivers" redefined
./config/cf/host.def:54: warning: this is the location of the previous definition
./config/cf/host.def:56: warning: "XF86CardDrivers" redefined
./config/cf/host.def:55: warning: this is the location of the previous definition
./config/cf/host.def:57: warning: "XF86CardDrivers" redefined
./config/cf/host.def:56: warning: this is the location of the previous definition
./config/cf/host.def:58: warning: "XF86CardDrivers" redefined
./config/cf/host.def:57: warning: this is the location of the previous definition
./config/cf/host.def:59: warning: "XF86CardDrivers" redefined
./config/cf/host.def:58: warning: this is the location of the previous definition
./config/cf/host.def:60: warning: "XF86CardDrivers" redefined
./config/cf/host.def:59: warning: this is the location of the previous definition
In file included from ./config/cf/site.def:146,
                 from ./config/cf/Imake.tmpl:111,
                 from Imakefile.c:34:
./config/cf/host.def:53: warning: "XF86CardDrivers" redefined
In file included from ./config/cf/site.def:44,
                 from ./config/cf/Imake.tmpl:46,
                 from Imakefile.c:34:
./config/cf/host.def:60: warning: this is the location of the previous definition
In file included from ./config/cf/site.def:146,
                 from ./config/cf/Imake.tmpl:111,
                 from Imakefile.c:34:
./config/cf/host.def:54: warning: "XF86CardDrivers" redefined
./config/cf/host.def:53: warning: this is the location of the previous definition
./config/cf/host.def:55: warning: "XF86CardDrivers" redefined
./config/cf/host.def:54: warning: this is the location of the previous definition
./config/cf/host.def:56: warning: "XF86CardDrivers" redefined
./config/cf/host.def:55: warning: this is the location of the previous definition
./config/cf/host.def:57: warning: "XF86CardDrivers" redefined
./config/cf/host.def:56: warning: this is the location of the previous definition
./config/cf/host.def:58: warning: "XF86CardDrivers" redefined
./config/cf/host.def:57: warning: this is the location of the previous definition
./config/cf/host.def:59: warning: "XF86CardDrivers" redefined
./config/cf/host.def:58: warning: this is the location of the previous definition
./config/cf/host.def:60: warning: "XF86CardDrivers" redefined
./config/cf/host.def:59: warning: this is the location of the previous definition
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
make[2]: Entering directory `/usr/src/xorg/xcbuild/config/makedepend'
make[2]: Nothing to be done for `bootstrap'.
make[2]: Leaving directory `/usr/src/xorg/xcbuild/config/makedepend'
./config/imake/imake -I./config/cf  -s ./config/imake/Makefile.proto -f ./config/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake -DBootStrap
In file included from ./config/cf/site.def:44,
                 from ./config/cf/Imake.tmpl:46,
                 from Imakefile.c:34:
./config/cf/host.def:54: warning: "XF86CardDrivers" redefined
./config/cf/host.def:53: warning: this is the location of the previous definition
./config/cf/host.def:55: warning: "XF86CardDrivers" redefined
./config/cf/host.def:54: warning: this is the location of the previous definition
./config/cf/host.def:56: warning: "XF86CardDrivers" redefined
./config/cf/host.def:55: warning: this is the location of the previous definition
./config/cf/host.def:57: warning: "XF86CardDrivers" redefined
./config/cf/host.def:56: warning: this is the location of the previous definition
./config/cf/host.def:58: warning: "XF86CardDrivers" redefined
./config/cf/host.def:57: warning: this is the location of the previous definition
./config/cf/host.def:59: warning: "XF86CardDrivers" redefined
./config/cf/host.def:58: warning: this is the location of the previous definition
./config/cf/host.def:60: warning: "XF86CardDrivers" redefined
./config/cf/host.def:59: warning: this is the location of the previous definition
In file included from ./config/cf/site.def:146,
                 from ./config/cf/Imake.tmpl:111,
                 from Imakefile.c:34:
./config/cf/host.def:53: warning: "XF86CardDrivers" redefined
In file included from ./config/cf/site.def:44,
                 from ./config/cf/Imake.tmpl:46,
                 from Imakefile.c:34:
./config/cf/host.def:60: warning: this is the location of the previous definition
In file included from ./config/cf/site.def:146,
                 from ./config/cf/Imake.tmpl:111,
                 from Imakefile.c:34:
./config/cf/host.def:54: warning: "XF86CardDrivers" redefined
./config/cf/host.def:53: warning: this is the location of the previous definition
./config/cf/host.def:55: warning: "XF86CardDrivers" redefined
./config/cf/host.def:54: warning: this is the location of the previous definition
./config/cf/host.def:56: warning: "XF86CardDrivers" redefined
./config/cf/host.def:55: warning: this is the location of the previous definition
./config/cf/host.def:57: warning: "XF86CardDrivers" redefined
./config/cf/host.def:56: warning: this is the location of the previous definition
./config/cf/host.def:58: warning: "XF86CardDrivers" redefined
./config/cf/host.def:57: warning: this is the location of the previous definition
./config/cf/host.def:59: warning: "XF86CardDrivers" redefined
./config/cf/host.def:58: warning: this is the location of the previous definition
./config/cf/host.def:60: warning: "XF86CardDrivers" redefined
./config/cf/host.def:59: warning: this is the location of the previous definition
cd ./config/imake && make -f Makefile.proto bootstrapdepend
make[2]: Entering directory `/usr/src/xorg/xcbuild/config/imake'
make[2]: Nothing to be done for `bootstrapdepend'.
make[2]: Leaving directory `/usr/src/xorg/xcbuild/config/imake'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" bootstrap
make[2]: Entering directory `/usr/src/xorg/xcbuild/config/imake'
+ mkdir bootstrap
mv *.o bootstrap
+ mv imake bootstrap
make[2]: Leaving directory `/usr/src/xorg/xcbuild/config/imake'
cd ./config/imake && make -f Makefile.proto imakeonly
make[2]: Entering directory `/usr/src/xorg/xcbuild/config/imake'
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -march=i686 */ -ansi -pedantic -Wall -Wpointer-arith -Wundef   -I../../include -I../../exports/include/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 				  -DFUNCPROTO=15 -DNARROWPROTO     -DCPP_PROGRAM="\"cpp\"" -DHAS_MERGE_CONSTANTS=`if gcc -m32 -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; fi` 	     -c -o imake.o imake.c
gcc: bootstrap/: linker input file unused because linking not done
cc1: bootstrap/: No such file or directory
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/usr/src/xorg/xcbuild/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/usr/src/xorg/xcbuild'
make: *** [World] Error 2
Can anybody help me out?

EDIT: I forgot to mention that I am using the 'package user' method for package management. But I don't think this is the issue because I get the same error whether I compile as the package user or as root.

Last edited by drowbot; 12-21-2004 at 10:52 AM.
 
Old 12-21-2004, 03:43 PM   #2
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
with all probability, its a comment issue.

make sure /* are all closed with */



Now if you'll excuse me while I go and shoot the designers of Links for making Control-C the quit program sequence...so much for that nice detailed post I was making to you..
 
Old 12-21-2004, 03:45 PM   #3
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Original Poster
Rep: Reputation: 15
lol
Thanks, I'll check my host.def file.
BTW, I know what you mean on the Links thing. Give em a cap in the arse from me, too!
 
Old 12-26-2004, 03:47 PM   #4
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
heh it seems Control-V is copy and paste at the same time...

anyway if it helps any, here is my host.def file:

Code:
#define XFree86CustomVersion "Salfs 0.7.3 Xorg Custom Build"

/* Compiler options */ /*DefaultGccAMD64Opt*/
#define DefaultGcc2i386Opt -O3 -fno-strength-reduce -fno-strict-aliasing -march=pentium4 /* uncomment for pentium4 */
/* #define DefaultGcc2i386Opt -O3 -fno-strength-reduce -fno-strict-aliasing -march=athlon-xp */ /* uncomment for amd athlon-xp */

#define HasFreetype2 YES
#define HasFontconfig YES
#define HasExpat YES
#define HasLibpng YES
#define HasZlib YES

/* DDX drivers to build: trim this list to your needs */
#define XF86CardDrivers apm ark ati chips cirrus cyrix fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis tdfx tga trident tseng via vesa vga XF86OSCardDrivers XF86ExtraCardDrivers DevelDrivers

/* DRI drivers are built from Mesa CVS */
#define DriDrivers
#define DevelDRIDrivers

/* Build development (insecure) DRI-aware 2D drivers */
/* #define BuildDevelDRIDrivers YES*/

/* I have no idea what this does / is */
#define DoLoadableServer YES

/* Optionally build the Xnest, Xvfb and Xdmx servers */
#define XnestServer YES
#define XVirtualFramebufferServer YES
#define BuildDmx YES

#define BuildLibraries YES
#define BuildLibrariesForXServers YES
#define BuildLibrariesForConfigTools YES
#define XprtServer NO
#define BuildXprintClients NO

#define BuildGLXLibrary YES
#define BuildXdmcpLib YES
#define BuildXInputLib YES
#define BuildXvLibrary YES
#define BuildXF86VidModeLibrary YES
#define BuildXvMCLibrary YES
#define XInputDrivers aiptek calcomp citron digitaledge dmc dynapro elographics fpit keyboard microtouch mouse mutouch palmax penmount spaceorb summa tek4957 ur98 void wacom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg-6.8.2 compile error joakim12 Linux From Scratch 3 08-17-2005 03:51 AM
Xorg 6.8.2 compile error Yerp Linux From Scratch 3 03-31-2005 07:05 AM
Trying to compile Xorg 6.8.1 drowbot Linux From Scratch 6 03-23-2005 05:52 PM
compile Xorg cs-cam Linux - Newbie 3 12-03-2004 10:54 PM
xorg 6.8.0 fails to compile stumbles Linux - Software 0 09-26-2004 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration