This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

install problem with 10/31/97


Hi,

    I installed the 10/31/97 snapshot on my sparc-sun-solaris2.5.1 machine,
but when I try to compile a simple "Hello World" program I get the following
error:
------------------------------------------------
johnson:codeT% cat hello.C
#include <iostream.h>

int main() {
  cout << "Hello World!\n";
}


johnson:codeT% g++ hello.C
ld: fatal: file=/johnson.a/proteus/borthwic/install/lib/libstdc++.a(filebuf.o):
relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
(0xef197587)
ld: fatal:
file=/johnson.a/proteus/borthwic/install/lib/libstdc++.a(stdiostream.o):
relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
(0xef197807)
collect2: ld returned 1 exit status
----------------------------------------------------

Any suggestions?

Thanks,
Andrew Borthwick





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]