* please, very very please help with g++
@ Gregory Nowak
` Frank Carmickle
0 siblings, 1 reply; 3+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
[-- Attachment #1: Type: text/plain, Size: 2189 bytes --]
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.
[-- Attachment #2: helloworld.cpp --]
[-- Type: text/plain, Size: 75 bytes --]
#include <iostream.h>
int main()
{
cout << "Hello world.\n";
return 0;
}
[-- Attachment #3: g++.txt --]
[-- Type: text/plain, Size: 525 bytes --]
/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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: please, very very please help with g++
please, very very please help with g++ Gregory Nowak
@ ` Frank Carmickle
` Gregory Nowak
0 siblings, 1 reply; 3+ messages in thread
From: Frank Carmickle @ UTC (permalink / raw)
To: speakup
Greg
Sounds to me like you need to add some directories to your path in
ld.so.conf and then run ldconfig.
It's also very possible that you didn't install the the development
packages for libc++.
Although seeing the exact errors would help a lot.
On Sat, 21 Jul 2001, Gregory Nowak
wrote:
> 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.
>
>
>
--
Frank Carmickle
phone: 412 761-9568
email: frankiec@dryrose.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: please, very very please help with g++
` Frank Carmickle
@ ` Gregory Nowak
0 siblings, 0 replies; 3+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Hi Frank,
I'll checkout ld.so.conf.
Also, I don't understand what you mean.
I attached the *exact* errors with my e-mail,
they're the same for any c++ program I try to compile.
Greg
On Sat, Jul 21, 2001 at 01:21:10AM -0400, Frank Carmickle wrote:
> Greg
>
> Sounds to me like you need to add some directories to your path in
> ld.so.conf and then run ldconfig.
>
> It's also very possible that you didn't install the the development
> packages for libc++.
>
> Although seeing the exact errors would help a lot.
>
> On Sat, 21 Jul 2001, Gregory Nowak
> wrote:
>
> > 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.
> >
> >
> >
>
> --
> Frank Carmickle
> phone: 412 761-9568
> email: frankiec@dryrose.com
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
please, very very please help with g++ Gregory Nowak
` Frank Carmickle
` Gregory Nowak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).