| View previous topic :: View next topic |
| Author |
Message |
reakt
Joined: 06 May 2005 Posts: 22 Location: Basingstoke, UK
|
Posted: Tue Jul 11, 2006 6:21 am Post subject: Which libs to link for unistd.h? |
|
|
Hi,
I want to use some of the functions in unistd.h.
When I compile my program I get the error messages:
undefined reference to `getegid'
undefined reference to `getgid'
undefined reference to `pipe'
undefined reference to `dup2'
undefined reference to `setegid'
undefined reference to `execv'
These are all functions in unistd.h so I think I am missing the appropriate library. Can anyone please tell me which lib I need to link?
Infact, how do I know which libraries to link in general - is there a list somewhere?
Thanks,
Ric |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Jul 11, 2006 7:21 am Post subject: |
|
|
| They are not implemented; most of them don't make much sense on the PSP anyway. |
|
| Back to top |
|
 |
reakt
Joined: 06 May 2005 Posts: 22 Location: Basingstoke, UK
|
Posted: Tue Jul 11, 2006 7:55 am Post subject: |
|
|
| OK, not to worry - thanks for the quick response jim! |
|
| Back to top |
|
 |
|