gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Further info for the gm2 library issue


From: Gaius Mulley
Subject: Re: [Gm2] Further info for the gm2 library issue
Date: Tue, 25 Oct 2011 12:03:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Steve Giess <address@hidden> writes:

> Dear Gaius,
>
> I built the latest CVS on my Fedora Linux 64 bit system today and ran the
> various tests that you suggested. They all failed and I've attached the screen
> output for your thoughts. It seems that both the 32 and 64 bit versions have
> problems, esp with RTExceptions which gave me a run time error when I tried a
> different programme on my 64 bit system.
>
> Regards,
>
> Steve

Hi Steve,

I think you need to link with
 
gm2 -flibs=pim-coroutines,pim,logitech and also -lpth.  You will have
had to install the pthread library on fedora core as well,

regards,
Gaius

> address@hidden new_conbug]$ gm2 -fiso -flibs=iso -g conbug-iso.mod -lm
> failed to find definition module RTExceptions.def
> address@hidden new_conbug]$ gm2 -fiso -flibs=iso,pim -g conbug-iso.mod -lm
> /tmp/ccKjQS02.a(ccXFaVtTstart.o): In function `init':
> /home/fred/Desktop/new_conbug/conbug-iso_m2.cpp:260: undefined reference to 
> `_M2_ServerSocket_init'
> /tmp/ccKjQS02.a(ccXFaVtTstart.o): In function `finish':
> /home/fred/Desktop/new_conbug/conbug-iso_m2.cpp:302: undefined reference to 
> `_M2_ServerSocket_finish'
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(COROUTINES.o):
>  In function `COROUTINES_NEWCOROUTINE':
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:99:
>  undefined reference t> o `pth_uctx_create'
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:103:
>  undefined reference > to `pth_uctx_make'
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(COROUTINES.o):
>  In function `COROUTINES_TRANSFER':
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:145:
>  undefined reference > to `pth_uctx_switch'
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(COROUTINES.o):
>  In function `localMain':
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:164:
>  undefined reference > to `pth_uctx_create'
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(COROUTINES.o):
>  In function `localInit':
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:203:
>  undefined reference to `pth_init'
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:209:
>  undefined reference to `pth_uctx_create'
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/COROUTINES.mod:214:
>  undefined reference to `pth_uctx_make'
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/pim/libgm2.a(RTint.o):
>  In function `RTint_Listen':
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs/RTint.mod:615:
>  undefined reference to `pth_select'
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs/RTint.mod:619:
>  undefined reference to `pth_select'
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs/RTint.mod:624:
>  undefined reference to `pth_select'
> /home/fred/GNU_Modula-2/build-4.1.2/gcc/../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs/RTint.mod:629:
>  undefined reference to `pth_select'
> collect2: ld returned 1 exit status
> address@hidden new_conbug]$ gm2 -flibs=pim,logitech,iso -g conbug-iso.mod -lm 
> -lpth
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/ComplexMath.def:15:3:
>  error: the only functions permissible in a constant expression are: CAP, 
> CHR, FLOAT, HIGH, MAX, MIN, ODD, ORD, SIZE, TSIZE, TRUNC, VAL and gcc builtins
> address@hidden new_conbug]$ gm2 -flibs=pim,iso,logitech -g conbug-iso.mod -lm 
> -lpth
> /home/fred/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/ComplexMath.def:15:3:
>  error: the only functions permissible in a constant expression are: CAP, 
> CHR, FLOAT, HIGH, MAX, MIN, ODD, ORD, SIZE, TSIZE, TRUNC, VAL and gcc builtins



reply via email to

[Prev in Thread] Current Thread [Next in Thread]