LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2011, 09:15 PM   #1
aicaicai
Member
 
Registered: Aug 2011
Posts: 40

Rep: Reputation: Disabled
an error:expected unqualified-id before '/' token


I have added a routing protocol in ns2.The protocol only has 1979 lines.But when I make,there are many strange errors as fellows:
zbr/zbr.cc:3958:warning:null character(s) ignored
zbr/zbr.cc:3959:warning:null character(s) ignored
zbr/zbr.cc:31:error:expected unqualified-id before '/' token
zbr/zbr.cc:41:error:'i' dose not name a type
zbr/zbr.cc:123:error:'s' dose not name a type
make:***[zbr/zbr.o] error 1

I can't understand,because in line 31,there is only note(//zhu:global constants are defined here). And in my protocol,there is only 1979 lines,however there is a warning in line 3959.
Please help me. Thank you very much!
 
Old 10-27-2011, 01:16 AM   #2
aicaicai
Member
 
Registered: Aug 2011
Posts: 40

Original Poster
Rep: Reputation: Disabled
Now I have resolved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
...c++/4.1.2/bits/vector.tcc:452: error: expected unqualified-id before ‘(’ token ritika_sharma Linux - Newbie 2 12-10-2010 09:42 AM
line 11: error: expected ':', ',', ';','}' or '_attribute_' before '}' token pppwww Linux - Newbie 4 02-02-2010 07:06 PM
compile error: expected ‘;’ before ‘*’ token osc~ Linux - Software 12 12-10-2009 11:18 AM
expected unqualified-id before ‘{’ token in C knobby67 Programming 3 04-25-2009 04:11 AM
compile error: expected ‘;’ before ‘*’ token osc~ Linux - Software 2 12-05-2008 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration