General :: Error: Invalid Operands To Binary | (have Char * And ½char)
May 21, 2011
i have problem executing lex program though the code is correct i'm getting some errors and the error says: In function yylex:
error: invalid operands to binary | (have char * and char *)
error: invalid operands to binary | (have char * and char *)
error: expected ; before { token
View 3 Replies
ADVERTISEMENT
Apr 16, 2009
i followed the install method in the g95.org as follows.Installation Notes Unix (Linux/OSX/Solaris/Irix/etc.): Open a console, and go to the directory in which you want to install g95. To download and install g95, run the following commands:
wget -O - http://ftp.g95.org/g95-x86-linux.tgz | tar xvfz -
ln -s $PWD/g95-install/bin/i686-pc-linux-gnu-g95 /usr/bin/g95
everything seemed to work fine. the g95 command in terminal prompted a "no input files" so it seemed to work. i made a quick hello program to test and i get these errors.
/tmp/cc3Ugii1.s: Assembler messages:
/tmp/cc3Ugii1.s:11: Error: suffix or operands invalid for `push'
tested the program with gfortran and it worked fine. i googled around a little and it appears that the error have something to do with a 64 bit 32bit problem. i mean like the compiler is expecting 64 bit, but libraries are 32 bit. or somthing like that.
View 1 Replies
View Related
Mar 4, 2010
m getting the following error when trying to compile:Quote:
$ make
g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"undelete"' -DHAVE_SVDRP -I../../../include undelete.c
[code]...
View 14 Replies
View Related
Jul 9, 2010
I am having trouble with the following exception class.
Code:
/**Standard Exception
*
*@description
*@update
*@changes
[code]....
Line 43 points at the snprintf() command.I think the error has to do with the function being virtual and the const after the function definition, however although I have been looking really hard I have not being able to find the reason nor the solution to the problem.
One workaround that I know is moving the block of source withing the virtual function, in the constructor, however having read around (boost library exceptions tutorials) it specifically said that formating of errors messages should not take place withing the construction of objects because we are risking throwing an exceptions and messing up the flow order.
View 11 Replies
View Related
Feb 25, 2011
Trying to install Debian Sid in VMWareplayer....
Got image debian-testing-amd64-netinst.iso from : [url]
Following happens :
View 2 Replies
View Related
Nov 4, 2010
Programming in C.I have two char arrays.char buf1[1024];char buf2[1024];Aren't buf1 and buf2 also pointers?I read in 1024 bytes into buf1 which contain about 300 bytes of characters with newlines. The data is basically a few English sentences. I'm trying to scan buf1 for newlines and then stop at the 1st newline and copy the rest of the data from that 1st newline into buf2.So I run a for loop to look for that new line.
Code:
for(i=0; i<1024;i++) {
if((strcmp(&buf1[i], "
[code]...
View 8 Replies
View Related
Feb 14, 2011
i define variable of type char (range -128 to 127). when i tried to print the value after assigning a -ve value to it it displaying a +ve value of that -ve value(256+value).
View 3 Replies
View Related
Jul 5, 2011
With this I may remove the last emtpy char which is not visible, coming from net, windows, ...
Code:
echo "$mystringwindowsorotherwithemptylastchar" |sed s/.$//
However if there are not then it makes a problem and delete effectively an existing char.
Code:
echo "klklj" |sed s/.$//
klkl
Anyone would have a solution for SH?
View 2 Replies
View Related
Jul 13, 2011
and executing my package on red hat version 2.6.18-164.el5 and displaying no error but my binary is not created what could be problem ??
make[1]: Leaving directory `/root/kartik/POC_SSI_1/iub_dogw/ipr/common/cspl'
gcc -print-file-name=libgcc.a -g -Wall -Werror -D_GNU_SOURCE -r -o /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/bcpapp -lgcc -lc /root/kartik/POC_SSI_1
[code]...
View 2 Replies
View Related
Mar 4, 2010
is it possible to convert a variable from char * to unsigned char ?
View 5 Replies
View Related
Oct 22, 2009
I have installed RHEL-5 on a 64-bit machine recently, and want to install java. Earlier when I did "java -version", it showed jre1.4.0. But for my application , I need jre 1.5.0 or later, so I decided to download jre1.6. I am the root user here and I downloaded the jre1.6 as rpm.bin as well as simple .bin format.
But the problem is that when I tried executing any of them, I am getting below error message :
" ./jre-6u16-linux-x64-rpm.bin: line 368: ./install.sfx.20520: cannot execute binary file"
Moreover, now when I tried "java -version", it is not showing any thing.
Could anybody suggest me how can I resolve this deadlock situation, as I need to install my other application at the earliest.
View 9 Replies
View Related
May 25, 2010
I have a computer I recently uninstalled the operating system from and was wanting to use Linux Ubuntu. After burning the cd and trying to install it to the computer it gives me "Invalid System Disk, Replace then disk and press any key." I am unsure how to start this and I am not even sure if I have all the files, I need to install the Linux Ubuntu 10.04 operating system step by step.
View 4 Replies
View Related
Jan 4, 2010
I'm running ubuntu 9.04 and trying to pull over some files via the GUI from a XP box over locally. I'm getting this error:
"error while copying file into /volcano/tunes invalid argument" (under show more details)
If I just copy over a mp3 file it works fine but the when I copy the entire directory I get this error.
View 1 Replies
View Related
Jun 16, 2011
Greetings, I have installed a VMware host on Windows 7 64bit and followed with a 10.04LTS 64 bit guest install. Everything went smooth. I have used VMware before, but the other way around.. Linux host and Windows guest.
So this time I am installing the VMWare tools on the guest, ubuntu 10.04, but it seems to be failing. The vmware tools install ran fine the first time with no errors, but I was getting the follwoing error after logging into the Ubuntu guest afterwards.
Could Not Apply the Start Configuration for Monitors
Error Line 1: Char 1 Whitespace or empty file
So I re installed the VMware tools once again, but still the same.
I am hoping that someone here has come across this before and hs a workaround. I don't think the vmware tools was installed correctly.
View 1 Replies
View Related
Apr 16, 2011
Reluctantly I made a temporary install of XP as follows Remove linux drive and install a wiped drive.format ntfs & install windows xp (w/sp3)shift ntfs drive to slave, replace linux drive as master and xp drive as slave. Add it to grub as follows:
Code:
# boot=/dev/sda1
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
titlem$ Windows XP
code....
View 1 Replies
View Related
Feb 12, 2010
Installed rhel 5.3 on dell r710 with md1000 as das.
After creating raid 0 + 1 and rebooting, received an error message below:
View 14 Replies
View Related
Jun 15, 2011
I loaded Avast anti virus into Ubuntu 10.10 this morning. It seemed to go okay and uploaded the updates. But then it stopped. Now when I try to start it I get the following error message. 'An error occurred in avast! engine: Invalid argument'
View 1 Replies
View Related
Sep 20, 2010
I installed Debian 5.03 Lenny successfully on my machine. I got this error during boot: ACPI : invalid PBLK length [5]. After that the Operating System boots properly and starts normally. What does this error statement mean? Is it safe to work with this installation despite this error?
View 1 Replies
View Related
May 30, 2011
i need to install vpnc in amazon ec2 fedor 8 instance. i have installed with yum install vpnc commaned. And i have placed config file in /etc/vpnc/some.conf. but it is not connecting and giving the following error.
vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device.
View 6 Replies
View Related
Feb 10, 2011
Trying simply to insert into table. Have succeeded in doing this but now want to correct user use of invalid characters. If I'm understanding correctly, Real-escape-string seems to correct these, so I've been trying to figure out how to use it. A short, test code version gives me a syntax error at INSERT VALUES, which--because it still has the single quotes in the text--tells me the real-escape-string didn't work. The code below gives me a parseing error with invalid $END at </body>.
Insert Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' VALUES (UTC_TIMESTAMP,'What's happen' bra?')' at line 1 Parse error: syntax error, unexpected $end in /home/powere15/public_html/DB/exercises_insert_record.php on line 94
<html><head><title>Exercise Catalog Insert Record</title></head>
<body>
<?
/* Change db and connect values if using online */
[Code]....
View 2 Replies
View Related
Sep 13, 2010
I've been playing around with trying to assemble a bare-bones Linux system on a disk.img file through a loop device. I compiled the most recent stable kernel and then copied it onto the root partition in the image. When I try to boot up into the image using qemu, grub gives me this:
Code:
Booting 'tiny'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinux
Error 13: Invalid or unsupported executable format
Press any key to continue... I am confused because I compiled the kernel with 'make bzImage', and the architecture hasn't changed (qemu on the same machine used to build the kernel). So it should be bzImage format. Is that what this Error 13 means, or could it means something else is wrong...?
View 1 Replies
View Related
Apr 14, 2009
I'm having trouble getting subversion working on Centos 4.7. When I try to create a repository using:
Code:
svnadmin create /path/to/repo
I get:
Code:
svn: Berkeley DB error while creating environment for filesystem repo/db: Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments
I've searched the Net, with little luck. Threads seem to suggest that Centos has this flag compiled into the Berkeley DB RPM by default; whereas SVN doesn't want it. Someone, somewhere, must have got this to work and I'm sure it's something really simple I'm doing wrong.
[code]....
View 1 Replies
View Related
Aug 16, 2011
Bottom Line: Dvd Drive died in my toshiba laptop and it was replaced (not before tech for some reason reformatted the Win7 partition... which was 100% un-needed, but thats beside the point now. I redid win7 (the tech installed vista) and am TRYING to "redo grub". Facts: The Slackware AND Ubuntu Partitions ARE STILL THERE and when i use SuperGrub Boot CD (which doesn't restore my grub by itself) to boot into slackware, i can see ALL THE CONTENT of both Linuxes still there including grub on ubuntu partition
(Tri-Boot: Ubuntu, Slackware, and WIn7) I had it working for two years or so, SO i know this "setup" works fine. I am A) Trying to do this as simply as possible. B) Trying to avoid the need to download a 800MB ISO (as seen for this issue on this forum) and trying not to have to reformat Ubuntu Partition (though I have the .Debs I have downloaded for it backed up ... all 1.7GB of them) I have /dev/sda1 as win7, /dev/sda2 as Slack and /dev/sda3 as Ubuntu (which contains Grub Legacy).. Every command I do seems to result in an error like "invalid command" or "invalid Execution format " (i think that second one is right) type errors. I compiled (awhile back) a few kernels for Slackware, but feel goofy that I cant figure what i this out (what i thought was going to be a "2 minute" fix)
View 4 Replies
View Related
May 29, 2010
I've never programed shell scripting.
Code goes like so:
I simply want to read a file "data.txt" line by line Then char by char and add them into a result var. The file is supossed to always contain numeric values
View 8 Replies
View Related
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Nov 30, 2010
How to coded version info and other information likes author and company name into the ELF binary?
I prefer the put the version info during build step.
View 5 Replies
View Related
Dec 10, 2010
How to find EOF char in file
View 1 Replies
View Related
Aug 24, 2010
the query is ||| how to append a char | string |||
#!/bin/bash
echo -n "one""two""three"
#END
above method is working well but below method is not working ?
#!/bin/bash
one=one
two=two
three=three
echo -n $one$two$three
#END
View 5 Replies
View Related
Oct 13, 2010
When im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.
View 11 Replies
View Related
Jul 14, 2011
I just installed RHEL 6.1 and saw this when trying to compile ntfsprogs:
Code: [root@Alpo-Computer ntfsprogs-2.0.0]# ./configure checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed
View 14 Replies
View Related