Justin Walker on Tue, 11 Mar 2003 16:36:41 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: 2 recent changes - Mac OS X check



On Tuesday, Mar 11, 2003, at 16:25 US/Pacific, Justin Walker wrote:


On Tuesday, Mar 11, 2003, at 15:56 US/Pacific, Karim BELABAS wrote:

On Tue, 11 Mar 2003, Justin Walker wrote:
[snip]
Thanks for the pointer.  Two problems: both has_getrlimit.c and
has_opendir.c need <sys/types.h>; and has_getrlimit.c also needs
<sys/time.h>.  I don't know why this works on other platforms of
similar heritage.

Done.

Got it; thanks. I think that src/language/init.c will need <sys/time.h> preceding the #include of resource.h as well. It blew on a test build prior to my upgrading, and nothing changed there, so I made that change (and it compiled just fine).

But then, there's this

:/usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -fomit-frame-pointer -DBOTH_GNUPLOT_AND_X11 -I. -I../src/headers -I../src/systems/darwin -o sumiter.o ../src/language/sumiter.c make[1]: *** No rule to make target `../src/systems/darwin.c', needed by `darwin.o'. Stop.
make: *** [gp] Error 2

Not quite sure what to do about this.  Missing '/darwin/'?

That did it!

With changes to init.c and the Makefile in Odarwin-powerpc (adding '/darwin/'; not sure where the real fix goes), the build went to completion (the -W... thing is gone), and the 'bench' build gives:

Making bench in Odarwin-powerpc
* Testing objets        for gp-sta..TIME=20
* Testing analyz        for gp-sta..TIME=290
* Testing number        for gp-sta..TIME=190
* Testing polyser       for gp-sta..TIME=100
* Testing linear        for gp-sta..TIME=110
* Testing elliptic      for gp-sta..TIME=190
* Testing sumiter       for gp-sta..TIME=410
* Testing graph         for gp-sta..TIME=110
* Testing program       for gp-sta..TIME=180
* Testing trans         for gp-sta..TIME=610
* Testing nfields       for gp-sta..TIME=1860
+++ Total bench for gp-sta is 2582

No BUG in program!  Cool.

Thanks for the extra effort.

Now, if we could just build dynamic :-}

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention
*--------------------------------------*-------------------------------*