Subject: Re: __LIBC12_SOURCE__
To: Kostas Magoutis <magoutis@eecs.harvard.edu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 03/21/2000 09:59:34
On Mon, Mar 20, 2000 at 06:24:31PM -0500, Kostas Magoutis wrote:
> The following code, call it test.c,
> 
> #include <unistd.h>
> 
> main()
> {
>         int p;
> 
>         p = vfork();
> }
> 
> compiled using gcc -D__ELF__ test.c results in
> 
> Undefined symbol `__vfork14' referenced from text segment
> 
> Compiling without the __ELF__ links okay.

But why are you compiling with -D__ELF__ on a 1.4.x system ?
1.4.x/i386 is a.out only.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--