Software :: How To Compile Lex And Yacc Programs In Rhel4

May 30, 2009

What is the software to be installed to compile and execute c/c++,lex and yacc programs in rhel4??

View 1 Replies


ADVERTISEMENT

Software :: Use Lex And Yacc In RHEL4?

Jun 2, 2009

How to use lex and yacc tools in red hat enterprise version 4?
reply soon..

do i have to install anything??

View 1 Replies View Related

Software :: Write _ Debug _ Execute Programs Of Yacc And Flex?

Jan 2, 2011

I am using kubuntu 10.04 Linux.. How can I write and debug and execute programs of yacc and flex ?

View 3 Replies View Related

Ubuntu :: Unable To Compile C++ Programs

Apr 25, 2011

I've tried compiling C++ programs with extension .cc and .cpp. I've tried compiling with gcc, g++ and even cc (with .cc extension files). Earlier (as g++ wasn't installed) i tried installing g++ (sudo apt-get install g++) for which i got the message "g++ has no installation candidate". Later from Synaptic i found it as g++-2.95 and installed it. I've also installed pentium-builder

Whenever i've tried to install "build-essential" (using apt-get and aptitude) i've got messages along the line of "no installation candidate". I've searched many posts and not got the answer for this. I've treid update and upgrade before installation, no use. I have all the repositories checked in software sources and the server as "main server". Now, the main problem is: (when trying to compile a .cpp file)

user@dell-desktop:~$ g++ hello.cpp
Unable to exec g++.real: No such file or directory
ser@dell-desktop:~$ gcc hello.cpp

[code]....

View 9 Replies View Related

General :: Can't Compile C++ Programs On OPENSUSE

May 15, 2011

pgm of mine is not getting compiled

#include<iostream>
int main()
{
cout<<"Hi
";
}//Saved as g.cpp

The foll. error is shown on compiling as c++ g.cpp or gcc c.cpp or cc g.cpp
and i've gcc 4.5

g.cpp: In function int main():
g.cpp:5:2: error: cout was not declared in this scope
v

View 1 Replies View Related

Programming :: Unable To Compile C++ Programs

Mar 15, 2009

I work on Fedora 9 and I'm unable to compile my c++ program using the make in the terminal as well as in the IDE-Anjuta.although 'make' works fine with C programs,I get an error that g++ command is not found whenever I try it with C++ programs.

View 3 Replies View Related

Ubuntu :: Gcc Doesn't Compile Cpp Programs?

Jun 24, 2010

iam using ubuntu 9.10 and iam working in gcc for about half an year for devoping c programs. but i find its not possible to compile any c++ programs in my gcc.Always it ended up showing the error below:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

i find the same when i tried to install wxpython from its source and hence cant complete it.

View 9 Replies View Related

Fedora :: How To Compile Java Programs Using OpenJDK

Dec 16, 2009

Tell me how to compile and run java programs using openJDK on fedora 11

i have gcc installed

View 6 Replies View Related

Fedora :: Compile And Execute Java Programs?

Sep 11, 2010

How to compile and execute Java programs

View 1 Replies View Related

General :: Compile C Programs For Embedded On Windows?

Nov 1, 2010

I am using embedded linux (xlinux) and i need to compile the programs on desktop pc.i am currently using eclipse.can someone suggest me how I can configure, to make a project thats compile the programs for the embedded linix where I need to run them.

View 1 Replies View Related

Slackware :: Compile Errors With Various X11-relying Programs?

Jan 31, 2010

I've been trying to compile and install different terminal emulators:Eterm, aterm, and libAfterImage for urxvt.

I've been getting all these errors, and it seems odd to me. I did some fiddling awhile back enabling KMS with my radeon, install custom packages for xf86-ati, mesa, and libdrm. Could that or some other fiddling have broken these dependencies?

Here is an excerpt, with the full error log attached and here:url

Code:
In file included from libungif/../xwrap.h:5,
from libungif/../asim_afterbase.h:23,
from libungif/../afterbase.h:36,
from libungif/gif_hash.h:24,
from libungif/gif_lib_private.h:5,
code....

View 1 Replies View Related

OpenSUSE :: Write And Compile/run Programs In Different Programming Languages?

Feb 19, 2011

I was wondering about a package that can be used to write and compile/run programs in different programming languages. I was also wondering how possible it is to program in Visual Basic 2010 in openSUSE if at all.

View 9 Replies View Related

Software :: Unable To Compile Programs - Getting Error / Get It To Work?

Jun 3, 2010

I am having a problem I have never encountered before. When I try to install programs, I get a failure to compile error in configure. I have tried to install Prozilla, Prozgui, and Aria2, but I get the same message for each. The message follows code...

View 9 Replies View Related

Programming :: Compile GNOME Programs On X / Its Possible With Minimal Modification?

Oct 30, 2009

Is it possible with minimal modification?

View 3 Replies View Related

Ubuntu Installation :: Install Source Code For Programs To Compile?

Feb 2, 2010

Where do I find the linux-source package and the linux-headers package? Are they on the CD that I can copy to /usr/src (is that the right place...)? Or do I need to download them from the old-releases.ubuntu.com site?

The issue now is that the nVidia installer from their website wants the source code to build the right packages for this machine, however, I do not have the src directory with the source code that it is looking for. Is there some way to give this too it now?

I am running Mythbuntu 7.10

View 2 Replies View Related

General :: Compile Programs And Their Dependencies Manually Or Are Package Managers The Only Way?

May 29, 2010

Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.

Is there an easier way to compile programs and their dependencies manually or are package managers the only way?

View 1 Replies View Related

Programming :: New MPICH2 Installation - Interfering - With -make - Cant Compile Fortran Programs

Jul 28, 2011

Actually I had a folder called Lib, in which I had a few libraries installed and configured.(MPI, PETSc, SLEPc) I accidently deleted (by rm) the contents of that folder.

Then I reinstalled MPI,PETSC,SLEPC using the same tarballs as earlier(thus, the version etc. is the same).

I already had a fortran program with many modules and subroutine files, and the corresponding makefile which used to compile and run fine. But now when I type "make" in the same directory as before, I get this: (shortened, many similar errors)

Code:

Firstly, why is mpif90 compiling my program when I didnt tell it to? In my makefile, I have specified gfortran as my compiler....nowhere have I even mentioned mpif90. Such a thing never used to occur before.

Also, if I rename file_variable.f to file_variable.f90, these errors dissappear (I understand why, but that is not the problem), but a new error comes:

Why is the new MPI installation interfering with make ? I want to go back to how things were before I stupidly broke all installations. The errors themselves are not the problem, the problem is why the new mpi installation is interfering with make.

It seems as if mpif90 has taken over make and gfortran. I suppose I didnt install it correctly, or probably I didnt uninstall the earlier one correctly.

Everything that worked earlier doesnt work suddenly. I use ubuntu 11.04 MPICH2-1.3.2

View 1 Replies View Related

Fedora :: Use Lex And Yacc?

May 5, 2009

how do I use lex and yacc on Fedora10 .i am getting this messagebash: lex: command notfound

View 7 Replies View Related

General :: Download Lex And Lex.yy.c And Yacc In Ubuntu9.10?

Mar 17, 2010

How to download lex and lex.yy.c and yacc in ubuntu9.10 ?

View 2 Replies View Related

Programming :: YACC Conflicts - First Error (Shift / Reduce)

Jun 17, 2011

I'm programming an SQL grammar using YACC and during compilation I got this error:
conflits:
1 shift/reduce, 2 reduce/reduce
the first error : shift/reduce

Code:
scalar_exp:
scalar_exp PLUS scalar_exp
| scalar_exp NEG scalar_exp
|scalar_exp MULT scalar_exp
|scalar_exp DIV scalar_exp
| atom
|column_ref
|function_ref .....

View 1 Replies View Related

Programming :: Yacc Conflicts - How To Understand Grammar Conflict

Jun 4, 2010

I am getting shift/reduce and reduce/reduce conflict in my yacc grammar code. yacc generates (i.e yacc -d -v parser.y) its grammar and state information in the parser.output file.

How can i interpret the below information and understand which grammar state is conflicting with other grammar state? Please help me to understand.

State 159 conflicts: 1 shift/reduce
State 1863 conflicts: 1 shift/reduce
State 1865 conflicts: 1 shift/reduce
State 1960 conflicts: 1 shift/reduce

View 6 Replies View Related

Programming :: YACC Syntax Error Unexpected Identifier

Feb 5, 2010

I was going through this Lex/YACC tutorial: [URL]... and I was working along with it. The Lex examples worked fine, but the YACC one quit white compiling

[Code]...

View 5 Replies View Related

Ubuntu :: Lex / Yacc Bizarre - Parser Doesn't Recognizes The NUM Token

Mar 21, 2011

I'm writing a parser using lex and yacc for an IEEE standard language ( STIL ). Here's the lex file ( some of ).

[Code]....

stil_language is the start symbol. The bus variable is initialised at 0 ( There's a check in the main ). The problem is that the parser does not recognises the NUM token ! It just re writes any expression that corresponds to the "number" regular expression. Here's a prompt example :

[Code]...

View 1 Replies View Related

Debian :: Pcalc Make Error: Yacc Or Pcalc.o Missing?

Feb 2, 2010

I had the following error while trying to install pcalc in Debian. I have bison and flex installed, and looking at the files it looks like there might be a problem with yacc being removed from the Debian library. I m trying to learn about memory registration and interaction with the CPU. This program could really help if I could get it to install Here's my log:

[code]...

View 1 Replies View Related

Software :: Pcalc Make Error: Yacc Or Pcalc.o Missing?

Feb 2, 2010

I had the following error while trying to install pcalc in Debian. I have bison and flex installed, and looking at the files it looks like there might be a problem with yacc being removed from the Debian library. I'm a newbie but am trying to learn about memory
registration and interaction with the CPU. if I could get it to install Here's my log:

[code]...

View 5 Replies View Related

Red Hat :: Installing Gcc On RHEL4?

Nov 28, 2010

I'm a newbie in this forum and a newbie with administering Linux. I need to install gcc 3.4.6-10 and I've downloaded and installed the rpm, but it seems that it did not do anything.

Code:
[root@server ~]# rpm -ivh gcc-3.4.6-10.src.rpm
1:gcc [100%]
[root@server ~]# rpm -q gcc

package gcc is not installed What else should I do?

View 3 Replies View Related

General :: Usb Not Detecting In Rhel4?

Jan 2, 2010

i try to install web cam in redhat by useing wine, but it showing no. web cam connected even if i connnect

View 1 Replies View Related

Red Hat :: Upgrading From RHEL4 To RHEL5?

Mar 19, 2010

Under RHEL4, I've mounted a drive (/dev/sdb1) under /home and it mounts with no problem a boot time since I have an entry in /etc/fstab. Using the same parameters under RHEL5, /home is a 'read only' directory. I've tried to add a 'rw' option to /etc/fstab, but /home remains a 'read only' file system.

View 1 Replies View Related

Red Hat / Fedora :: Can't Install RHEL4.7 From USB Flashdrive ?

Mar 18, 2010

Ive created a bootable RHEL4 USB flashdrive so that I can do my installs from rather than using CDDVD's. The USB key boots fine to the point where it asks me to select a drive that contains the ISO images, but it doesn't show me the USB drive to select, only my 2 hard drives sda1 and sdb.

We currently use HP xw9400's with the following spec as shown in dmidecode:

BIOS Information

System Information

I know that the xw9400's have the nvidia mcp55 pro chip on the motherboard that handles USB, keyboard, mouse and other peripheral traffic, so am wondering if this could be what the problem is? Like there may some code that i need to tell the machine to use this or something?

View 11 Replies View Related

Hardware :: How To Install Rhel4 On Sata HDD PC's

Nov 25, 2009

just one month before i upgraded my pc to Later configuration but then i can't install rhel4 on my pc. i have heard there is a few upgrades (Updates) will help this issue, is that true? then which update i need to use for install rhel4 successfully on my pc? or is there any third part utilities for solve this issue? here i am adding my pc's spec

AMD Athlon 2.6
Asus M2N68-AM
2 GB DDR II
Nvidia 8400Graphics
Samsung HDD

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved