Hi all,
I've been happily compiling running and testing my code for weeks now. I compiled it specific to my architecture and found a bug. So I 'make clean' and
recompiled in debug mode. I can run the executable fine (I still see the bug) but
when I use gdb and simply type 'list' I get
1 ../sysdeps/i386/elf/start.S: No such file or directory
in ../sysdeps/i386/elf/start.S
What have I done?? I rebooted with no luck. I have no clue why it can't find the file -- I assume this is the first file that tells the OS about where my executable is??
By compiling in production mode could I have broken something? Did I just break something major??
Below is my makefile. ANY help is appreciated, because google and searching here didn't turn up anything.
Thanks!
Code:
OBJECTS = remora.o timeRoutines.o RemoraServer.o CPstring.o RemoraHost.o CommonApplication.o RemoraSite.o RemoraTable.o RemoraParameters.o
CFLAGS = -Wall -pg
#CFLAGS = -Wall -O3 -mcpu=pentium3 -march=pentium3
all: remora
remora: $(OBJECTS)
g++ $(CFLAGS) -o remora $(OBJECTS)
remora.o: remora.cc
g++ $(CFLAGS) -c -o remora.o remora.cc
CPstring.o: CPstring.cc
g++ $(CFLAGS) -c -o CPstring.o CPstring.cc
CommonApplication.o: CommonApplication.cc
g++ $(CFLAGS) -c -o CommonApplication.o CommonApplication.cc
timeRoutines.o: timeRoutines.cc
g++ $(CFLAGS) -c -o timeRoutines.o timeRoutines.cc
RemoraServer.o: RemoraServer.cc
g++ $(CFLAGS) -c -o RemoraServer.o RemoraServer.cc
RemoraHost.o: RemoraHost.cc
g++ $(CFLAGS) -c -o RemoraHost.o RemoraHost.cc
RemoraSite.o: RemoraSite.cc
g++ $(CFLAGS) -c -o RemoraSite.o RemoraSite.cc
RemoraTable.o: RemoraTable.cc
g++ $(CFLAGS) -c -o RemoraTable.o RemoraTable.cc
RemoraParameters.o: RemoraParameters.cc
g++ $(CFLAGS) -c -o RemoraParameters.o RemoraParameters.cc
#RemoraRules.o: RemoraRules.cc
# g++ $(CFLAGS) -c -o RemoraRules.o RemoraRules.cc
clean:
rm -rf $(OBJECTS)
rm -rf remora
rm -rf .*debug
rm -rf *.db