Hi everybody!

I have a proble wiht the compile (may be, or some strange bug in the glibc, I 
don't know!)

The problem is in the link of the efence library.

If called with gcc:

         Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens <[EMAIL PROTECTED]>
Segmentation fault (core dumped)

Before to star anything in the program.

If called whit egcs:

/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
collect2: ld returned 1 exit status

I have installed the gcc-2.95, but that gives me the same error as the 
gcc-2.96.

The program I have tested went in SegFault, the code was not well written. 
but the Electric Fence should say "when" or "where" the program went in 
SegFault.

Now I'm using the RedHat Linux 7.0 new ISO image. I have upgraded all the 
library and the package found in the Errata.

The old ISO worked, but I don't know if it is a matter of GlibC, as I have 
installed the new 2.2 only in this second ISO.

Currently I have the gcc-2.95, but I want to reuse the gcc-2.96.

Ah, there is also another problem, this time is in the gcc-2.96.

The code:

#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
      int zero(0);
      int one(1);
      float Zero(0.0);
      float One(1.0);
      double ZERO(0.0);
      double ONE(1.0);
  
      cout << setw(15) << 0 << setw(15) << 1 << endl;
      cout << setw(15) << 0.0 << setw(15) << 1.0 << endl;
      cout << setw(15) << zero << setw(15) << one << endl;
      cout << setw(15) << Zero << setw(15) << One << endl;
      cout << setw(15) << ZERO << setw(15) << ONE << endl;
      return 0;
}

show this (use font type: fixed, in your mail client):

              0              1
01
              0              1
01
01

insetad of:

              0              1
              0              1
              0              1
              0              1
              0              1

This test arrived in another mailing list some days ago, so maybe you have 
just view that.

Thank you for all,
Mario
-- 
--=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=--
   http://antartica.sourceforge.net             
   http://digilander.iol.it/linuxlabs
   http://frinemusic.20m.com
--=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=--



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to