Ubuntu :: Checking For C++ Compiler Default Output File Name?

Feb 25, 2010

checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details.

View 4 Replies


ADVERTISEMENT

Slackware :: Error: Checking For C Compiler Default Output File Name

Feb 20, 2010

I downloaded Go-OpenOffice from SlackBuilds.org, but I can't build it. make terminates with configure error: checking for C compiler default output file name. configure: error: in `/tmp/SBo/ooo-build-3.1.1.5': configure: error: C compiler cannot create executables See `config.log' for more details.

(I can't find config.log anywhere) I use a quite 'light' installation (no xap, ap), and I suspect that I have some unmet dependencies, but the error message provides no information about what software is needed (I've installed all dependencies listed on SlackBuilds.org). I'm using Slackware64-13 with Xfce

View 3 Replies View Related

Software :: Gcc/g++ Compiler Switch Which Can Disable Checking Extra ISO Confirmations

Oct 11, 2010

We have a big proprietary project. Our code was compiling very properly with gcc 3.3.4 but not with 4.1.2.

The errors what we get is "ISO forbids declaration" / undefined symbols kind of.

my question is that is there any gcc/g++ compiler switch which can disable checking extra ISO confirmations and stick to our older ISO standards.

in addition to this how we can figure out what ISO standards are supported by which gcc/g++ versions

View 2 Replies View Related

Programming :: No Output On C Using Gcc Compiler?

Jun 8, 2010

I am trying to learn C Programing and I'm having trouble on the output of my script. my script should count the characters in input but it doesn't give me any numbers..
here's my program code:

Code:

#include <stdio.h>
main()
{
double nc;

[code]....

View 14 Replies View Related

Programming :: Get Ride Unwanted Compiler / Linker Output

Jul 18, 2011

I am using g++ 4.5.2 I copied and tried a piece simple (Making a Class Writealbe to a Stream) program, from page 363 of book(C++ cookbook), Example 10-6 your can download and test by yourself [URL]

[Code]....

View 1 Replies View Related

Install :: Default Compiler With Installation Of OpenSUSE?

Apr 15, 2010

Is there a standard compiler provided with the install of openSUSE?
Like gcc...

View 9 Replies View Related

Fedora :: Multiple Gcc Compilers - Change The Default Gcc Compiler?

Oct 2, 2009

I have multiple gcc compilers in my laptop, how can I change the default gcc compiler?

View 2 Replies View Related

General :: Compiling Another Program With Mpicc Using A Non Default Compiler?

Jul 1, 2011

I am trying to compile a program with mpicc. To compile I use:

CC=/usr/bin/mpicc ./configure

However mpicc's default C compiler is gcc 4.4.2 and I need to use 4.0.0 which I have installed in another directory. I do not (nor can get) root privileges so I cannot edit mpicc's default compiler. Is there an option I can set while configuring?

View 2 Replies View Related

Software :: Build A C Compiler Without An Existing C Compiler?

Dec 14, 2010

So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?

I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.

View 6 Replies View Related

Ubuntu :: Checking Status Of File In Terminal?

Jun 1, 2011

How do I check if a file is a soft link in the terminal? They're usually color coded, but I gave permissions to a colleague and now every file is green. Is there a simple command for this?

View 3 Replies View Related

Ubuntu :: Checking Disk Mean Checking All Partitions On Hd?

May 10, 2010

Sometimes at startup I get this message "Checking disk 1 of 1". Does that mean it's checking all partitions on the hd? After a bad shutdown there is no prompt for fsck to run and the system just boots up. In fstab I have both options set to "1" for the partition Ubuntu is on, all others set to "0". Any ideas on both?

View 3 Replies View Related

Ubuntu :: Checking File Integrity After Power Loss 9.10?

Feb 24, 2010

recommend any utilities that would check the hard drive and its contents (if they are still good) following a power outage?

View 1 Replies View Related

Ubuntu :: Checking If File In /root Directory Exists?

Jun 6, 2010

I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.

Code:
#!/bin/bash
echo -e "username=someusername
passwordsomepassword" | sudo tee /root/.credentials
if [ -e /root/.credentials ]; then
echo "File exists!"

[Code]...

[Edit] Added second double quotation mark at the end of "somepassword"

View 5 Replies View Related

Software :: How To Use Libpthread.so.0 File For Target System Compiler Arm-none

Jun 21, 2011

i have got some error while trying to use /usr/lib/libpthread.so.0 file for my c program where as am using cross compiler and my target compiler is arm-none-linux-gnueabi-gcc while trying to use that file, i got the error file not correct format and i know the library file will support only if we use intel processor. so how to convert that file which should support the arm processor i.e. arm-none-linux-gnueabi-gcc.. i heard strip may resolve this problem but the problem , lot of options are there in strip, in which options we ve to use?? if you ve any other solutions please help me as soon as possible.

View 2 Replies View Related

General :: Command - Checking File Name ?

Mar 31, 2011

I need to check the file name e.g. testbla_word.txt

Is theire a command to search for only "bla_"?

So mainly, to check a part of a filename (not the entire filename, only a part of it)

View 5 Replies View Related

General :: Checking Path To File ?

Nov 14, 2010

I am trying to load a driver (xxx.ko) and uncertain if the path given is correct.

I do not have any direct access to my linux device, so I need a small script that will create a text file telling me if the file was found or not.

View 6 Replies View Related

Red Hat :: Checking Last File Modification Time

Mar 5, 2010

I don't think there is a way of doing this with date or clock commands. But maybe they are writing to some file and I can take a look at the file's modification time. dmesg and /var/log/messages show nothing relevant.

View 1 Replies View Related

Ubuntu :: Change Default Sound Output Volume?

Jun 25, 2011

I want to change the default sound output volume to be high than it normally is when the system starts.

How can i change it?

View 2 Replies View Related

Software :: Reboot In Ubuntu 8.1 - Begins Checking The File System

Jan 5, 2011

when i reboot my computer, it goes on well and loads Ubuntu but instead of it going to the login it doesn't. instead it begins checking the file system and then completely stops at

[Code]....

i am using ubuntu 8.1, please i love that ubuntu version and it's why i haven't upgraded yet because i have tried the other versions and i didn't really like them. i have a 40GB HD and 512MB RAM, 1.8GHZ processor, i am using pentium 4.

View 3 Replies View Related

Ubuntu Installation :: Xrandr: Failed To Get Size Of Gamma For Output Default

Apr 30, 2011

i tried updating ubuntu from 10.10 to 11.04. It didn't work out, i got just a black screen trying to load new ubuntu. Nevermind, after multiple tries to recover it i simply installed ubuntu 11.04 over it. It works fine now, but i already got some problems Mainly, i can't find a way to pick the appropriate resolution. I have a 19" monitor with 1280x1024 resolution, video card is nvidia 8500gt. Any GUI tool (nvidia driver settings or 'monitors' tool) doesn't allow me to pick what i want. xorg.cong is nearly empty, that's all what i have there

Quote:

Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection

I did some google searches and found out about Xrandr (i'm not much a techy really). That's what i get running xrandr in the terminal

Quote:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm

[code]....

View 7 Replies View Related

Fedora Security :: Easy Integrity File Checking ?

Feb 9, 2010

How to do an easy file integrity checking on fedora 11 ? just to make sure that the necessary core os files are not corrupted using rpm and yum.

View 2 Replies View Related

OpenSUSE Install :: Checking The ISO File's Checksum Before Burning?

Apr 12, 2010

I downloaded the DVD ISO version of OpenSuSe version 11.2 64bit from openSUSE. I checked the iso file checksum after downloading and it was correct. However after burning to DVD i booted from the disc and started the install. After getting passed the initial settings and it starts to extract all of the packages each file fails the checksum and will not install. I tried downloading again on a different computer and burning again using UltraISO using the Disc-At-Once method, again checking the ISO file's checksum before burning.

It still gives the same errors. So i loaded windows and started the windows based install and my anti-virus (Kaspersky) says the disc is infected with a trojan. How can the disc be infected when the ISO file's checksum is correct?. The computer that i am using to burn the disc is virus free according to Kaspersky and Norton Technician Toolkit.

View 7 Replies View Related

General :: Checking If Table Name Is Repeated In File And If Yes - Remove It ?

Jan 20, 2011

I have an output file that looks like this:

Quote:

Now if you see the first line:

Status for ACCOUNT_MISSING_FRM_RCIS_LINK- mismatch

Status for ACCOUNT_MISSING_FRM_RCIS_LINK is ACCOUNT_MISSING_FRM_RCIS_LINK- does not exist in DB

This should appear just once as :

Quote:

The same goes for last line.

For further information the ACCOUNT_MISSING_FRM_RCIS_LINK is a table name and it row count is taken from a log and then Database checked for the rowcount to see if it is a match,mismatch,or the table does not exist!

I am getting the desird output just that i need to do something to this output file.

View 13 Replies View Related

General :: Red Hat 7.0 Fails At Checking Root File System

Jan 19, 2010

I have a Rad Hat 7.0 old Linux system that crashed due to power failure. On reboot the system goes to Checking Root File System and does 92.5% check and fails.

Here are the error messages I get.

I don't know what to do at this point so I say yes and it goes in some wierd mode.

SO I ran fsck manually but I get an error PARALLEIZING FSCK.

I can't fix the corrupted stuff for the system to reboot. THIS IS VITAL.

View 11 Replies View Related

Ubuntu Multimedia :: Override The Default Sample Rate Of Digital Audio Output?

Apr 12, 2010

After some fudging around, I managed to get my 64-bit karmic install to output sound digitally to my amplifier. So far, so good. The amplifier indicates a sample rate of 44.1KHz, while it is capable of 48KHz (higher sample rate would be better, i assume). Also, more annoying, it indicates no signal when no applications are producing sounds, causing it to miss the first second of output when I unpause my music. Windows 7 outputs everything as 48KHz, apparently also outputting silence as the light doesn't blink when i pause a media player.

The question then being: How do I override the default sample rate of digital audio output (if this is even possible, googling suggested that this might be overridden by applications); How do I make my sound driver output silence when no application is outputting sound.

Additional info:
- Ubuntu Karmic x64 (dist-upgraded from jaunty)
- Exaile media player with Normal playback engine and Automatic audio sink
- Asus P5Q-E motherboard
- Philips DFA888 amplifier

View 3 Replies View Related

Programming :: Bash Checking For File Write Completion Before Acting?

Jan 20, 2011

I have a bash script that checks for contents in a folder every 15 seconds and then acts on it's contents. This works great for the average size file however on very large files it starts acting on the file before it's completely written. Is there a facility in bash shell to get a file complete signal or such? here is trigger to launch a larger script.

Code:

#!/bin/sh
while true
do
$HOME/bin/hpgl.sh >/dev/null 2>&1 &

[code].....

View 10 Replies View Related

General :: Set Default System Audio Output Port (for All Accounts)?

May 5, 2010

The default output audio port Ubuntu doesn't work on my system. It should be "Analog Mono Output/Amplifier", instead of "Analog Output/Amplifier". I can easily change that in sound preferences, just by choosing the right port in the "Output" tab. The problem is this would only apply to a single account, and I would like to change it system-wide, so it applies to all accounts on the system (I have more than 100 users...).

Update: I can achieve the same effect as I would by changing it in sound preferences using the following command: pacmd 'set-sink-port' 'alsa_output.pci-0000_00_1f.5.analog-stereo analog-output-mono;output-amplifier-on' Unfortunately that's still not system-wide,

View 2 Replies View Related

OpenSUSE Install :: Mounting Or Checking A Partial Ext4 File System?

Sep 3, 2011

If you have a contiguous partial piece of an ext4 file system (assuming it's perfectly clean), starting from the beginning of the partition, is there any way to check it, or to mount it to get the files whose parents, inodes and data are all completely contained inside?

Have (or maybe had) a very large 11TB RAID 6 array, filled with a single large ext4 partition. Something strange happened when a single drive failed and the array ended up failing 13 out of the 11 drives. I had trouble getting the array restarted, and got to the point where I exhausted all of the options I considered completely safe. I considered a few things that may have worked, but mdadm doesn't seem to have a definite "do not change anything" option. So I decided the only way to be absolutely safe would be to clone the disks before proceeding - then I realized how much time that would take and sent the drives off to a recovery service so they could image them and check it out.

Before doing so, I copied the first 2GB from each disk. I XORd the images from the working drives to reconstruct the data chunks that were on the failed disk, manually assembled the chunks, and am very confident that I have 22GB of "correct" data in a single file. The parity and Q syndromes all matched (with RAID 6 you can still check with only 1 missing device). I've learned the fine details of ext4 from [URL], and have looked at lots of raw data from the reconstructed partition, and it all looks good. The recovery company says that they're not finding many inodes, but I found a lot of them, exactly where they're supposed to be. I tried to mount and e2fsk, but both processes seem to be extremely unhappy that the device size doesn't match the size implied by the file system geometry.

I considered hacking the superblock to manually reduce the size, but I figure that wouldn't work because there would then be more group descriptor blocks than it would expect after the superblocks. I might try doing that and compensating by incrementing the "reserve block count" to compensate. Alternatively, if there is some way to make the file appear to be the expected size with nothing but zeroes after the end of the actual data, maybe I could mount it and not get any errors until I cause the kernel to read past the true end of the file.

View 3 Replies View Related

Programming :: Create Awk Sript For Generating Two Files From A File Checking A Condition ?

Mar 3, 2010

I have a csv file like, having HDR segment and multiple LIN01 segment in each line:like

Here i want to split file in two, one having LIN01 segment which have LR at end, and one which have LF at end in LIN01 segment.

Is it possible to created awk or shell script for this?

View 3 Replies View Related

Slackware :: Fsck Not Checking Non-root File System At Boot Time

Apr 21, 2011

Fsck is not check any file system which are not root file system at boot time.

Normally it run: /sbin/fsck -A -R -C -a

But this command doesn't do anything.

I've tried to strace it, and looks like this:

Code:

View 2 Replies View Related







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