🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59384

Re: More GCC trouble..

#59384
From: David Nugent
Date: Thu, 01 Feb 1996 00:00
24 lines
1447 bytes
In article <4ep20l$67n@ngriffin.itc.gu.edu.au>,
	Tony Nugent <T.Nugent@sct.gu.edu.au> writes:

>>  but no xmkmf doesnt work.  It aborts with "Cant find file
>>/lib/cpp".  I am also still having other trouble with GCC, it almost
>>completely compiles a kernaql, then stops with screens full of
>>"undefined reference to blahblah".  Anyone got any ideas?
>
>Yes.  *THIS* is the problem you get when you try to compile one of the
>1.2.x and 1.3.[123] kernels!  They need to be patched.

The problem with xmkmf is due to Slackware's faulty distribution.
/lib/cpp is linked to the cpp within the 2.7.0 tree under
/usr/i486linux..., whereas it *should* be linked to /usr/bin/cpp
to avoid problems when upgrading compilers.

ln -sf /usr/bin/cpp /lib/cpp

should fix it.

-- 
David Nugent: davidn@blaze.net.au, davidn@unique.blaze.net.au
Unix/Linux/DOS/Win/Os2 Microsystem Technical Support [FOR HIRE!]
http://www.blaze.net.au/~davidn
Technical Details
Message-ID: <DM34z4.2r6@blaze.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4ei89r$qm7@news.mel.aone.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,6f91b91757d8e6b7
X-Google-Attributes: gid102983,public
From: davidn@sdev.blaze.net.au (David Nugent)
Subject: Re: More GCC trouble..
Date: 1996/02/01
Message-ID: <DM34z4.2r6@blaze.net.au>
X-Deja-AN: 137810428
x-nntp-posting-host: sdev.blaze.net.au
sender: news@blaze.net.au (news)
references: <4ei89r$qm7@news.mel.aone.net.au>
organization: Artel Computer Pty Ltd, Melbourne, Australia
newsgroups: aus.computers.linux