473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Help with error message

I am getting the following error message while compiling.
Can someone tell me the root cause of this message and how to fix it.
TIA !

LINUX/ntfTestCases2.o(.bss+0xe8):/usr/lib/gcc/i386-redhat-linux/
3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2459:
multiple definition of `saNtfSample'
Sep 29 '08 #1
3 1384
ab*********@gmail.com wrote:
I am getting the following error message while compiling.
multiple definition of `saNtfSample'
Can someone tell me the root cause of this message
You have defined something called saNtfSample more than once.
and how to fix it.
Remove one of the definitions of saNtfSample.

Without seeing your code, we can't give you a more accurate answer
reliably, but one of the more common causes are that you have put a
definition, not a declaration, of an object (more rarely of a function)
in a header. If you then include that header twice, the object is
defined twice. The solution in that case is to put a declaration in the
header, and the definition in one of the source files.

Richard
Sep 29 '08 #2
On Sep 29, 4:53*pm, abhishek...@gmail.com wrote:
I am getting the following error message while compiling.
Can someone tell me the root cause of this message and how to fix it.
TIA !

LINUX/ntfTestCases2.o(.bss+0xe8):/usr/lib/gcc/i386-redhat-linux/
3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2459:
multiple definition of `saNtfSample'
As the error says compiler is coming across multiple defintions of
'saNtfSample'. You need to have a single defintion for any function/
varibale in your compilation unit. Get rid of the places where
'saNtfSample' has been defined multiple time.

cheers
-Vallabha
=============
S7 Software Solutions Pvt. Ltd
Sep 29 '08 #3
ab*********@gmail.com writes:
I am getting the following error message while compiling.
Can someone tell me the root cause of this message and how to fix it.
TIA !

LINUX/ntfTestCases2.o(.bss+0xe8):/usr/lib/gcc/i386-redhat-linux/
3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2459:
^^^ ^^^
I think you might get better answers in comp.lang.c++

--
Ben.
Sep 29 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334,...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
2
by: Amanda | last post by:
From a guy in Microsoft newsgroups: | In *comp.databases.ibm-db2* there are always IBM guys | from the Toronto labs on line.Post with the | -for the love of god please help- | line...
7
by: tyler_durden | last post by:
thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that...
5
by: Marc Violette | last post by:
<Reply-To: veejunk@sympatico.ca> Hello, I'm hoping someone can help me out here... I'm a beginner ASP.NET developper, and am trying to follow a series of exercises in the book entitled...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
11
by: tracy | last post by:
Hi, I really need help. I run this script and error message appeal as below: drop trigger log_errors_trig; drop trigger log_errors_trig ERROR at line 1: ORA04080: trigger 'LOG_ERRORS-TRIG'...
12
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.