LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   HELP! What does "/elf/start.S: No such file" mean?? (https://www.linuxquestions.org/questions/programming-9/help-what-does-elf-start-s-no-such-file-mean-80150/)

registering 08-08-2003 10:30 AM

HELP! What does "/elf/start.S: No such file" mean??
 
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


registering 08-08-2003 10:44 AM

No luck googling or bugzilling yet. For reference I'm on RH 9.0, using gdb
version 5.3post-0.20021129.18rh and g++ 3.2.2 20030222. :(

kev82 08-08-2003 11:00 AM

CFLAGS= -Wall -p -g

g++/gcc likes a - for every argument

registering 08-08-2003 12:18 PM

Wow, what a silly mistake and criptic error output! Thanks a lot
for the help! :) Everything (except my code) works geat now. :)


All times are GMT -5. The time now is 10:49 AM.