Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 04-02-2010, 02:34 PM   #1
LQ Newbie
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
error: syntax error before "pid_t" - in unistd.h?

I reposted this thread on the software forum

Last edited by borntofish61; 04-02-2010 at 03:20 PM. Reason: Reposted on software forum
Old 04-02-2010, 03:21 PM   #2
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Originally Posted by borntofish61 View Post
rote.h:121: error: syntax error before "pid_t"
rote.h:121: warning: no semicolon at end of struct or union
I would guess that the word before in that message really does mean before.

I would also guess that the next message is also correct. If so, it is pretty clear.
Old 04-02-2010, 03:27 PM   #3
LQ Newbie
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
pid_t the bad line

I don't have the code in front of me now, but the line above was innoculus. I added some space lines above the pid_t line and the line number of the error moved with it.
Old 04-02-2010, 04:32 PM   #4
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closing the clobbered original in favour of the "sane" dupe.

Closed Thread

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
GCC Error "foward declaration syntax error" nano2 Programming 7 03-26-2008 04:29 AM
Backup Script error "line 31: syntax error: unexpected end of file" eswanepoel General 7 12-07-2007 09:28 AM
FC6 firefox hangs with "expr: syntax error" srn1 Fedora 0 08-16-2007 09:45 PM
Solution: Gentoo - emerge --sync fails with "syntax error" daniel.santos Linux - Software 3 03-13-2007 12:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 AM.

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