LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-19-2018, 07:12 AM   #1
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Rep: Reputation: Disabled
Building Mesa 17.3.4 on Blfs 8.2 systemd failed


Hi to all,

After being sucessful building 8.1 Systemd thought I would dig into 8.2.
Things went well to I got to X and Mesa.

Here is a copy of configure fail.
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/sources/mesa-17.3.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
I looked at the configure.log and have no idea what I'm looking at.
Thankful for any help.
Have a good Day
 
Old 03-19-2018, 12:04 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
You have mistyped something, most likely in the first line of the configuration:
Code:
./configure CFLAGS='-O2' CXXFLAGS='-O2' LDFLAGS=-lLLVM
I bet you put -0(zero)2 instead of -O(Oscar)2. It's an easy mistake to make. "O" represents the level of optimisation in the resultant code.

Last edited by hazel; 03-19-2018 at 12:06 PM.
 
Old 03-19-2018, 12:31 PM   #3
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Thanks Hazel,
I will give it a shot when I return
Regards
 
Old 03-19-2018, 05:12 PM   #4
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
No luck yet

Hey Hazel,

I tried what you suggested but didn't work.
Thanks anyway.
 
Old 03-20-2018, 01:44 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
How are you entering your instructions? For anything really complicated like this mesa build, you should copy and paste, not type by hand. That particular error after a string of successful builds always indicates that you have told gcc to do something silly or illegal.

The best part of config.log to look at is the last part. Post the last 20 lines if necessary, between code tags.
 
Old 03-20-2018, 07:02 AM   #6
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Hello Hazel,
I cut and paste all instructions. Will look at config.log to see if something looks weird.
Thanks
 
Old 03-20-2018, 04:40 PM   #7
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Not solved but decided to start over

Decided to start with x and see if it was there
 
  


Reply



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
[SOLVED] error: C compiler cannot create executables (Mesa 17.1.8) - BLFS 8.1 brunoFromBrasil Linux From Scratch 3 10-04-2017 08:22 PM
[SOLVED] Blfs 8.1 systemd missing drivers rabidlinux Linux From Scratch 3 09-10-2017 05:37 PM
[SOLVED] No audio BLFS 7.8 systemd kc3 Linux From Scratch 10 03-06-2016 04:46 PM
how to install systemd units in BLFS Carl_cj Linux From Scratch 4 09-24-2014 05:10 AM

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

All times are GMT -5. The time now is 02:05 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