LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2013, 06:08 PM   #1
r0w225
Member
 
Registered: Jul 2012
Location: South Africa
Distribution: Ubuntu precise pangolin 12.04LTS
Posts: 48

Rep: Reputation: Disabled
Warning error while compiling new module in NS-2 /Ubuntu 12.04LTS


Hi all
Am using ubuntu precise pangolin, and i installed ns-2 for research purpose. while i was trying to add my new module i got this reptitive error. which doesnt make sense to because the error refer to some lines i havent modified from the original file (which is working fine). could it be a problem with the compiler?
thanks for your assistance
Code:
lscrumor/lscrumor.cc:494:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
lscrumor/lscrumor.cc:502:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
lscrumor/lscrumor.cc:509:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 
Old 07-10-2013, 06:40 AM   #2
adelabarra
Member
 
Registered: May 2008
Location: Argentina
Distribution: Debian, Slackware
Posts: 49

Rep: Reputation: 3
Hello:
Did you compile rhe original?

Regards.

adelabarra
 
Old 07-10-2013, 07:04 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
Quote:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Not an error. Please ignore.

Warnings are usually just "an informative text".

-
 
1 members found this post helpful.
Old 07-10-2013, 07:27 AM   #4
r0w225
Member
 
Registered: Jul 2012
Location: South Africa
Distribution: Ubuntu precise pangolin 12.04LTS
Posts: 48

Original Poster
Rep: Reputation: Disabled
my bad

Last edited by r0w225; 07-11-2013 at 07:56 AM.
 
Old 07-11-2013, 07:56 AM   #5
r0w225
Member
 
Registered: Jul 2012
Location: South Africa
Distribution: Ubuntu precise pangolin 12.04LTS
Posts: 48

Original Poster
Rep: Reputation: Disabled
well my bad! my apologies to have put you in trouble thinking about this post, i found that there was an error that needed to be debugged, i couldnt see it at first sight. but i fixed it. sorry for the inconvenience.
can any moderator delete this thread for me as it is not going to benefit anyone i think.
Thanks, apprciate.
 
Old 07-11-2013, 02:38 PM   #6
adelabarra
Member
 
Registered: May 2008
Location: Argentina
Distribution: Debian, Slackware
Posts: 49

Rep: Reputation: 3
Quote:
Originally Posted by r0w225 View Post
Can any moderator delete this thread for me as it is not going to benefit anyone i think.
Thanks, apprciate.
No way! We're just intriging on what the heck was the error! It could happen to anyone.
Specially for us newbies...
Could you post your solution?

Regards.

Alejandro.
 
Old 07-11-2013, 02:59 PM   #7
r0w225
Member
 
Registered: Jul 2012
Location: South Africa
Distribution: Ubuntu precise pangolin 12.04LTS
Posts: 48

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by adelabarra View Post
No way! We're just intriging on what the heck was the error! It could happen to anyone.
Specially for us newbies...
Could you post your solution?

Regards.

Alejandro.
Lol , like i say there was a message error related to the routing_table header file. a line that wasnt define in the right scope. but i couldnt spot the error earlier and i focused on the warnings. but cant retrieve the error and post it now as i fixed it before posting my last comment. sorry for that.
but as for the warnings i just have to ignore them as knudfi suggested, the error was elsewhere and i did not post in the first place. so really if anyone is facing lot of warnings, and still the compiler is not generating the object files. there is certainly an error that needs to be worked out :-) thats it .... Thanks y'all for your assistance
 
  


Reply

Tags
c++ compiler, ns-2, warning


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
compiling module error esmn Programming 1 05-26-2012 11:01 AM
.bin file install failed on Ubuntu 10.04LTS but worked on Ubuntu 11.10 wh33t Linux - Software 8 01-18-2012 02:51 PM
[SOLVED] Unable to boot Ubuntu 10.04lts after uninstalling the gnome panel in error. gael33 Linux - Newbie 6 10-17-2010 12:24 PM
Invalid module error after compiling Acronis module cryogenica Linux - General 2 03-17-2008 05:23 PM
Warning compiling module Ojp Programming 7 04-03-2006 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration