🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #618

Re: What do I need to edit to get Make working again?

#618
From: Dimitri Maziuk
Date: Wed, 13 Sep 1995 00:00
42 lines
2410 bytes
-- 
rachel@janice.virago.org.au (Rachel Polanskis) wrote:
>Hello,
>
>last night I upgraded (sucessfully I think) to ELF.
>I followed the ELF HOWTO and got through OK, apart from renaming 
>libc.so.4  to aout (thank God I had a boot disk, and was able to fix it!!!)
>at 2.30 in the morning.
>
>OK so everything works, but when I go to compile as a test, XDaliclock 
>and knews for example (both X11 apps) I get libraries not found in linking.
>(these both went fine with gcc 2.5.8)
>
>I ran ldconfig and all the directories are there in /etc/ld.so.conf
>so that's OK.
>
>When I look into a makefile generated by Imakefile, I see USRLIBDIR and 
>the like point to /usr/X11/lib/ not to the new directory that the HOWTO 
>told me to put all my libraries in - /usr/i486-linuxaout/lib
>Editing the makefile of course is not the solution.
>
>I am certain this is the problem.  Am I correct?
>If so, where is the file that determines these settings, and what else do I 
>need to do?
>
>Please help!
>I put off ELF long enough, realising something like this might happen.
>At least this is better than Win95 - and worth it too!
>
>Rachel
>-- 

Hi.
ELF version of XFree-3.1.2 has /usr/X11R6/lib/i486-linuxaout subdirectory
for old a.out libs.
You'd want to upgrade to this version of X to compile in ELF.
Otherwise you'll have to edit Makefiles anyway, to set "-b i486-linuxaout"
and "-m i386linux" flags to gcc and ld resp.  You might as well edit the 
paths for your configuration, there's nothing wrong with that (usually :-).
Just add "-L/usr/i486-linuxaout/lib" to ldflags. 

Dimitri
Technical Details
Message-ID: <437aum$df2@info.curtin.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <432smn$8l0@ob1.uws.EDU.AU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,b2b1e7823643fd66
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,b2b1e7823643fd66
X-Google-Attributes: gid102983,public
X-Google-Thread: f9b51,b2b1e7823643fd66
X-Google-Attributes: gidf9b51,public
From: Dimitri Maziuk <emaziuk@cc.curtin.edu.au>
Subject: Re: What do I need to edit to get Make working again?
Date: 1995/09/13
Message-ID: <437aum$df2@info.curtin.edu.au>
X-Deja-AN: 110061145
references: <432smn$8l0@ob1.uws.EDU.AU>
content-type: text/plain; charset=us-ascii
organization: Curtin Uni West Australia
x-url: news:432smn$8l0@ob1.uws.EDU.AU
mime-version: 1.0
newsgroups: comp.os.linux.misc,aus.computers.linux,comp.os.linux.setup
x-mailer: Mozilla 1.1N (X11; I; Linux 1.2.13 i486)