LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 08-08-2003, 11:30 AM   #1
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Rep: Reputation: 30
Exclamation 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
 
Old 08-08-2003, 11:44 AM   #2
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Original Poster
Rep: Reputation: 30
Unhappy

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.
 
Old 08-08-2003, 12:00 PM   #3
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
CFLAGS= -Wall -p -g

g++/gcc likes a - for every argument
 
Old 08-08-2003, 01:18 PM   #4
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Original Poster
Rep: Reputation: 30
Thumbs up

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"invalid Elf header" after kernel upgrade Goo Slackware 7 10-09-2004 09:32 AM
Linux Emulation problem "ELF file OS ABI invalid Error" man26 *BSD 0 08-04-2004 12:57 AM
Kde doesn't start - "Data incomplete in file /etc/X11/XFConfig-4" bertenta Linux - Newbie 3 02-13-2004 12:20 PM
/usr/libexec/ld-elf.so.1: Shared object "libgd.so.4" not found lxxy *BSD 1 12-04-2003 01:01 PM
how can i run "sh <file>" automatically when i start linux? kublador Linux - General 6 03-02-2003 06:00 PM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration