LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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


Closed Thread
  Search this Thread
Old 04-02-2010, 03:34 PM   #1
borntofish61
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 04:20 PM. Reason: Reposted on software forum
 
Old 04-02-2010, 04:21 PM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190
Quote:
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, 04:27 PM   #3
borntofish61
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, 05:32 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.

http://www.linuxquestions.org/questi...-pid_t-799648/
 
  


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 05:29 AM
Backup Script error "line 31: syntax error: unexpected end of file" eswanepoel General 7 12-07-2007 10:28 AM
FC6 firefox hangs with "expr: syntax error" srn1 Fedora 0 08-16-2007 10:45 PM
Solution: Gentoo - emerge --sync fails with "syntax error" daniel.santos Linux - Software 3 03-13-2007 01:56 AM

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

All times are GMT -5. The time now is 01:35 PM.

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