General :: Compile A C Program In Fedora Core 12 - Error

Jul 6, 2010

When I compile a C program in Fedora Core 12 using the following format: gcc -o program -static program.c

I get an error:

What do I need to do to make the program compile correctly with the -static flag ?

View 1 Replies


ADVERTISEMENT

General :: Processes And CPU 4-core - Which Core The Program Used?

Mar 26, 2011

I've a program that launches new processes, and wait for them to die before it exits. So, for example, my program is a process, and it launches 3 more processes, and when the 3 child processes end, it will exit.

As you see, at end of the example, the program used a total number of 4 processes.

1 - Now, I'm running this program in a CPU with 4 cores. This means that the program used each core for each process?

2 - How can I know which core the program used?

View 1 Replies View Related

Fedora :: Fedora Core Becoming Thin Client / Compile It To Be Used?

Aug 1, 2009

Anyone know how to compile fedora core to be used as a thin client / dumb terminal with a small kernel?

View 4 Replies View Related

Programming :: C++ Compiler(G++) Comes Up With Error When Try To Compile A Program Using Qt

May 26, 2010

I am using the C++ compiler G++ to compile my programs on Linux Mint 8 - Gnome.

I recently installed QT and when I tried to compile a simple "Hello World!" program it gave me this error:

Quote:

This is the code in HelloWorldQt.cpp:

Code:

I have tried using GTK instead but I get a similar error.

View 7 Replies View Related

General :: How To Know The Program That's Dumping The Core

Aug 27, 2011

I am seeing cores dumped in a particular directory continuously. I am sure there must a script that's continuously starting a process which is core-dumping and dying. But, how can I find which process is it?

View 2 Replies View Related

Fedora :: Compile 32-bit Program On A 64-bit OS

Jan 20, 2010

I am trying to compile a very simple 32-bit program on my 64-bit fedora 12 install, but it won't let me.

I get this error.

I tested it on the school server (64 bit Red Hat Server), and it compiled flawlessly without any warnings. I think I am missing some libraries, but don't know which.

View 4 Replies View Related

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)

Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.

View 1 Replies View Related

Fedora :: Unable To Compile The C Program?

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

Fedora :: Unable To Compile C Program In Eclipse 13

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

Fedora :: Compile A Program To Make It Capable To Use >4GB Memory On 32-bit Fedora?

Apr 11, 2011

The whole code is written in C, C++, and Fortran. Is it possible to make it to use more than 4GB memory. Now it is always crashed when it reaches 3GB memory. If it is possible, how to set up the compiling options (or configure flags)? We can use gcc, g++, ...or intel compilers our OS: Fedora 12 x32

[code]....

View 2 Replies View Related

General :: Compile C++ Program Using Open Terminal?

May 13, 2010

I had wrote a program in the vi editor using the command vi [filename.cc] in open terminal and now i need to compile n run it

View 3 Replies View Related

General :: Compile Program For Initrd - Udp-sender Not Found?

Mar 14, 2011

I would like to modify my init.gz and add udp-sender to this image. After copying the program compiled on my system to init image I have error when I try run udp-sender: udp-sender not found When I checked ldd I saw that the some libraries are missing. I copied them from my system but still got the same error. how can I compile program for my init.gz?

View 3 Replies View Related

General :: Cannot Compile Java Program In SUSE 11.1 Using Javac

Jun 17, 2010

i just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:

javac Example.java
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'

[Code]....

View 3 Replies View Related

General :: How To Cross-compile Program For Openwrt Router

Nov 15, 2010

I want to compile a program with the source I already have but I have to add an option. When I run the command ./autogen.sh the terminal returns aclocal not found. Is it a package or something i have to install?

View 6 Replies View Related

General :: Compile A C Program Which Niffs The Network For Arp Packets?

Feb 8, 2011

how to fix this error: I wanna compile a C program which niffs the network for arp packets and prints them out ,I keep getting this error:

