Programming :: Gcc Error With -mtune Option

Apr 7, 2010

I am trying to compile a hello world program to run on a powerpc processor. I used GCC 4.4.1 from Ubuntu 9.10 on a X86 (PC) platform.

Which value should I use to indicate powerpc architecture?

View 3 Replies


ADVERTISEMENT

General :: Add_idle.cxx:1: Error: Bad Value (generic) For -mtune= Switch

Apr 29, 2011

I am trying to install fltk-2.0.x-alpha-r8570 on Ubuntu 10.04, I get following error during make process

Code:

root@programmer-desktop:/opt/fltk-2.0.x-r7680# make
=== making src ===
Makefile:223: makedepend: No such file or directory
Compiling add_idle.cxx...
add_idle.cxx:1: error: bad value (generic) for -mtune= switch

[code]....

View 2 Replies View Related

Programming :: Unknown Filter Error - Option Rate Unparsable

Feb 21, 2010

I am getting this error "Unknown filter "police", hence option "rate" is unparsable. This is in Linux Kernel 2.6 which is compiled with the "policing" option enabled in Qos (Kernel config). The error seems to be coming from the file tc.c in iproute2/

static int parse_nofopt(struct filter_util *qu, char *fhandle, int argc, char **argv, struct nlmsghdr *n) {
__u32 handle;
if (argc) {
fprintf(stderr, "Unknown filter "%s", hence option "%s" is unparsable
", qu->id, *argv);
return -1;
} if (fhandle) {
struct tcmsg *t = NLMSG_DATA(n);
if (get_u32(&handle, fhandle, 16)) {
fprintf(stderr, "Unparsable filter ID "%s"
", fhandle);
return -1; }
t->tcm_handle = handle; }
return 0; }

This is called from get_filter_kind() which is called from tc_filter_modify(), called from do_filter(), from do_cmd() from main()...all in tc.c. Is this a known "bug" in iproute2+2.6 as the 2.4 Kernel works with the same settings?

View 14 Replies View Related

Fedora :: Booting - Error "EXT4-fs(sda): Error Loading Journal Mount: Wrong Fs Type, Bad Option, Bad Superblock On /dev/sda8"

Feb 4, 2010

I have installed both Windows Xp and Fedora 12. Last time when i was working on Fedora it didn't shut down properly. Now following error occurs and finally the system sleeps.

ata1.00 : exception Emask 0x0 Sact 0x0 SErr 0x0 action 0x0
ata1.00 : BMDMA stat 0x25
ata1.00 : cmd c8/00:00:50:5a:34/00:00:00:00:00/e4 tag 0 dma 131072 1n
res 51/40:7f:d1:5a:34//00:00:00:00:00/e4 Emask 0x9 (media error)
ata1.00 : status : { DRDY ERR }
ata1.00 : err : { UNC }
end_request: I/O error, dev sda, sector 70539985 JBD : Failed to read block at offset 5884 EXT4-fs(sda): error loading journal mount: wrong fs type, bad option, bad superblock on /dev/sda8, codepage or helper program, or other error In some case useful info is found in syslog-ty dmesg | tail or so

View 1 Replies View Related

Programming :: Sed.exe Unknown Option To 's'?

Feb 21, 2011

I'm running sed in WinXP on a text file using a script file. Every time I run it I get an unknown option to 's' error:C:Program FilesGnuWin32in>sed -f jagerize.sh input.txt>output.txtsed: file jagerize.sh line 22: unknown option to 's' I've tried two different implementations of sed, with the same result. Deleting the offending line in the script file still produces the same result (as the next line has the same syntax). I'm guessing the problem has something to do with WindowsXP, but I'm a complete newbie with sed and Linux.Here is the script file I am using:

#!/bin/sh
#
# Jagerizer 1.2

[code]...

View 1 Replies View Related

Programming :: Usually Make Multiple Dir Using -p Option?

Apr 21, 2010

(i) I usually make multiple dir using -p optionex: mkdir -p dicttest/audrep/tdriver/testNow after creating this dir's i stay in current dir instead i want to go directly to test dir how can i acheive this.(ii) When i execute which command as followswhich testerm i will get the location of testterm now i want to open this filewhen i did in this wayhich testterm | vi The file dosent get opened how can i acheive this ?ex:

linuxx86:110$ which testterm
/view/rdl110_linuxx86/vobs_usrrdl/sc/testterm
linuxx86:110$ which testterm| vi

[code]....

View 3 Replies View Related

Programming :: [bash] Option Followed By Argument List?

Feb 6, 2010

I'd like to pass the following arguments to a bash script in any order:

Code:
myscript -l <country> -r <file1> <file2> ... -o

I read the argument list in a switch shift loop. I figured out how to read the filelist but only if -f is the last option.

how to position the file list anywhere in the argument list?

View 5 Replies View Related

Programming :: Setting ACL As Mount Option Using Awk And Sed Script

Apr 24, 2010

I am creating a script for making a public folder in linux. The idea behind is to allow any user to write files in this folder and further each of those files can be used by any user. For this purpose I am using acl. This first requires to set acl as mount option in /etc/fstab which I need to do with help of (awk and sed) command available in linux.

The line below is the fstab entry which I need to make change in.
UUID=e9a3db4b-d8c0-40b4-a661-131e13afea1e
/ext3 relatime,errors=remount-ro 0 1

I want my script to identify this line (most probably with / which denotes the mountpoint) and then add (acl,) without brackets in options. Currently I use the command as below
sed 's/realtime/acl,relatime/' /etc/fstab
but the above command is in reference with (realtime) what I am planning is that my script should be able to find the line which has / and then go to options and add acl there.

View 3 Replies View Related

Programming :: Any Option To Make GCC Case Insensitive

Jul 11, 2010

I am working with a third party that use windows to compile. When we port that code I am running into a lot of case issues where the includes are not case sensitive. Is there any option in GCC to make it case insensitive. I know its a long shot, as I have done reading and does not seem so.

View 1 Replies View Related

General :: Error : Seems To Have A -t Table Option

Jul 30, 2010

I am trying to increase performance on our system. I wanted to tell iptables not to retain entries into the ip_conntrack. I try to put this int he iptables but I receive the error : seems to have a -t table option.

The entry I'm adding is: -t raw -A PREROUTING -i lo -j NOTRACK

View 1 Replies View Related

Programming :: Can't Understand The Value Returned By Semctl Using GETPID Option

Oct 18, 2010

I have got a program using semctl(). I cant understand the value returned by semctl using GETPID option and its difference with the actual pid obtined by getpid()as in the following code:

Code:

int semid,retval;
semid=semget(0*20,1,0666 | IPC_CREAT);
retval = semctl(semid,0,GETPID,0);

[code]....

View 4 Replies View Related

Ubuntu :: Pbnj 2.0 Error In Option Spec

Jul 28, 2010

I've installed pbnj 2.0 with the command "sudo apt-get install pbnj" on ubuntu 10.04 I can successfully scan hosts with the command scanpbnj

[Code]...

View 1 Replies View Related

Programming :: Finding G++ Compiler Option To Avoid Forward Declarations

Sep 23, 2010

I am working for a product which was evolved over a decade. There I have some combination of C style coding and C++ coding in same libraries. I am landing on some instances where C style function is expecting forward declarations for some other function for which I can not declare (due to design and architecture). Is there any g++ compiler option that directs the g++ to look whole preprocessed file (because definition is there down in the preprocessed file) than only forward in the preprocessed file. All these years this code is working as we are using CC compiler and that looks entire preprocessed file than only in the forward direction.

<Sample Code
Header1.h file
Function1()
{

[code]....

if I can not include Header2.h first then Header1.h. I have to include Header1.h and Header2.h because on the design hierarchy in this product. Also the function definitions are in header files as they are either template functions or functions expanded through macros.

View 6 Replies View Related

Fedora :: Error: Unrecognized Option '--warn-common'

Jun 11, 2011

I've download the gpac files for MP4box from:[URL]..but im having issues compiling it. Its telling me "gcc: error: unrecognized option '--warn-common'"Running 64bit FC 15

View 2 Replies View Related

Ubuntu :: Error 15 File Not Found At Boot Option

Jun 19, 2010

I have a problem with my Ubuntu 9.10. I found on some help forum on how to clean up the boot menu some of the options for previous updates.So I went to terminal, typed gksu gedit /boot/grub/menu.lst

View 3 Replies View Related

Red Hat / Fedora :: Compilation Error In Module With ARM9 For IO - Invalid Option `64'

Dec 13, 2010

We are using LPC3250 ARM9 and LTIB for building the Linux 2.6.27.8 We have written some code to access GPIO and was working earlier with opensuse 9.0 We now have fedora 11 32 bit 2.6.30.10-105.2.23.fc11.i686.PAE When we make the program we get following errors we are using GCC3.4.5

#make -C /lib/modules/`uname -r`/build M=`pwd` modules
make -C /home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8 M=`pwd` modules
make[1]: Entering directory
`/home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8'
CC [M] /home/shekhar/samsung_lcd/gpio/char.o
cc1: error: invalid option `64'

[code]....

View 1 Replies View Related

Hardware :: Run Memtest86 - Error: Unrecognized Command Line Option

Jun 17, 2011

I am having memory problems on my old Compaq PC, and am trying to run memtest86+-4.20 to check it. I downloaded the source file, and tried a compile, but had the following problem:

[code]...

how to get around this issue?

View 3 Replies View Related

Ubuntu :: When Select - Option To Boot Windows At The Grub Menu - Error

Jan 10, 2010

I installed Ubuntu as a dual-boot system with Windows XP very carefully. Unfortunately, though given the option to boot Windows at the grub menu, when I select it, I get an error. Booting Ubuntu on my other partition works just fine, no issues.

I also attempted to access files from the first partition in Ubuntu using gparted, but once I mounted it, all of my files were not present. I only saw manufacturer files, and many files and folders I didn't recognize.

Also, as an aside, my laptop monitor is suffering from occasional black-outs during use. Ubuntu gave me a little toolbar flag, telling me to go to a website and use the patches given to fix it, but I'm not quite so sure where to input the given patch text. Do I really need to go through the trouble of finding the source code, etc., or is it more simple?

View 9 Replies View Related

Ubuntu Installation :: Ubiquity Error When Using Erase Entire Disk Option?

Aug 25, 2010

I got an ubiquity error when installing using erase entire disk option.Install just hangs after this error. I have an oldish p4 pc, 40 gb hard drive with faulty windows xp installed on it.

View 1 Replies View Related

Software :: LaTeX Error: Unknown Option `spanish' For Package `babel'

May 14, 2010

I am trying to write notes for my Spanish class using LaTeX, but having loaded the spanish - babel package, am getting the following error - firdt I give an example code, then the .log file:

Code:

listfiles
documentclass{article}
usepackage[spanish]{babel}

[code]....

View 8 Replies View Related

Software :: Use Gcc Command To Compile A *.c File Error:unrecognized Option '--eh-frame-hdr'

Jun 27, 2011

use gcc command to compile a *.c file error:unrecognized option '--eh-frame-hdr' why is it? and how to solution it?

View 2 Replies View Related

Ubuntu :: Getting An Error After The Self Boot Sequence When After X Minutes The System Auto Boots The Highlighted Option?

Jan 26, 2010

I am getting an error after the self boot sequence when after X minutes the system auto boots the highlighted option in my case it is mint 7 after that screen an error comes up with Random numbers and letters then Stuck?

View 1 Replies View Related

General :: Corrupted Partition Table / Error Mounting: Wrong Fs Type, Bad Option, Bad Superblock?

Oct 23, 2010

i used to have ubuntu 9.i decided to move to sabayon so i used the live cd to install it ,resize the ubuntu partition and use the remaining space for sabayon.while the resizing procedure i got an error(i dont have a copy of the error log file but i know it has something to do with an anaconda process).i aborted the installation and the result was an filesystem that couldnt be mounted.when i try to mount the hdd i get this:

Code: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so and this is what i get from fsck: Code: $ sudo fsck -f /dev/sdb1
code....

View 5 Replies View Related

Ubuntu Installation :: Lost Windows 7 Boot Option In Grub - Error 12: Invalid Device Request

Jan 12, 2011

I had a working dual boot Ubuntu 10 and Windows 7. Anyways long story short, I got it working again but have lost the boot option for windows 7. If i run fdisk -l, I get the following.

root@support-Latitude-E6400:/home/support# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders

[code]....

I installed gparted and can see that windows 7 is installed in dev/sda6. In another forum, i read that someone had to edit their menu.lst so i did with the following.

title=Windows 7
rootnoverify (hd0,6)
makeactive
chainloader +1

When i try to boot from windows 7, i get the following error. Error 12: invalid device request. How can i get my laptop to boot from windows again?

View 9 Replies View Related

Ubuntu :: Hard Disc Failure - Error Mounting: Mount: Wrong Fs Type, Bad Option, Bad Superblock ?

Apr 18, 2011

Ubuntu 10.04 has just failed to load from my hard drive, so I've resorted to booting from CD just to get the machine going.I'm wondering if my main boot drive has gone caput??When trying to mount it using DISK UTILITY...get the message: Error mounting volume

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,missing codepage or helper program, or other error.In some cases useful info is found in syslog - try dmesg | tail or so

View 5 Replies View Related

OpenSUSE Install :: Should There Be Option To Download ISO Option For CD Installation

Jul 18, 2010

when I go to download 11.3 I am presented with the installation medium for a DVD installation with a button that says download DVD. Should there be an option to download an ISO option for a CD installation on this page along with the DVD version? Some of our older machines can only read CD's with a max size of 500+ megs.

View 3 Replies View Related

Ubuntu :: Auto Login Option / Can Undo This Option?

Nov 5, 2010

I installed Maverick with auto login. One could undo this by reinstalling I suppose, but is there an easier way to get back to the standard form of login?Hopefully that will cause my default key ring to unlock correctly.

View 3 Replies View Related

CentOS 5 :: 5.5 Kickstart Option To Remove Encryption Option?

May 25, 2010

We do use kickstart configuration file to customize the CentOS installation. In the partitioning screen, I do see a check box for encryption (encrypting the disk blocks).

I want to remove this checkbox in my kickstart configuration file. What is the option to use to get rid of this checkbox.

View 3 Replies View Related

Programming :: Find Command With Standard Error Output And Mail Error File

Nov 11, 2010

We make everyday a DB Mysql backup on Linux redhat Enterprise. We are using a bash shell script (and putting it in the crontab) to execute it automatically everyday. We added a line to this script telling, once the backup has completed, to find old backup files (stored on hard disk after each backup) older than x days to remove them. We use the find command (search for file type) with the mtime option and in combination with rm command. Everything runs ok but we also want to add some new code to the same line: If find command cannot find anything or fails, for example if it cannot delete file or fails, send the error message (standard error output) to an error file (like error000001 and increasing) and mail the errorxxxx file to an email address for example to admin@companyname.com. What would be the code for this issue to add it to our find command in the same bash shell script??

View 2 Replies View Related

Programming :: Rectify This Error: RCC: Error In 'appchooser.qrc': Cannot Find File 'akregato?

Apr 12, 2011

how to rectify these errors..
RCC: Error in 'appchooser.qrc': Cannot find file 'accessories-dictionary.png'
RCC: Error in 'appchooser.qrc': Cannot find file 'akregator.png'
RCC: Error in 'appchooser.qrc': Cannot find file 'digikam.png'
RCC: Error in 'appchooser.qrc': Cannot find file 'k3b.png'
RCC: Warning: No resources in 'appchooser.qrc'.

and my .qrc file is like this

<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>accessories-dictionary.png</file>
<file>akregator.png</file>
<file>digikam.png</file>
code....

View 3 Replies View Related







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