Tony Xu
2010-06-04 05:43:32 UTC
Hi,
I'm having some problems using the Date.o file that's provided. I used
putty to remote on to cpu05.student.math.uwaterloo.ca
I keep getting an error
Date.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
when I run the command g++ DateTestHarness.o Date.o
My steps were
1. g++ -c DateTestHarness.cpp Date.h
2. g++ DateTestHarness.o Date.o
Does anyone know what's wrong? Any help would be appreciated, thank you!
I'm having some problems using the Date.o file that's provided. I used
putty to remote on to cpu05.student.math.uwaterloo.ca
I keep getting an error
Date.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
when I run the command g++ DateTestHarness.o Date.o
My steps were
1. g++ -c DateTestHarness.cpp Date.h
2. g++ DateTestHarness.o Date.o
Does anyone know what's wrong? Any help would be appreciated, thank you!