LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-25-2013, 12:25 PM   #1
Prayokshi
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Rep: Reputation: Disabled
./a.out command is not run on fedora 17


I am run the lex and yacc program but it gives the ./a.out error:


[pradnya@pradnya ~]$ su
Password:
[root@pradnya pradnya]# lex forif.l
[root@pradnya pradnya]# yacc -d forif.y
[root@pradnya pradnya]# gcc -c lex.yy.c y.tab.c
[root@pradnya pradnya]# gcc -o in.txt lex.yy.o y.tab.o -ll
[root@pradnya pradnya]# ./a.out
bash: ./a.out: No such file or directory
 
Old 09-25-2013, 12:30 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Double post:
http://www.linuxquestions.org/questi...-a-4175478511/
 
Old 09-25-2013, 12:38 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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
./a.out command is not run on fedora 17 Prayokshi Linux - Newbie 6 09-25-2013 06:06 PM
How to run .htm link from command prompt in fedora 10 haribabu1836 Linux - Software 1 06-17-2010 06:08 AM
unable to run su root command in fedora jatin Fedora 4 07-23-2009 06:24 AM
How do I make a command run as root at boot up under Fedora 3? versaulis Linux - Software 5 02-10-2005 07:22 PM
How do I get Fedora to automatically run a command during startup? jlsain Linux - Software 2 03-23-2004 05:03 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration