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

Sooyoung Sung maximus at cmu.edu
Thu Apr 8 19:53:17 CEST 2004


Hi,
I'm having a problem calling fork() in vlc.c
I couldn't verify that my previous email went through. Here is the
attachment of vlc.c again. Only a few lines of code were added to vlc.c to
call fork().

Thanks.

Sooyoung

> 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>
>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vlc.c
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20040408/e9d3824a/attachment.c>


More information about the vlc-devel mailing list