gm2
[Top][All Lists]
Advanced

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

linking - the second :-)


From: Michael Riedl
Subject: linking - the second :-)
Date: Sat, 6 May 2023 12:49:00 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Gaius,

after having compiled my libraries I come to the next (hopefully small) issue:

Within the libraries (e.g. libm2iso) objects have a prefix "m2iso_"

>nm libm2iso.so | grep SWholeIO_WriteCard
00024220 T m2iso_SWholeIO_WriteCard

and the linker now states

SizesReal.mod:(.text+0xb1): Warning:undefined reference to »SWholeIO_WriteCard«

I found out that I need to compile the main module with "-fscaffold-main" to get rid

of the error having no "main" - but here I am a bit lost at the moment.

Gruß

Michael


reply via email to

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