archimedes-discuss
[Top][All Lists]
Advanced

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

Bugs in Compiling Archimedes


From: ????
Subject: Bugs in Compiling Archimedes
Date: Tue, 15 Sep 2020 10:42:22 +0800

Hi,

        I want to learn to use Archimedes. But when compiling Archimedes(2.0.1) both in Debian10 and in Windows10, I got the same error as follows.

D:\archimedes\src> gcc -lm archimedes.c -o archimedes
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xa422): undefined reference to `rnd'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xa585): undefined reference to `rnd'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xa7c3): undefined reference to `rnd'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xa857): undefined reference to `rnd'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xa884): undefined reference to `rnd'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xa902): more undefined references to `rnd' follow
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xeca5): undefined reference to `creation'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xee54): undefined reference to `creation'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xf003): undefined reference to `creation'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0xf1b2): undefined reference to `creation'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0x12e8b): undefined reference to `MM2'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0x12edc): undefined reference to `MM2'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0x13251): undefined reference to `MM2'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0x132a2): undefined reference to `MM2'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0x155df): undefined reference to `MM2'
d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\Ph-Work\AppData\Local\Temp\cc9gF730.o:archimedes.c:(.text+0x15630): more undefined references to `MM2' follow
collect2.exe: error: ld returned 1 exit status

        I tried to search in the internet but found no solution. Could you help?

        Regards!

Phoenix

reply via email to

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