This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: function not found in extras.o


On Tue Mar 29 21:15 , Bart Veer <bartv@ecoscentric.com> sent:
...extern "C" (or by using the eCos externC macro), so the
>compiler will assume that function has C++ linkage. Presumably the
>implementation of the function is in C code so has C linkage.
>
>Either use arm-elf-gcc to compile main.c, or prototype the modem
>function with externC, or preferably both.
>
>Bart

Thanks Bart.

Right on the money.

Keith

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]