[mercury-users] compilation problem, all, some

Maurizio Colucci seguso.forever at tin.it
Sat Jul 17 11:42:55 AEST 2004


On Friday 16 July 2004 08:49, David Overton wrote:
> > mau at dhcppc0:/dat/pub/src/by-mau/tests/mercury>  mmc --cflags
> > "-fno-strict-aliasing" main.m
> >
> > main_init.o(.text+0x179): In function `mercury_init':
> > : undefined reference to `<predicate 'main'/2 mode 0>'
> >
> > collect2: ld returned 1 exit status
>
> It looks like your your version of GCC accepted that option.  You still
> have another problem though. I don't know what's causing the link error.
> Perhaps try removing all the compiler-generated files (including
> main_init.c and main_init.o) and try recompiling.

Removing the files doesn't help.
Oh well, running hello world in mercury could be easier :-)

Thanks!
Mau

--------------------------------------------------------------------------
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