> /usr/include/ppc/param.h:98: macro "btodb" requires 2 arguments, but only
> 1 given
> /usr/include/ppc/param.h:100: macro "dbtob" requires 2 arguments, but
> only 1 given
What does that file look like, and what does it contain in lines 98-101?
Mine is:
[10:06] macossex:~ % ls -l /usr/include/ppc/param.h
-r--r--r-- 1 root wheel 4528 Nov 22 2002 /usr/include/ppc/param.h
[10:06] macossex:~ % sed -n '98,101p' /usr/include/ppc/param.h
#define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \
((unsigned)(bytes) >> DEV_BSHIFT)
#define dbtob(db) /* calculates (db * DEV_BSIZE) */ \
((unsigned)(db) << DEV_BSHIFT)
This file (<ppc/param.h>) is the same size/date on both my work Mac
(which has gcc 3.3 installed, from the Apple Developer Tools) and my
home PowerBook (which has the default 3.1ish gcc from 10.2.6), so I
don't think anything changed when gcc 3.3 was added.
Try running
gcc -E -I.. -I.. -I. \
-I../mmangle -I../common \
-g -O2 -traditional-cpp -DHAVE_CONFIG_H -DDARWIN -DUNIX pop_dele.c
and see what you get for the pre-processor output from that param.h file.
(Then, use "gcc_select" to set your gcc back to 3.1 - or even 2.95.2 - via
either "gcc_select 3" or "gcc_select 2", and then run the same "gcc -E"
command and compare the output to what you get with 3.3.)
- Greg