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]

eCOS configuration



I have done a test configuration for the ecos kernel using:

 # ecosconfig new assabet kernel
 # make tree
 # make tests

The compile generated no errors and produced the directories include, lib
and tests under install.  I have also created the libsupc++.a file under the
install/lib directory
I tried to compile/link   the hello.c application program but there was an
error:

/tmp/ccK0iSUx.o: in function main
hello.c:5:  undefined reference to printf

I tried to look for the ccKiSUx.o but I can't find it.

Here is the hello.c program:

#include <stdio.h>

int main()
{
	printf("hello");
	return 0;
}



Please help.  Thank you very much.


Mildred
[Mildred Frisco]


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


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