From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tnt19a-67.focal-chi.corecomm.net ([208.40.47.67] helo=linserver.megsinet.net ident=root) by speech.braille.uwo.ca with esmtp (Exim 3.22 #1 (Debian)) id 15NnsJ-0001BB-00 for ; Fri, 20 Jul 2001 23:56:20 -0400 Received: (from romualt@localhost) by linserver.megsinet.net (8.10.2/8.10.2) id f6L3gD412647 for speakup@braille.uwo.ca; Sat, 21 Jul 2001 03:42:13 GMT Date: Sat, 21 Jul 2001 03:41:52 +0000 From: Gregory Nowak To: speakup@braille.uwo.ca Subject: please, very very please help with g++ Message-ID: <20010721034152.A12590@linserver.megsinet.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline User-Agent: Mutt/1.2i Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.4 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I'm getting very desperate, and am at the point of *begging* grasiously for help. I've tried everything I could think of, and am at a *complete* loss as to what the problem is. Ok, enough wining and grobleing (grin). I'm running slackware 7.1 with kernel 2.4.6, with the latest ppp, util-linux, modutils, e2fsprogs (all the packages mentioned in Documentation/Changes for 2.4.x kernels). All of the packages just mentioned run fine, but I want to make sure that I describe my setup. The problem is that g++ won't compile *anything at all*. It always complains about files included from iostream.h. I wrote a while back about not being able to compile afix. As it turns out, the reason for that is my g++ pproblem. I proceded to reinstall all slackware 7.1 packages on my already running system (even the a series which I know is dangerous to do). The problem persists. I then upgrade to gcc-2.95.2, and the problem is still there. In other words, I did everything I possibly could do, and the problem doesn't go away. Yes, I know I could reinstall the system from scratch, but I really don't really want to do that if I can avoid it. I'd have to back up all the config files I want to keep, and reinstall timidity and lots of other software that doesn't come with Linux and that needs to be compiled. I've got all thoes sources on cd, but it would just be a grate pain. I've attached helloworld.cpp which I wrote, and the output from g++ to demonstrate the problem. If anyone has a clue of any sort as to what's going on here, please, please help. If I should give more info, also please let me know. I should note that I downgraded back to egcs-2.91.66 (or whatever the number is, you know what I mean). Thanks for any help in advance. Greg P.S. The attached output is the same for any c++ program I try to compile. Gcc itself works fine, since I can compile kernels, the problem is limitted to c++ it seems like. Also, I don't know when this happened, as I don't compile c++ source often. I don't remember even when the last time was that I compiled working c++ code, maybe 6-7 months ago?. Consequently, I can't really say what might have changed to cause this behaivor. --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="helloworld.cpp" #include int main() { cout << "Hello world.\n"; return 0; } --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="g++.txt" /usr/include/g++-2/streambuf.h: In method `struct streampos streambuf::pubseekoff(streamoff, enum _seek_dir, int = 3)': In file included from /usr/include/g++-2/iostream.h:31, from helloworld.cpp:1: /usr/include/g++-2/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested /usr/include/g++-2/streambuf.h: In method `struct streampos streambuf::pubseekpos(struct streampos, int = 3)': /usr/include/g++-2/streambuf.h:364: `struct streampos' used where a `__off64_t' was expected --cWoXeonUoKmBZSoM--