Hi,

I'm getting in trouble with compiling Mozart 1.4.0.
I'm running debian sid for amd64. As I've read that it were impossible
to compile mozart on pure amd64 systems, I've made a 32 bits chroot in
which I tried :


[-*-] first : to install official debian packages
(mozart_1.3.2.20060615+dfsg-4 and mozart-stdlib_20060615-4)
I get this :
# ozc
/usr/bin/ozengine: line 84:
/usr/lib/mozart/platform/unknown-unknown/emulator.exe: No such file or
directory
/usr/bin/ozengine: line 84: exec:
/usr/lib/mozart/platform/unknown-unknown/emulator.exe: cannot execute:
No such file or directory
Then I try :
/usr/lib/mozart/platform# ln -s linux-i486/ unknown-unknown
Which drives me to :

# ozc /home/dev/bouh.oz
Mozart Compiler 1.3.2 (20080427) playing Oz 3

%%% feeding file /home/dev/bouh.oz

%********************* binding analysis error *******************
%**
%** variable Browse not introduced
%**
%** in file "/home/dev/bouh.oz", line 3, column 1
%** ------------------ rejected (1 error)

The line 3 : {Browse 1}
Am I missing something ?


[-*-] to compile from sources at the debian sauce (apt-get source -b
mozart mozart-stdlib)
Exactly the same as with precompiled packages.

Note that I've had to install packages to compile successfully, and so
i'm ready to compile manually...

[-*-] to compile manually from svn version (1.4.0)

Note that complete logs are attached.

I've run the configure script with debian's linux32 binary :
$ linux32 ./configure

The configure phase is running rather well (config.status is attached
too, please make me know if it's not relevant, since i'm not an expert
at all with all that stuff).
But then :

$ make bootstrap
[...]
make[2]: Entering directory `/var/mozart/mozart/platform/emulator'
c++ -Wl,--export-dynamic   -o emulator.exe stack.o ozostream.o
hashtbl.o iso-ctype.o refsarray.o tagged.o value.o atoms.o
dictionary.o extension.o bitarray.o word.o ozthread.o heapchunk.o
bytedata.o bits.o susplist.o var_base.o var_ext.o var_simple.o
var_readonly.o var_failed.o var_opt.o namer.o weakdict.o siteprop.o
os.o unix.o urlc.o ioHandler.o am.o unify.o indexing.o codearea.o
trail.o emulate.o scheduler.o copycode.o opcodes.o controlvar.o
prop_int.o prop_class.o thr_stack.o thr_class.o thr_pool.o
susp_queue.o thr_int.o suspendable.o g-collect.o cmem.o mem.o
liveness.o board.o distributor.o cpi.o cpi_fd.o cpi_prop.o
cpi_filter.o cpi_fs.o cpi_expect.o cpi_misc.o cpi_stream.o
cpi_profile.o cpi_ct.o var_ct.o fdomn.o var_fd.o var_bool.o fset.o
var_fs.o var_of.o gname.o site.o gentraverser.o marshalerBase.o
pickleBase.o marshalerPatch.o marshalerDict.o pickle.o components.o
componentBuffer.o byteBuffer.o main.o version.o statisti.o print.o
base.o ozconfig.o foreign.o dpInterface.o boot-manager.o builtins.o
vprops.o debug.o interFault.o system.o alice.o -L.  -lz -lgmp -ldl -lm
-lnsl
os.o: In function `ostmpnam(char*)':
os.cc:(.text+0xc37): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
boot-manager.o: In function `mod_int_Browser':
boot-manager.cc:(.text+0xc36): undefined reference to `browser_init()'
[...A lot of undefined references...]
collect2: ld returned 1 exit status
make[2]: *** [emulator.exe] Error 1
make[2]: Leaving directory `/var/mozart/mozart/platform/emulator'
make[1]: *** [bootstrap] Error 1
make[1]: Leaving directory `/var/mozart/mozart/platform'
make: *** [bootstrap] Error 1

It seems the error is lib related... but i've no idea on how to resolve it.
Can someone provide me some help ?

Thanks in advance !

-- 
Nicolas MaƮtre

Attachment: config.status
Description: Binary data

Attachment: mozartcompile.log
Description: Binary data

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to