From owner-freebsd-hackers Mon Nov 30 11:44:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04492 for freebsd-hackers-outgoing; Mon, 30 Nov 1998 11:44:39 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pablo.total.net (pablo.total.net [205.236.175.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04485 for ; Mon, 30 Nov 1998 11:44:37 -0800 (PST) (envelope-from roychri@total.net) Received: from roychri (ppp-5800-01-1125.mtl.total.net [204.19.114.125]) by pablo.total.net (8.9.1/8.8.5) with SMTP id OAA19524 for ; Mon, 30 Nov 1998 14:44:21 -0500 (EST) Message-Id: <199811301944.OAA19524@pablo.total.net> X-Sender: roychri@pop.total.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 30 Nov 1998 14:31:50 -0500 To: freebsd-hackers@FreeBSD.ORG From: Christian Roy Subject: Upgrading 2.1.7.1 to stable with broken compiler Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everyone. This is my first post. I came here because FAQs, IRC, man pages and friends couldn't help me much. I do not have that much experience with freeBSD. This machine was used for website statistic before but is no longer used. There's some files in there that I would like to keep. I will back them up but I would like to avoid installing from scratch (format) because I am not in the same physical location as that machine. I am in canada and the machine is in california. I do not want to ask the people that are there because they charge too much. (And they do stupid mistakes). They are in charge of the hosting and that's enough. Anyway, I would like to upgrade this thing. My problems started when I tried to install a software and I had problems creating a valid shared library. I decided to upgrade the g++ compiler to 2.8.1. I downloaded the port and the installation went fine. But since then, I am unable to install anything that requires compilation. When I realized that my atempt in fixing my problem didn't solve anything (it gave me more errors when trying to compiule shared library) , I tried to install an eariler version of g++ (2.7.2). I downloaded the port and I tried compiling it. It wouldn't compile. I tried to compile it with the defaullt compiler (gcc version 2.6.3) and the new 2.8.1 without success. I was complaining about symbol __DYNAMIC not found. So, someone from IRC suggested to upgrade FreeBSD (Because I didn't know I had a very old version). He told me to use CVSup. Since this was a very old version of FreeBSD, CVSup wasn't installed. I tried to install it using the port or the package but the installation always failed. I had to use the static binaries of CVSup. I was able to use it to get src-all. When I tried to 'make buildworld', it ran for 25 minutes. It ran stuff, deleted stuff, created stuff, compiled stuff, but it stoped and complained when trying to compile something. While this thing was going on, I saw this : building shared c library (version 3.1) nm: bt_debug.so: no name list. nm: euc.so: no name list. nm: mskanji.so: no name list. nm: utf2.so: no name list. building special pic c library Then, later on (2-5 minutes later) I got : mkdep -f .depend -a /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/NX ConstStr.m /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/Object.m /usr/src/ gnu/lib/libobjc/../../../contrib/gcc/objc/Protocol.m /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/NXConstStr.m:22: objc/NXConst Str.h: No such file or directory /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/Object.m:28: objc/Object.h: N o such file or directory /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/Object.m:29: objc/Protocol.h: No such file or directory /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/Object.m:30: objc/objc-api.h: No such file or directory /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/Protocol.m:27: objc/Protocol. h: No such file or directory /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/Protocol.m:28: objc/objc-api. h: No such file or directory mkdep: compile failed. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. So, I cannot build the source. I cannot upgrade the OS. I cannot upgrade the compiler. I am stuck... The compiler I used : gcc version 2.6.3 The computer is a Dell. The Shell I sued was tcsh. OS : FreeBSD 2.1.7.1-RELEASE #5 KERNEL : /usr/src/sys/compile/MYKERNEL i386 I would like to be able to have the latest version of the OS and of the compiler without having to format everything and reinstalling from scratch. Is it possible? How would I do it? Thank you all. A desperate man. Christian Roy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message