Linmodems Mailing list Archives
Return-Path: <mborgnia@nih.gov>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 14882 invoked from network); 3 Oct 2002 16:12:43 -0000
Received: from kafka.net.nih.gov (165.112.130.10)
by www.linmodems.org with SMTP; 3 Oct 2002 16:12:43 -0000
Received: from diogenes.nci.nih.gov (diogenes.nci.nih.gov [128.231.141.245])
by kafka.net.nih.gov (/8.10.1) with ESMTP id g93GCb4V012351
for <discuss@linmodems.org>; Thu, 3 Oct 2002 12:12:37 -0400 (EDT)
Subject: Re: RedHat 8.0, gcc3.2 fails to compile. Convoluted solution
From: "Mario J. Borgnia" <mborgnia@nih.gov>
To: linmodems <discuss@linmodems.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10)
Date: 03 Oct 2002 12:10:35 -0400
Message-Id: <1033661435.18734.20.camel@diogenes.nci.nih.gov>
Mime-Version: 1.0
It finally compiled, a little convoluted but...
I have not tried the module yet since I am not a home with my ill
machine. But it compiled on a different RH8.0 box.
I take that it should be loaded as described with the -f option
Disclaimer, use this procedure at your own risk!!!
Download gcc version 2.95.3 from http://gcc.gnu.org/gcc-2.95/
Saved it to ~/dowload/gcc-2.95.3.tar.gz
> tar -xvzf gcc-2.95.3.tar.gz
cd to gcc-2.95.3 and read the README and install/index.html
mkdir ~/gcc_2.95
cd ~/gcc_2.95
I've installed it under /opt/gcc as follows
First, configure the installation:
> ~/download/gcc-2.95.3/configure --prefix=/opt/gcc
--with-local-prefix=/opt/gcc --with-gxx-include-dir=/opt/gcc/include/g++
(the above is one line)
> make
If all goes fine then "su" to become root
make install
now cd to your pctel dir
> cd ~/download/pctel-0.9.4
set the path to your new (old version) compiler
> export CC=/opt/gcc/bin/gcc
configure the pctel driver
> ./configure --with-hal=pct789
and make
>make
I hope it works for you
Mario
--
+---------------------------------+
| Mario J. Borgnia, Ph. D. |
| |
| Lab of Cell Biology |
| NIH NCI/CCR |
| 50 South Drive Rm 4306 MSC 8008 |
| Bethesda MD 20892-8008 |
| |
| Tel: (301) 594 0563 |
| mborgnia@nih.gov |
+---------------------------------+
..."We can bomb the world to pieces
but we can't bomb it into peace"...
-- Michael Franti
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003