You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2003/03/06 00:27:52 UTC

One more OS/X make bogosity

Does this look familiar to any OS/X or other Unix folk?
It seems to happen after the build is successful.

Is it bad?  Neutral?  If not bad, can we quiet it?

Bill

~/apr-cvs/apr/.libs
Found newer headers. Will rebuild apr.exp.
rm -f apr.exp exports.c export_vars.h
awk -f /Users/wrowe/apr-cvs/apr/build/make_var_export.awk /Users/wrowe/apr-cvs/apr/include/*.h > export_vars.h
awk -f /Users/wrowe/apr-cvs/apr/build/make_exports.awk /Users/wrowe/apr-cvs/apr/include/*.h > exports.c
cc -E -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp   -I./include -I../include  exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp
cc -E -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp   -I./include -I../include  export_vars.h | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
export_vars.h:1: undefined type, found `apr_month_snames'
export_vars.h:2: illegal external declaration, missing `;' after `apr_day_snames'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode


Re: One more OS/X make bogosity

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Wednesday, March 5, 2003 5:27 PM -0600 "William A. Rowe, Jr." 
<wr...@rowe-clan.net> wrote:

> Does this look familiar to any OS/X or other Unix folk?
> It seems to happen after the build is successful.
>
> Is it bad?  Neutral?  If not bad, can we quiet it?

% cat export_vars.h
apr_month_snames
apr_day_snames

I have a very strong suspicion that this isn't a valid C header, but that most 
compilers somehow cope.  I have a thought that this should be extern <type> 
<var>;.  But, I've never really groked export_vars.h.  -- justin

Re: One more OS/X make bogosity

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Fred, thanks for all your answers... I later realized that we recovered
after attempting that step without the build dying.  Although it's somewhat
loud and disconcerting, I think we are OK with things as-is.

A patch or pointer to a patch would be useful.

Bill

At 11:44 AM 3/20/2003, Wilfredo Sánchez wrote:
>  Hrm. -no-cpp-precomp kinda should turn off cpp-precomp, so the fact that it's trying anyway is a toolchain bug.
>
>    -wsv
>
>
>On Wednesday, March 5, 2003, at 03:27 PM, William A. Rowe, Jr. wrote:
>
>>Does this look familiar to any OS/X or other Unix folk?
>>It seems to happen after the build is successful.
>>
>>Is it bad?  Neutral?  If not bad, can we quiet it?
>>
>>Bill
>>
>>~/apr-cvs/apr/.libs
>>Found newer headers. Will rebuild apr.exp.
>>rm -f apr.exp exports.c export_vars.h
>>awk -f /Users/wrowe/apr-cvs/apr/build/make_var_export.awk /Users/wrowe/apr-cvs/apr/include/*.h > export_vars.h
>>awk -f /Users/wrowe/apr-cvs/apr/build/make_exports.awk /Users/wrowe/apr-cvs/apr/include/*.h > exports.c
>>cc -E -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp   -I./include -I../include  exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp
>>cc -E -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp   -I./include -I../include  export_vars.h | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
>>export_vars.h:1: undefined type, found `apr_month_snames'
>>export_vars.h:2: illegal external declaration, missing `;' after `apr_day_snames'
>>cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
>



Re: One more OS/X make bogosity

Posted by Wilfredo Sánchez <ws...@apple.com>.
   Hrm. -no-cpp-precomp kinda should turn off cpp-precomp, so the fact 
that it's trying anyway is a toolchain bug.

     -wsv


On Wednesday, March 5, 2003, at 03:27 PM, William A. Rowe, Jr. wrote:

> Does this look familiar to any OS/X or other Unix folk?
> It seems to happen after the build is successful.
>
> Is it bad?  Neutral?  If not bad, can we quiet it?
>
> Bill
>
> ~/apr-cvs/apr/.libs
> Found newer headers. Will rebuild apr.exp.
> rm -f apr.exp exports.c export_vars.h
> awk -f /Users/wrowe/apr-cvs/apr/build/make_var_export.awk 
> /Users/wrowe/apr-cvs/apr/include/*.h > export_vars.h
> awk -f /Users/wrowe/apr-cvs/apr/build/make_exports.awk 
> /Users/wrowe/apr-cvs/apr/include/*.h > exports.c
> cc -E -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK 
> -no-cpp-precomp   -I./include -I../include  exports.c | grep 
> "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp
> cc -E -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK 
> -no-cpp-precomp   -I./include -I../include  export_vars.h | sed -e 
> 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
> export_vars.h:1: undefined type, found `apr_month_snames'
> export_vars.h:2: illegal external declaration, missing `;' after 
> `apr_day_snames'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode