My original answer was that Windows CE doesn't provide the API that I find in a Linux version of ltdl.h . The same remark applies to pthreads : CE doesn't implement this.
None of your more recent findings change that. You'll need to adapt the sources so they don't use these APIs, or start using an equivalent (a dlopen port and a pthreads port for CE). Danny On Wed, 2009-02-04 at 17:44 +0800, 杨永志 wrote: > After a few days of working and thinking, I guess that the missing of > libtool (ltdl.h) and pthread (in later steps of the configure) causes > the errors. > > Furthermore, I guess both the libtool and the pthread have been built > in cegcc. But i can not find them :( > > >>>When I check the config.log, I find the following failed command lines: > > arm-cegcc-gcc -o conftest.exe -g -O2 -I/opt/cegcc/arm-cegcc/include > -L/opt/cegcc/arm-cegcc/lib conftest.c -lpthread > > arm-cegcc-gcc -o conftest.exe -g -O2 -I/opt/cegcc/arm-cegcc/include > -L/opt/cegcc/arm-cegcc/lib conftest.c -ldl > > In the file conftest.c, the main function calls functions pthread_self > (provided by libpthread and introduced by the instruction -lpthread) > and dl_open (provided by libdl and introduced by the instruction > -ldl). > > >>>When I build the libtool and configure with the following options > CPPFLAGS=-I/opt/libtool/include LDFLAGS=-L/opt/libtool/lib, > the ltdl.h and the lib can be found. (I think it will cause a runtime > error when functions in the lib dl are invoked to load DLL files) > > But the configure complains that there's no pthread in later steps. > > I guess cegcc has built both the dl lib and pthread libraries, since > both ltdl.h and pthread.h can be found in its source directories. But > the generated libraries are entitled other file names than the libdl.a > and libpthread.a. > > >>>My question is where has the cegcc hidden those core functions (pthread, > >>>dll and so on)? > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cegcc-devel mailing list > Cegcc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cegcc-devel > -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel