Subject: Re: More problems compiling current - common.c
To: None <bouyer@antioche.lip6.fr, newhouse@totalarchive.com>
From: Paul Newhouse <newhouse@totalarchive.com>
List: current-users
Date: 04/11/2001 06:32:46
>	From bouyer@antioche.eu.org  Wed Apr  4 12:29:39 2001
>	Date: Wed, 4 Apr 2001 19:59:55 +0200
>	From: Manuel Bouyer <bouyer@antioche.lip6.fr>
>	To: Paul Newhouse <newhouse@totalarchive.com>
>	Cc: current-users@netbsd.org
>	Subject: Re: More problems compiling current - common.c
>
>	On Tue, Apr 03, 2001 at 07:52:31AM -0700, Paul Newhouse wrote:
>	> Paul G. clued me in on libc but now I'm stuck trying to compile common.c:
>	> 
>	> cc -O2  -Werror -Wno-error  -DLIBC_SCCS -I/usr/src/lib/csu/i386/../common_aout -nostdinc -idirafter //usr/include -c -DCRT0 -DDYNAMIC /usr/src/lib/csu/i386/crt0.c -o crt0.o
>
>	How does it comes you're trying to compile code from common_aout ?

Because I had:

   OBJECT_FMT=a.out

in my /etc/mk.conf since forever ago!!!   There is a missing include of link_aout.h in
common_aout.  

>	I guess it't -current sources, so i386 should be ELF.

I removed that line and now it does much better.  I suppose I should review the entire
pile of crap that I've collected in /etc/mk.conf over the years.  *8-O

Thanks,
Paul
-----
Now if I can just figure out what's wrong with my mail!!