To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3189
3188  |  3190
Subject: 
Re: compile error with pid_t
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 23 Mar 2003 13:03:47 GMT
Viewed: 
2930 times
  
Venkata Tumati wrote:

pid_t pid1,pid2,pid3; <line causing error

and this is the error i am getting
drivers.c:13: parse error before `pid1'
drivers.c:13: warning: type defaults to `int' in declaration of `pid1'

pid_t is no defined type.

Regards,

Michael



Message has 1 Reply:
  Re: compile error with pid_t
 
(...) Somewhere along the way the terminology changed from 'process id' to 'thread id'. So it should work if you change it to tid_t . I ran in to the same problem a while ago when trying to learn how to use threading based on an old example. Rob (22 years ago, 23-Mar-03, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  compile error with pid_t
 
Hi, I am having some compile problems. This is how the beginning of my sample program #include <conio.h> #include <dbutton.h> #include <dmotor.h> #include <dsensor.h> #include <unistd.h> #include <sys/tm.h> #include <rom/system.h> pid_t (...) (22 years ago, 23-Mar-03, to lugnet.robotics.rcx.legos)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR