Subject: Re: compiling config
To: None <jchacon@genuity.net>
From: Joao Pedras <jpedras@webvolution.net>
List: port-macppc
Date: 05/21/2001 18:42:07
Hi again

Thank you for your reply James.

What do you exactly mean by that ?

I solved it after reading /usr/src/UPDATING (yes, kick me!) :

Symptom:usr.sbin/config fails to build.
Fix:    Try building with -DMAKE_BOOTSTRAP added to CFLAGS in Makefile.

Joao

--On Monday, May 21, 2001 12:24:33 -0400 jchacon@genuity.net wrote:

> Make sure and install new headers first (via make includes from the top
> level)
>
> James
>
>>
>> Hello all
>>
>> I recently installed the macppc port on a G4/350/AGP.
>>
>> I updated the sources to -current.
>>
>> When I try to compile 'config' I get the following :
>>
>> cc -O  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>> -Wno-uninitialized -Werror   -I/usr/src/usr.sbin/config -I. -c hash.c
>> cc -O  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>> -Wno-uninitialized -Werror   -I/usr/src/usr.sbin/config -I. -c main.c
>> cc1: warnings being treated as errors
>> main.c: In function `main':
>> main.c:112: warning: implicit declaration of function `setprogname'
>> *** Error code 1
>>
>> Stop.
>>
>> What I am doing wrong ?
>>
>> Tkx
>>
>> Joao
>>
>>
>>
>>
>