[mercury-users] my problems with parsing.mkEncoding
Tudor Holton
taholt at csse.unimelb.edu.au
Fri Nov 11 10:06:45 AEDT 2005
Uni
===
The output I did get was the following (from a previous email, please
read on):
%%%%%%%%%
ml --make-shared-lib --grade asm_fast.gc -static
-R/home/pgrad/taholt/mercury/extras/lib/mercury/lib/asm_fast.gc
-R/home/pgrad/taholt/mercury/extras/lib/mercury/lib
-L/home/pgrad/taholt/mercury/extras/lib/mercury/lib/asm_fast.gc
-L/home/pgrad/taholt/mercury/extras/lib/mercury/lib
--init-file-directory
/home/pgrad/taholt/mercury/extras/lib/mercury/modules -- -o
libxml_easy.so \ xml_easy.pic_o \
-lxml
ld: warning: option -d appears more than once, first setting taken
ld: fatal: option -dn and -G are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
gmake: *** [libxml_easy.so] Error 1
%%%%%%%%%%
HOWEVER:
This morning, mmake seems not to be responding at all on lister. mmake
realclean, mmake depends, mmake, and mmake install all output nothing
and do nothing. Have tried on murang and mungee also.
Admittedly, I am sshing in from a OSX 10.4 machine, so it could be a
terminal issue, but I have tried on both OS X Terminal and X11 Terminal.
Which machine do you recommend?
Laptop
=====
Additionally, I'm trying to recompile mercury on my laptop. Mercury is
compiled and installed, however, when I go to the xml directory and type
"mmake depend" it gives me the error:
/usr/local/mercury-0.12.0-beta-2005-04-12/lib/mercury/bin/i586-pc-linux-gnu/mercury_compile:
relocation error:
/usr/local/mercury-0.12.0-beta-2005-04-12/lib/mercury/bin/i586-pc-linux-gnu/mercury-compile:
symbol __libc_stack_end, version GLIBC_PRIVATE not defined in file
ls-linux.so.2 with link reference
make: *** tryit.depend] Error 127
Why is it running 0.12.0-beta-2005-04-12 when I ran sh INSTALL and it
was successful on snapshot 2005-10-08 last night?
Do I need to uninstall 0.12.0 first? According to apt, I don't have any
mercury debian packages installed.
I'm running an up-to-the-minute insall of Debian unstable.
It's strange that I have directories in /usr/local called:
mercury-0.12.0
mercury-0.12.0-beta-2005-04-12
mercury-rotd-2005-11-04
mercury-rotd-2005-11-07
mercury-rotd-2005-11-08
Do rotd releases not override links to stable releases?
Cheers,
Tudor.
Julien Fischer wrote:
>On Wed, 9 Nov 2005, Tudor Holton wrote:
>
>
>
>>Hmmm, sorry. I don't understand the differentiation.
>>
>>
>>
>I meant that MLFLAGS=-static should only be in the Mmakefile
>for your program, not in the one for the XML parser.
>
>
>
>>I compiled the XML library separately first, then used the following
>>makefile to link against it.
>>
>>%%%%%%%%%%%%%
>>include .location_config %% That basically says EXTRA_LIB_DIRS =
>>/home/pgrad/taholt/mercury/extras/lib/mercury
>>EXTRA_LIBRARIES = xml
>>
>>#MLFLAGS = --trace
>>MLFLAGS = -static
>>FLAGS = -E
>>GRADE = asm_fast.gc
>>
>>.PHONY: default_target
>>default_target: verify libxml_easy libstyle_lexer
>>
>>.PHONY: tests
>>tests: tests libstyle_lexer
>>
>>.PHONY: depend
>>depend: verify.depend tests.depend xml_easy.depend style_lexer.depend
>>
>>.PHONY: check
>>check:
>> true
>>%%%%%%%%%%%%%
>>
>>Do I have to tell mmake to run mmc in the same way I tell make to run gcc?
>>
>>
>>
>No.
>
>What is the output that results from the above?
>
>
>
>>How do I find out what Solaris is running? uname -a reveals:
>>SunOS lister 5.9 Generic_118559-09 i86pc i386 i86pc
>>
>>Which looks like 5.9 not 8.0?
>>
>>
>>
>
>Solaris 8 == SunOS 5.8
>Solaris 9 == SunOS 5.9
>Solaris 10 == SunOS 5.10
>
>I've now installed a Mercury compiler configured for Solaris 9 in
>/home/mercury/public/mercury-latest/i386-pc-solaris2.9/bin so maybe that
>will work better on lister?
>
>Cheers,
>Julien.
>--------------------------------------------------------------------------
>mercury-users mailing list
>post: mercury-users at cs.mu.oz.au
>administrative address: owner-mercury-users at cs.mu.oz.au
>unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
>subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
>--------------------------------------------------------------------------
>
>
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list