LinuxQuestions.org
Help answer threads with 0 replies.
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, 11:25 AM   #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, 11:30 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

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

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 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
Open Source Consulting | Domain Registration