Fwd: Report: Building Mozart on MacOS X, contd
Marc-Antoine Parent
maparent at acm.org
Fri May 11 01:05:43 CEST 2001
Denys: Sorry for potential double posting. I tried to mail this from my
work, and the mailer reported a transient mail problem. So I re-mail
this from home.
Good! With your last patch, configure now succeeds without failure.
And, even better, emulator.exe builds successfully!
Hooray!
My next problem was with linking tk.exe in platform/wish, it complains
that it cannot find the X11 symbols.
The command line that failed was
c++ -o tk.exe unixMain.o -L/usr/local/lib -ltcl82 -L/usr/X11R6/lib -lX11
-L/usr/local/lib -ltk8.2
but it succeeds as
c++ -o tk.exe unixMain.o -L/usr/local/lib -ltcl82 -ltk8.2
-L/usr/X11R6/lib -lX11
Silly link order dependency!
I then go on happily with the make, until I stumble on the following:
OZTOOL="/bin/sh
/Users/maparent/Programmation/mozart/current/mozart/platform/emulator/oztool.
sh" \
OZTOOL_INCLUDES="-I/Users/maparent/Programmation/mozart/current/mozart/platform/
emulator
-I/Users/maparent/Programmation/mozart/current/mozart/platform/emulator
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump"
dirs="gump"; \
for i in $dirs; do \
if (cd $i && make all); \
then true; \
else exit 1; \
fi; \
done
dirs="ozflex ozbison"; \
for i in $dirs; do \
if (cd $i && make all); \
then true; \
else exit 1; \
fi; \
done
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O dfa.c -o dfa.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O ecs.c -o ecs.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O gen.c -o gen.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O main.c -o main.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O misc.c -o misc.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O nfa.c -o nfa.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O parse.c -o parse.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O scan.c -o scan.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O skel.c -o skel.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O ssort.c -o ssort.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O sym.c -o sym.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O tblcmp.c -o tblcmp.o
cc -c -I.
-I/Users/maparent/Programmation/mozart/current/mozart/platform/tools/gump/
ozflex -O yylex.c -o yylex.o
cc -O -o flex ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o
scan.o skel.o ssort.o sym.o tblcmp.o yylex.o
strip flex
/bin/sh
/Users/maparent/Programmation/mozart/current/mozart/platform/emulator/oztool.
sh cc
-I/Users/maparent/Programmation/mozart/current/mozart/platform/emulator
-c LR0.c -o LR0.o
LR0.c: In function `allocate_itemsets':
LR0.c:122: internal error--unrecognizable insn:
(insn 17 16 19 (set (reg:SI 120)
(symbol_ref:SI ("nsyms"))) -1 (nil)
(expr_list:REG_EQUAL (symbol_ref:SI ("nsyms"))
(nil)))
make[5]: *** [LR0.o] Error 1
make[4]: *** [subdirs] Error 1
make[3]: *** [all] Error 1
make[2]: *** [cboot-all] Error 2
make[1]: *** [bootstrap] Error 1
(I have reported this before, this is where I fail in the version 1.2 as
well.)
So here we are. Undeniable progress, I must say.
-
Please send submissions to hackers at mozart-oz.org
and administriva mail to hackers-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
More information about the mozart-hackers
mailing list