On May 22, 2017 8:26:15 PM MST, Ken Moffat <[email protected]> wrote:
>On Mon, May 22, 2017 at 07:50:34PM -0700, Scott wrote:
>> On May 22, 2017 7:44:33 PM MST, Ken Moffat <[email protected]>
>wrote:
>> >On Mon, May 22, 2017 at 07:02:47PM -0700, Scott wrote:
>> >> On May 22, 2017 5:45:42 PM MST, Ken Moffat
><[email protected]>
>> >wrote:
>> >> >On Mon, May 22, 2017 at 03:18:46PM -0700, Scott wrote:
>> >> 
>> >> /usr/include/sys/stat.h is a symlink to
>../i386-linux-gnu/sys/stat.h.
>> >I copied it to /usr/include but since the gcc config is looking for
>it
>> >in /sys I'm not sure what that would have accomplished?
>> >> 
>> >> Anyway, no joy.
>> >> 
>> >> Thanks,
>> >> 
>> >> Scott
>> >
>> >You misunderstood - stat.h needs to be in /usr/include/sys/, either
>> >directly or as a symlink.  I assume you are building 32-bit, and
>> >therefore the symlink already pointed to it ?  If in doubt, use
>> >'file /usr/include/sys/stat.h', that should tell you if the symlink
>> >was broken.
>> >
>> >And if the symlink is NOT broken, then I have no idea why configure
>> >cannot find it.
>> >
>> >ĸen
>> 
>> Correct on all points but one; I'm building 64 bit. At least, I'm
>trying to.
>> 
>> Thanks,
>> 
>> Scott
>
>This sounds like a debian problem.  They allow biarch (64/32)
>builds, and they seem to go out of their way to put toolchain files
>in architecture-specific directories.
>
>But if the symlink is not broken, then configure *ought* to find
>sys/stat.h.  A quick look at the version on my current system
>(LFS-svn) suggests it picks up all the nasty details from other
>files, so I'm fairly sure the contents will be ok.
>
>If configure still does not find it, let's try a left-field
>suggestion: CFLAGS="-m64" ../configure   \
>(etc)
>
>And if configure can find it, but not the others, you need to check
>for broken symlinks on each of them.
>
>Sometimes, debian and its derivatives are plain weird.
>Unfortunately, my brain is mostly addled from trying to understand a
>gcc-7 problem.  I'm done for the day, so good luck, hope you solve
>it.
>
>ĸen
>-- 
>I live in a city. I know sparrows from starlings.  After that
>everything is a duck as far as I'm concerned.  -- Monstrous Regiment
>-- 
>http://lists.linuxfromscratch.org/listinfo/lfs-support
>FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>Unsubscribe: See the above information page
>
>Do not top post on this list.
>
>A: Because it messes up the order in which people normally read text.
>Q: Why is top-posting such a bad thing?
>A: Top-posting.
>Q: What is the most annoying thing in e-mail?
>
>http://en.wikipedia.org/wiki/Posting_style

CFLAGS="-m64" made gcc unable to compile.

Thanks for trying. I may have to give up and try another distro.

Have fun,

Scott
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to