Fedora :: Unable To Compile .cpp File?
Jan 31, 2011
unable to compile a simple C++ programme (.cpp file), on compiling the file with gcc or g++ the following error is displayed, but the above command works in Redhat EL. the error message is:"fatal error: iostream.h: No such file or directorycompilation terminated."an anybody suggest to compile a C++ programme in Fedora 14.
View 10 Replies
ADVERTISEMENT
Feb 2, 2011
I have downloaded the latest gnome commander source code from the gnome commander home page. Following the instructions in the readme I have extracted it from the tar ball and changed to the top level directory of the source code. I execute ./configure and get a bunch of "checking" results.
Quote:
bash: ./configure: No such file or directory
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9/src$ cd ..
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9$ ./configure
[code]....
I find Makefile.am and Makefile.in present in the directory. I generally install from deb packages. Still, I don't think it should be this hard to compile a package given the seemingly simple directions provided.
View 4 Replies
View Related
Dec 9, 2010
from the commend line i went to compile the c program by giving the commend "gcc first.c -o first" but the commend line showing gcc is not found. iam using fedora 13 what can i do to compile the program . the program i used to compile is below
#include<stdio.h>
main()
{
printf("hello word
");
}
View 1 Replies
View Related
Jun 20, 2010
since last days I am trying to run a simple c / cpp program using eclipse in my newly installed fedora 13, but every time it says either "program file not specified" or "binary error"
View 10 Replies
View Related
Sep 17, 2010
I couldn't compile gammu-1.28 on my Fedora 13 when running ./configure.To make sure what i'm doing, i was install cmake from fedora repository directly using "yum install cmake" and completed. And then to make sure again, i was update my gcc using "yum update gcc". But there was still errors during running ./configure. Finally, i decided to update all needed inside my fedora using "yum update" to make sure again.
View 7 Replies
View Related
Feb 14, 2011
i was trying to install kernel 2.6.29.1 on fedora 14 but it is giving error. First download a package with kernel and i saved in home/user/linux. Afterwards i can extract this package.
1.tar -xvzf linux-2.6.29.1 -C /usr/src
2.cd /usr/src/linux-2.6.29.1/
3.make menuconfig
4.make
5.make modules_install
6.make install
after above steps i got this error.
ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse
however it gives initramfs,vmlinuz-2.6.29.1 and System.map-2.6.29.1 in /boot folder and menu.lst in /boot/grub is updating according to new kernel. when i reboot my machine and selects the kernel 2.6.29.1 it shows FATAL:kernel too old [1.591633] Kernel panic-not syncing:Attempted to kill init
View 6 Replies
View Related
Dec 9, 2010
from the commend line i went to compile the c program by giving the commend "gcc first.c -o first" but the commend line showing gcc is not found. iam using fedora 13 pls tell me what can i do to compile the program. the program i used to compile is below
#include<stdio.h>
main()
{
View 1 Replies
View Related
Jan 18, 2010
howto compile a tar.gz file in centos5ORhow can i create rpm from tar.gz file
View 1 Replies
View Related
Dec 9, 2009
I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?
View 1 Replies
View Related
May 15, 2010
I'm having problems installing visual python on Fedora 12 (64-bit). Here are the steps I've taken:
- downloaded visual python 5.32
- ran ./configure without problems
- ran make and got this error: Compiling ./core/util/atomic_queue.cpp make[1]: *** [atomic_queue.lo] Error 1
(From src/build.log): libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with '--tag'
View 4 Replies
View Related
Jul 29, 2010
I am new to linux platform and my requirment is to write a makfile which can compile a tree for source file and create the output in separate directory .
View 1 Replies
View Related
Nov 29, 2010
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
View 4 Replies
View Related
Mar 22, 2010
The module vboxdrv cannot be succesfully compiled on my system. It has OpenSuSE 11.2 with kernel 2.6.31.12-0.1-desktop
The following rpms are installed:
gcc, make, autoconf, automake and pam-devel are present too.
The command
leads to an error message:
The log contains these lines in the first part:
Is something wrong with the kernel headers or source?
View 7 Replies
View Related
Oct 14, 2010
I am having trouble compiling CineFX. These are the errors I get:
linux-q69k:/home/dmbmagic/CineFX # cd jahwidgets
linux-q69k:/home/dmbmagic/CineFX/jahwidgets # make
list='src';
for subdir in $list; do
make -C $subdir all || exit 1;
[Code].....
View 9 Replies
View Related
Jan 12, 2011
I am trying to build bbcp from source on Ubuntu 10.04.1 LTS available here: [url]
Source: [url]
I keep running error when running make:
make[2]: *** No rule to make target `makeLinuxunknown'. Stop.
View 3 Replies
View Related
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
Jul 15, 2011
I thought I would try bitcoin but I am unable to compile the latest bitcoin client (bitcoin-0.3.24).I'm using 32-bit Slackware 13.1.0. When I initially attempted to compile I got errors related to wxWidgets being missing. This was resolved by compiling and installing wxWidgets. However I still get the following error:
Code:
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -I/usr/local/lib/wx/include/gtk2-unicode-2.9 -I/usr/loal/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DGUI -o obj/util.o util.cpp
In file included from main.h:11,
[Code]...
View 7 Replies
View Related
Mar 15, 2011
My new guy has created several functioning webpages on his machine with TOMCAT 6 with Sun JDK, yet our machines use TOMCAT 5.5 with Open JDK, which his webpages don't show. Do you have any idea how to make them work? The error showing in a browser:
Code:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.apache.jasper.JasperException: Unable to compile class for JSP:
[Code]...
View 2 Replies
View Related
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
Mar 26, 2011
i'm unable to compile the v4linux.
[az@server v4l-dvb-abd3aac6644e]$ uname -a
Linux server.home 2.6.18-194.17.1.el5.centos.plus #1 SMP Thu Sep 30
19:27:35 EDT 2010 i686 athlon i386 GNU/Linux
rpm -qa |grep kernel*
[Code]....
View 19 Replies
View Related
May 7, 2010
I'm trying to compile some code [URL], which uses Glib. I have the libglib2.0-dev package installed, but running ./configure reports that Glib is not installed. Is the autoconfig script wrong or out of date, or do I need something else installed?
View 1 Replies
View Related
Mar 30, 2011
I am trying to install a DR rootkit into ubuntu for an assignment, im using vm ware but can only get as far as extracting the rootkit and not being able to compile the source code.. when i use the ./configure command it says there is no such file or directory and when i use the make command it keeps getting errors.
View 2 Replies
View Related
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
Jan 24, 2009
I am new to CENTOS (5.2) and more importantly new to linux. Any time I try to gcc compile something, it always throws random errors. I yum installed development-tools which is what I have seen other threads suggest but that did not solve the issue. I still get the same errors. I cannot find a common error among the many things I have attempted to compile.
Here is my most recent file for an example made when trying to compile up-imapproxy :
gcc -g -O2 -I. -I./include -c -o src/icc.o src/icc.c
gcc -g -O2 -I. -I./include -c -o src/main.o src/main.c
src/main.c: In function "int main(int, char**)":
src/main.c:618: error: invalid conversion from *void* to *void* (*)(void*)
src/main.c:618: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
src/main.c:646: error: invalid conversion from int* to socklen_t*
src/main.c:646: error: initializing argument 3 of int accept(int, sockaddr*,socklen_t*)
src/main.c:675: error: invalid conversion from void* to void* (*)(void*)
src/main.c:675: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
make: *** [src/main.o] Error 1
View 3 Replies
View Related
Dec 29, 2010
/tmp/cctiuwxL.s: Assembler messages:
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3602: Error: unknown opcode
[code]....
This is the make step error./tmp/cctiuwxL.s is the make temporary dirictory which is distroyed after the make process finises . The problem is how can I hold the /tmp/cctiuwxL.s dirictory .Then I can check it and find out the proiblem.
View 1 Replies
View Related
Feb 27, 2011
Im trying to run a program but my system won't let me.i used to be able to run executable files without a problem but i can't anymore when i double click the file i get "there is no application installed for executable files" i am unable to check "allow executing file as program" in file properties there is a script file which runs the program but all i get from the terminal is "permission denied"
View 14 Replies
View Related
Apr 25, 2011
This is completely baffling me..I have a Lenovo Thinkpad X301, which has been running OpenSUSE 11.1 for a while, with vanilla kernels from kernel.org, built and installed in the standard (i.e. not SUSE) way.
A week ago, I dupped to 11.2, and also installed kernel 2.6.38.4 . This was compiled with the gcc-4.3 available under 11.2. Everything worked fine (after the necessary messing around to get X working again).
This weekend, I dupped to 11.4 (via 11.3, of course). After more messing around to get X working again, things were working ok - using the same 2.6.38.4 kernel I'd built under 11.2. I then re-built the kernel. It appears to compile and install ok, and I haven't changed the configuration or the grub configuration. However, it doesn't load. Normally, I just get a blank screen after grub starts it loading. If I boot in basic VGA mode 0, then I get a few lines of messages before it hangs - it hangs complaining about APIC not connected to io bios, and if I boot noapic, it gets a few lines further before hanging after some message I don't know about (allocating 4 HET). I don't suppose that's relevant, anyway.
I've tried three different gcc versions, and two different linux versions (2.31 as well), and the same thing happens. This sounds like something going badly wrong with ld or as or something - but I don't see how anything could have happened that wouldn't have been noticed by thousands of others.
View 5 Replies
View Related
Mar 27, 2010
How do I compile a tar.bz2 file I have never successfully done it. I really want to do it for mac on Linux.
View 9 Replies
View Related
Aug 13, 2011
I need to downgrade my firefox from 5 to 3.6 I downloade the tar.bz2 file but after I extracted and cd to the file I got these errors when trying to install code...
View 1 Replies
View Related
Mar 27, 2011
1. Installed a fresh 10.10 and upgraded all packages (via Ethernet).
2. Downloaded latest drivers from ASUS webiste (DPO_RT3070_LinuxSTA_V2.3.0.2_20100422)
3. Unpacked and tried to compile:
The wireless card is working with the driver rt2870sta, but I've read not all the capabilities of the device is unleash unless the native driver is used.
View 2 Replies
View Related