undefined reference to `pcap_parse' I have installed every thing new version of pcap ,..

View 4 Replies View Related

General :: Program Consists Of Header Files, .cpp, .c, \ How To Compile And Run Them?

Aug 12, 2010

I have a program consists of header files, .cpp, .c, a Makefile and need to include the problem instances file (.tim).May i know how to compile and run them? From google, i have heard bout the command make.

View 6 Replies View Related

General :: Difference Between Fedora Core 4 And Fedora Core 14?

Jan 12, 2011

I am in school for my CIS degree and the book I am using this session covers Windows XP and Fedora Core 4. I am having trouble finding & downloading Fedora Core 4. My question is: Is there a big enough difference between Fedora Core 4 and Fedora Core 14 that I would not be able to use 14 instead of 4?

View 14 Replies View Related

Fedora :: Unable To Compile The C Program - Commend Line Showing Gcc Is Not Found

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

General :: Compile And Link A Program To Test Parapin - Undefined Reference

Dec 17, 2010

I'm trying to compile and link a program to test parapin.

Code:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "parapin.h"
int main(int argc, char *argv[])
{ ...
[Code]....

It looks like the library is found (no error anyway) but the functions in it are not seen. Text at the beginning of libparapin.a includes function names as used in the test program, and parapin.h declares them.

View 2 Replies View Related

General :: Command To Compile And Execute Fortran Program On System Machine?

Apr 8, 2010

Command to compile n execute a Fortran program on a Linux machine

View 6 Replies View Related

Fedora :: MAYDAY Accidentally Messed Up Fedora Core 12 Partition - Error Reading The Disk

Jan 18, 2010

I did a horrible mistake due to lapse in my concentration. Here is the 80 GB IDE disk geometry:

=> C: Windows XP SP2 15 GB partition
=> D: NTFS parition - 10 GB
=> E:F:G:H: NTFS partitions on the Windows Extended partition.
=> On the same Extended partition, there exists Linux /swap and /root partitions.

What happened was:

a) I wanted to delete the H: parition which was residing adjacent to Linux partition
b) By mistake I opened the Explorer and clicked the Mouse on H: partition and left it like that (forgot)
c) I opened Add/Remove program list but did nothing, to do few uninstalls after partition deletion.
d) Now I opened compmgmt.msc for Disk Management then deleted the H: partition!

Then XP reacted strangely and got almost hung

e) Then I switched OFF and ON the PC.
f) Most shocking was GRUB screen vanished (crash console appears) which means that Linux partition got deleted instead of H: partition!!

It's important to share with you that Fedora Core 12 possess the default BOOT flag. I thought that it's nothing big deal, only a case of Boot flag toggle with DOS bootable CD but am shell shocked to find after hitting the fdisk from DOS it says Error reading the disk!!! I felt like collapsed for a while, don't know how I did such a mistake. how to boot into my Windows XP. I can't afford to loose data or bear the expense on Data recovery

View 14 Replies View Related

Fedora Servers :: Make PHP Pages - Shows An Internal Error 500 Page But Doesn't Show On What Line And Compile Error Encountered

Feb 1, 2011

I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...

View 3 Replies View Related

Fedora :: Crash In Mono-core-2.4.2.3-2.fc12 Error?

Nov 24, 2009

i recently installed the banshee media player using yum extender. Everytime i run it i get this error " a crash in mono-core-2.4.2.3-2.fc12 has been detected" how can i fix this problem?

View 2 Replies View Related

Software :: Install Older Version Of Gcc 2.95.3 In Fedora Core 8 Or Fedora Core 12?

Mar 14, 2010

i download the rpm package of gcc .

View 10 Replies View Related

Red Hat / Fedora :: What's Error Called 'segmentation Fault (core Dumped)'?

Jun 20, 2011

I am using RHEL 6. When i use CAP3 software for the first time it successfully resulted. But second time when i used, it's showing "segmentation fault (core dumped)". Even after restarting and reinstalling it showing same error. When i google, i found it some memmory related problem. But no clear information.

View 3 Replies View Related

Fedora Installation :: Dual Core Only Showing Single Core On F14?

Nov 3, 2010

I just loaded F14 on an old Dell Dimension 3000 with a dual core processor but only one is showing. Here's the output from top:

processor: 0
vendor_id: GenuineIntel
cpu family: 15
model: 4

[Code]....

View 2 Replies View Related

General :: DMA Timeout Error In Booting Up Tiny Core / Sort It?

Sep 8, 2010

I am trying to use Tiny Core as the OS for a fairly old embedded device using a Pentium 100 with 64MB Ram.

I managed to get the Tiny Core image loaded onto a 128MB CF card. When I turn the box on, it presents me the Grup screen and I can select the bootup option (tinycore). However, soon after I am getting a DMA Timeout Error.
Also in this link: http://www.linuxquestions.org/questi...ble-it-734489/

Now, I am not familiar with Tiny Core all that well, and neither am I sure of how to modify the initramfs to include: hdparm -d0 /dev/hdb.

View 2 Replies View Related

Fedora Installation :: VLC - Error: Missing Dependency: Libdvdnav.so.4 Is Needed By Package Vlc-core

Jan 7, 2009

installing on linux i try to install VLC and get [user@localhost ~]$ sudo yum install vlc Setting up Install Process Parsing package install arguments Resolving Dependencies

--> Running transaction check
---> Package vlc.i386 0:0.8.7-0.8.fc8 set to be updated
--> Processing Dependency: vlc-core = 0.8.7-0.8.fc8 for package: vlc
[Code]...

View 3 Replies View Related

Security :: Iptables 1.4.1 Mac Module Doesn't Work (error Message) - Fedora Core 8

Nov 25, 2010

I use iptables firewall (v1.4.1) installed on FC8. I'm trying to limit the inflow traffic for the port 1723 to certain MAC addresses. To experiment with the mac option, I've written the following iptables rule:

Quote:

iptables -A INPUT -m -mac --mac-source 10:08:08:08:08:10 -j ACCEPT

It didn't work. It gave me this error message:

Quote:

iptables v1.4.1: Couldn't load match `-mac':/usr/local/libexec/xtables/libipt_-mac.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information. Does that mean the mac module wasn't installed/enabled?

View 4 Replies View Related

Red Hat / Fedora :: Getting Error While Trying To Compile Octave-3.2.4 With Centos 5.5

Jun 25, 2010

I am trying to compile octave-3.2.4 with centos 5.5 and I get the following error

[code]...

I have looked and I can not find any solutions.

View 2 Replies View Related







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