[vlc-devel] Re: can't call fork() in vlc.c

Jean-Paul Saman saman at natlab.research.philips.com
Tue Apr 6 10:40:25 CEST 2004


Sooyoung Sung wrote:
> I tried calling fork() inside main() in vlc.c, but the compiler keeps
> complaining "undefined reference to '_fork'.
> 

Please send the code which you are trying (only vlc.c) then someone 
could probably figure out what you are doing wrong.

> I included <unistd.h> and <sys/types.h>.
> Call to 'execvp()' works fine, which puzzles me more. Any idea?


-- 
Kind greetings,

Jean-Paul Saman



-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list