473,320 Members | 2,054 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,320 software developers and data experts.

/usr/include/bits/waitstatus.h:78: error: declaration of `unsigned int

Hi guys,
I am getting the following errors while compiling my program.
Since I have never encountered these errors before, I have no idea what
is making them pop up. Any help would be great. Thanks.
In file included from /usr/include/stdlib.h:43,
from /usr/include/c++/3.3/cstdlib:52,
from /usr/include/c++/3.3/bits/stl_algobase.h:67,
from /usr/include/c++/3.3/algorithm:66,
from webcat_rabin.cc:1:
/usr/include/bits/waitstatus.h:78: error: declaration of `unsigned int
wait::<anonymous struct>::__w_retcode'
/usr/include/bits/waitstatus.h:73: error: conflicts with previous
declaration `
unsigned int wait::<anonymous struct>::__w_retcode'
/usr/include/bits/waitstatus.h:79: error: declaration of `unsigned int
wait::<anonymous struct>::__w_coredump'

Jan 12 '07 #1
1 4811
novice wrote:
[snips]
/usr/include/bits/waitstatus.h:73: error: conflicts with previous
declaration `
Maybe if you highlight the important part. The compiler thinks
you've declared the same symbol twice, and in two different ways.
In order to fix this, you need to remove one declaration. Or, and
I'm not sure about this part, especially since you posted no code,
you might fix it by making both declarations identical.

By the way, it wouldn't hurt to read the FAQ. Find it in the "read
this first" post that gets posted regularly here.
Socks

Jan 12 '07 #2

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

Similar topics

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...
14
by: Ben | last post by:
Hi, I need to write some data types into an array of unsigned chars. These are basically "signals" within a message, so each signal will have a start bit and a length. The signals will also...
60
by: Derrick Coetzee | last post by:
It seems like, in every C source file I've ever seen, there has been a very definite include order, as follows: - include system headers - include application headers - include the header...
9
by: zolli | last post by:
Hi, I've been banging my head against this for a while now. Hoping someone here can shed some light on what's going on. On including stdlib.h in a file, I'm seeing the following errors: ...
29
by: John Devereux | last post by:
Hi, What is the best way to ensure an integer is a multiple of a given power of 2? How about int size; ...
2
by: Viktor | last post by:
Hi everybody, Perhaps this question is obvious, but I spent whole day trying to make it work to no avail. Here is the scenario: I am using VC++ .Net, Forms. I created a simple Form project,...
40
by: Allan M. Bruce | last post by:
I am applying for my first jobs after completing my PhD. I have been asked by a company to go and take a C programming test to see how my C skills are. Apparantly this test is mostly finding...
6
by: Jordi | last post by:
I'm having a problem which I think has to do with the circular use of inlcuding header files. The short version of my code would look a bit like this, I think: GameEngine.h: #ifndef GAME_ENGINE...
1
by: Zbigniew | last post by:
Hi, Compiler: GCC 3.3.5 OS: SuSE Linux (Kernel: 2.6.11) I reorganized my source code and now almost all my header files went to "Include" folder. Now when compiling with -I option I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.