[ECOS] function not found in extras.o

kross@elands.co.nz kross@elands.co.nz
Wed Mar 30 07:45:00 GMT 2005


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



More information about the Ecos-discuss mailing list