Subject: Re: Current-Build stops in libs
To: None <Jan-Uwe.Finck@bigfoot.de>
From: Todd Whitesel <toddpw@best.com>
List: port-arm32
Date: 11/18/1999 02:24:32
>  WARN_REFERENCES(vfork, \
>      "warning: reference to compatibility vfork(); include <unistd.h>
>      for correct reference")

You can probably just re-update your sources, as this was fixed recently.

In the meantime:

Edit src/sys/arch/arm32/include/asm.h and make it look more like i386 or one
of the other arch's. This file eventually becomes /usr/include/machine/asm.h.

Mine look like this (after I got new sources, this wasn't quite what I had
when I edited it by hand):

#ifdef __STDC__
#define WARN_REFERENCES(sym,msg)                                        \
        .stabs msg ## ,30,0,0,0 ;                                       \
        .stabs __STRING(_C_LABEL(sym)) ## ,1,0,0,0
#elifdef __ELF__
#define WARN_REFERENCES(sym,msg)                                        \
        .stabs msg,30,0,0,0 ;                                           \
        .stabs __STRING(sym),1,0,0,0
#else
#define WARN_REFERENCES(sym,msg)                                        \
        .stabs msg,30,0,0,0 ;                                           \
        .stabs __STRING(_/**/sym),1,0,0,0
#endif /* __STDC__ */

I pasted this over, so pretend that most of the whitespace is tabs.

Todd Whitesel
toddpw @ best.com