General :: ...c++/4.1.2/bits/vector.tcc:452: Error: Expected Unqualified-id Before (token

Dec 10, 2010

I am trying to install NS-2.1b9a in Fedora 8.0. I have already installed gcc-3.3 and made new link to the newly installed gcc. I used patch made for NS-2.1b9a (found in [URL]...-8-ubuntu.html) to install in Fedora 8.0. Now, when I run ./install I get follwoing error.

[Code]..

View 2 Replies


ADVERTISEMENT

General :: Line 11: Error: Expected ':', ',', '','}' Or '_attribute_' Before '}' Token?

Feb 2, 2010

I worte some code, but I got error for complier.

Code is :
#include <stdio.h>
#include <stdlib.h>

[code]...

View 4 Replies View Related

Debian :: Error: Expected Constructor, Destructor, Or Type Conversion Before '.' Token

Jan 25, 2011

I don't know if this is the best place to ask this question. This question arose when I had a g++ compilation error: error: expected constructor, destructor, or type conversion before '.' token The above message can be correctly displayed in urxvt or xterm. But in mrxvt the '.' part can't be displayed correctly. Then I noticed that the quote signs are actually different from the usual ones and there seems no way to type ' ' from the keyboard. What are the differences and how to make mrxvt to display ' ' correctly. I found mrxvt very good and easy to configure.

View 4 Replies View Related

Fedora Installation :: Texinfo 4.9 From Texinfo-4.9.tar.bz2 - Info.c:161: Error: Expected Expression Before '/' Token

Mar 17, 2011

I'm using fedora 12 with sun virtualbox and I want to install texinfo 4.9 from texinfo-4.9.tar.bz2

-I extracted the archive in a folder..........ok
-In a terminal: ./configure......................ok
-In the terminal: make...........................error

I am getting:

info.c: In function 'main':
info.c:161: error: expected expression before '/' token
info.c:327: error: expected expression before '/' token
info.c:327: error: too few arguments to function 'info_add_path' ...

and a lot more. For some personnal reasons I must install it this way, I can't upgrade fedora, gcc...

View 14 Replies View Related

General :: Bash Error - Syntax Error Near Unexpected Token `{

Mar 4, 2010

I am new to shell scripting, bash specifically.

I am trying to run the following script:

Code:

When trying to execute I always get this error:

Code:

In case you need to know the permissions. Here is it:

Code:

I run the script using the following command:

Code:

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token

May 4, 2010

find /opt/postfix/mail/email.com/~spam/~quarantine/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c admin@email.com {}; -xdev -print
When I do this command I receive this error message:
-bash: syntax error near unexpected token `('

View 2 Replies View Related

General :: Syntax Error Near Unexpected Token `else'

Dec 1, 2010

I wrote a script to start portal.

Its start portal (not a problem)

Only getting following message:

This is the else before second logic

View 32 Replies View Related

General :: Syntax Error Near Unexpected Token `in'

Jun 28, 2011

I'm trying to install the Sun Java plugin to use in Chrome. The installation seems to have gone well, but I have hit an error trying to create a symbolic link of the libnpjp2.so library in the plugins directory of Chrome.

When typing in "in -s /opt/java/jre1.6.0_26/lib/i386/libnpjp2.so" I get "Syntax error near unexpected token `in' ". I'm not sure what could be wrong, I'm in the right directory.

View 2 Replies View Related

General :: Bash - Syntax Error Near Unexpected Token `('

May 2, 2010

I am trying to install vlc media player on my backtrack3 but when i am giving a command xvjf to extract bz2 file then

bash: syntax error near unexpected token `('

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


Code:

However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

General :: Upgrade 32 Bits Programs To 64 Bits On Opensuse 11.2

Jan 5, 2010

I'm quite new to linux and I recently (and courageously) upgraded the computer of my work from opensuse 11.0 32bits to opensuse 11.2 64bits.

Well, everything would be quite fine except that I still have some softwares 32 bits that have the 64 bits version available. I know that because, using YaST, I can see by the Installed software section that there are 'choices' of versions for some programs; these versions are 'i586' and 'x86_64', and many of them have the i586 version installed.

So, I wonder if there is some type of auto upgrade all programs which are i586 and have the matching x86_64 avaliable...

View 6 Replies View Related

General :: Repeatedly Getting Command Substitution - Line 3 - Syntax Error Near Unexpected Token

Aug 31, 2010

I am repeatedly getting error:

I need to pass the value of:

I am using #!/bin/bash

This command works on shell without any issue.

View 8 Replies View Related

Ubuntu :: Create New Directory But Keep Getting Same Error - Bash: Syntax Error Near Unexpected Token `newline'

Jan 13, 2010

I'm trying to create a new directory using the mkdir command.

Code:

home@ubuntu:~$ mkdir <aicoursework>
bash: syntax error near unexpected token `newline'

that's the error that i keep getting, what am i doing wrong?

View 5 Replies View Related

Ubuntu :: ERROR --bash: Syntax Error Near Unexpected Token 2

Feb 4, 2010

The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:

[Code]...

View 3 Replies View Related

Ubuntu :: 32 Bits Version Packages Work On The 64 Bits Edition?

Jun 19, 2010

when I reformat ubuntu, I use AptonCD to save packages and then restore them without downloading anything over again. what I want to know is: I have the 32 bits ubuntu installed and then I downloaded the 64 bits version. If i reformat to the 64 bits one, would the DVD saved aptoncd packages from the 32 bits work on the 64 bits installation?

View 4 Replies View Related

Ubuntu :: Authentication Token Manipulation Error?

Jan 11, 2010

I have an error when I try to add a user or change a password: Authentication token manipulation error.happens suddenly. My config: Ubuntu server 9.04, Samba, open-ldap. Until now I can create users without problem. Now, I can create but with password error. If i add the user to Samba, no problem.I have googled it several hours, but I cant find any solution to it

View 1 Replies View Related

Server :: Syntax Error Near Unexpected Token `then'

Feb 16, 2010

I am trying to build a script that runs on AIX, Solaris, and various flavors of Linux as well. It is very simple, or so I thought. I have the AIX and Solaris servers working well. Next I tried to get my workstation to run the script and it bombed. I am running Fedora 12 x86_64, but that isn't really important. I have various flavors of Linux. Some CentOS, RH, and even a Gentoo server. The script I have runs every hour on all servers. I can push out changes and install software with it, but the Linux WS won't run it.

Here is my script:

And here are the errors:

Is this just an issue with going between ksh and bash?

View 4 Replies View Related

Programming :: Sed - Syntax Error Near Unexpected Token

Mar 9, 2011

#by executing bash file
#!/bin/sh
sed -i 's/if (IEexec || domExec) document.write('<iframe id="IdMyIframe" '+IframePropriedades+'></iframe>');//g' *.php

Output is:
line 4: syntax error near unexpected token `<'
line 4: 'sed -i 's/if (IEexec || domExec) document.write('<iframe id="IdMyIframe" '+IframePropriedades+'></iframe>');//g' *.php'

View 6 Replies View Related

Programming :: Syntax Error Near Unexpected Token

Jun 18, 2010

I'm fairly new to shell scripting and am having the hardest time figuring out why this simple script is giving me an error

The error is "syntax error near unexpected token `else'

I'm using TextEdit on OSX (sorry I'm limited to this). The only thing I can think of is that it's reading some return character and getting thrown off. I've tried saving the script using different encoding types but the same error pops up.

I also get an error at line 2 because it does not regonize as a command

View 5 Replies View Related

CentOS 5 :: Syntax Error Near Unexpected Token / Fix It?

Nov 19, 2009

Syntax Error Near Unexpected Token

View 2 Replies View Related

General :: Error: Expected Initializer Before "G_GNUC_NULL_TERMINATED"?

Apr 23, 2010

I am using Scientific Linux version 2.6.9-67.EL.cernsmp (root@lxcert-i386) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Wed Nov 21 16:22:33 CET 2007. Now I want to install rediff bol in it. so i downloaded rediff bol from the site

Code:
http://linux.softpedia.com/progDownload/rediffbol-prpl-Download-34762.html
after that i have downloaded libpurple and libpurple developement from

[code]....

View 2 Replies View Related

General :: "unary Operator Expected" Error Msg?

Nov 8, 2010

if [ $games -gt 0 ] ; then
echo ""
echo "*** New Game! ***"

[code]....

View 6 Replies View Related

Ubuntu :: 64 Bits Install 32 Bits Windows In VirtualBox?

May 18, 2011

I am wondering if I can install a 32 bits guest Windows XP in VirtualBox in my 64 bits Ubuntu Natty host? I need a 32 bits Windows to run some programs.

View 6 Replies View Related

Fedora :: Error: Missing Binary Operator Before Token

Oct 26, 2010

I have been spending several days getting wxwidgets to work in code::blocks ide on several different platforms. Now I am down to one instance that I can't figure out. I have wxwidgets working in Fedora 13 x64, but cannot get it to work in a Fedora 13 x32 version. Actually, wxwidgets seem to be installed OK, but I run into compiler errors when I try to compile the default wxhello project. I get quite a few messages, in different header files, of this type:

/usr/include/assert.h:39:42: error: missing binary operator before token "("#if defined __cplusplus && __GNUC_PREREQ (2,95) From my friend Google this would seem to be caused by an older version of boost (before 1.37) - see http://bugs.xmms2.xmms.se/view.php?id=2215 ("It is an issue with old versions of boost and gcc4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36453 It is fixed in boost 1.37")

I did a yum info command on both systems for every relevant package I could think of, including gcc(v4.4.4), gcc-c++(4.4.4), libgcc(4.4.4), libstdc++(4.4.4), boost(1.41.0), wxGTK(2.8.11), wxBase(2.8.11). Both systems are fully updated and have the same versions, with the only difference being 32 vs 64 bit. The same headers compile with no errors on the x64 system, but not x32. I have been able to find no other reason for this error than older versions of the preprocessor, yet that is apparently not the case here).

View 1 Replies View Related

Software :: Syntax Error Near Unexpected Token `newline'

Jul 21, 2011

I'm new to php.

I wrote a basic php script using gedit:

Saved is as FirstPHP.php

Then I did a chmod 755 FirstPHP.php

And ran it. Got the following out put:

Why am I getting a syntax error? Am I missing something?

View 2 Replies View Related

Programming :: Syntax Error Near Unexpected Token - Not Working ?

Jan 28, 2010

I got this script from website for inviting peoples to game and earning points easily ...but this seems not working and giving error..

View 4 Replies View Related

CentOS 5 :: Got Syntax Error Near Unexpected Token / Sort It?

Apr 21, 2009

I have a .sql file that is too large and needs to be uploaded via ssh.I know the commands to do this but my username password has parenthesis in it i.e. (password)So I am getting -bash: syntax error near unexpected token.

View 2 Replies View Related

Software :: Autogen Syntax Error Near Unexpected Token 1.9.6 AM_PATH_CPPUNIT - 1.9.6

Mar 23, 2010

Used svn co to fetch latest version of rtorrent. Ran svn up in the trunk directory.

Now to compile libtorrent...

Code:

Similar with compiling rtorrent...

Code:

bash: make: command not found

View 5 Replies View Related

Programming :: ./script.sh: Line 2 - Syntax Error Near Unexpected Token `('

Mar 11, 2010

Okay, first off I'm no hotshot programmer (and actually lack much familiarity with shell scripting) so apologies in advance if this problem is so trivial as to be irritating.

What I'm trying to do is drop the following command from either a shell script or a perl program. However, while it executes fine and does what it's supposed to when entered from the command line, I can't get it to work as a system call.

Here's the line:

Code:

When I drop it from a shell script like this:

Code:

I get the following:

Code:

If I try escaping the ()s with or ', I get this:

Code:

I've tried a bunch of other stuff to get it working (deleting the ()s, spacing them differently, etc) and looked around online for a solution, but I can't find anything that works.

I tried a shell script directly only after anything I tried to drop it from perl with `` or system() failed with the same errors.

View 3 Replies View Related

Server :: Script Error: "syntax Error Near Unexpected Token Then"

Jun 9, 2011

I'm trying to get this script working, it's supposed to give me options of typing B to backup a folder, typing R to restore the backup, and typing E to exit.

[Code]....

When I attempt to run the script, I get my echos prompting me to type B, R or E and press enter. When I type B and press Enter, I get this:

Code: line 18: syntax error near unexpected token 'then' line 18: 'then'

View 14 Replies View Related







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