Re: Moto 0.19.0 beta 1

Jack <[email protected]> 05 Mar 2003 12:22:26 -0700
Newsgroups gmane.comp.lang.moto.devel
Message-ID <[email protected]>
David, 
this is attempting to compile on my Debian linux system:
./configure --with-apache --with-mysql
make
************************************************************
make[1]: Entering directory `/opt/home/jax/moto_0_19_0_eng_a/src/mxc'
bison -d mx.y
mx.y:98.15-24: type redeclaration for IDENTIFIER
make[1]: *** [mx.tab.h] Error 1
make[1]: Leaving directory `/opt/home/jax/moto_0_19_0_eng_a/src/mxc'
make: *** [all] Error 1
*************************************************************
Okay, I removed the redeclaration for IDENTIFIER on line 98.
New Output:
make clean; make
*************************************************************
make[1]: Nothing to be done for `local-all'.
make[1]: Leaving directory `/opt/home/jax/moto_0_19_0_eng_a'
**************************************************************
so it worked just fine on my linux box.


Now for BSD:
should have the same IDENTIFIER problem...

./configure --with-apache --with-mysql=/usr/local
make
*********************************************************************
yep the identifier bug is there, so I'll fix that.  But hey, I see a lot
more warnings come up in the bsd box vs the linux box.  It could also be
because things scroll by faster on my linux box and I dont read all of
it, but it's stuff like this:
motofn.c: In function `moto_run':
motofn.c:274: warning: variable `ppenv' might be clobbered by `longjmp'
or `vfork'
motofn.c:275: warning: variable `result' might be clobbered by `longjmp'
or `vfork'
motofn.c:297: warning: variable `env' might be clobbered by `longjmp' or
`vfork'
motofn.c:299: warning: variable `text' might be clobbered by `longjmp'
or `vfork'



Anyway, after removing the IDENTIFER on line 98 of mx.y:
make clean; make
*************************************************************************
In file included from /root/moto_0_19_0_eng_a/include/enumeration.h:37,
                 from mxcg.h:30,
                 from mxcerr.c:38:
/root/moto_0_19_0_eng_a/include/cdx_function.h:58: syntax error before
`*'
/root/moto_0_19_0_eng_a/include/cdx_function.h:58: warning: type
defaults to `int' in declaration of `int32_t'
/root/moto_0_19_0_eng_a/include/cdx_function.h:58: `int32_t' declared as
function returning a function
/root/moto_0_19_0_eng_a/include/cdx_function.h:59: syntax error before
`*'
/root/moto_0_19_0_eng_a/include/cdx_function.h:59: warning: type
defaults to `int' in declaration of `int64_t'
/root/moto_0_19_0_eng_a/include/cdx_function.h:59: `int64_t' declared as
function returning a function
In file included from /usr/include/sys/types.h:48,
                 from /root/moto_0_19_0_eng_a/include/mman.h:37,
                 from mxcg.h:33,
                 from mxcerr.c:38:
/usr/include/sys/inttypes.h:13: `int32_t' redeclared as different kind
of symbol
/root/moto_0_19_0_eng_a/include/cdx_function.h:58: previous declaration
of `int32_t'
/usr/include/sys/inttypes.h:14: `int64_t' redeclared as different kind
of symbol
/root/moto_0_19_0_eng_a/include/cdx_function.h:59: previous declaration
of `int64_t'
*** Error code 1

Stop in /root/moto_0_19_0_eng_a/src/mxc.
*** Error code 1

Stop in /root/moto_0_19_0_eng_a.

************************************************************************
Im going to have to work on this later as I have a ton of stuff to do.

Anyway, there's my "bug" report.

Jack