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: MicroWindows test fails to build


On Mon, Mar 01, 2004 at 10:28:31AM +0100, Hans Kester wrote:
> When I 
> 1. choose the NET template for an x86 PC
> 2. add the MicroWindows package
> 3. enable CYGBLD_MICROWINDOWS_ECOS_APP
> 4. build the eCos library
> 5. build the tests
> 
> I get the following error messages:
> 
> [snip]
> make[1]: Leaving directory `/ecos-e/cygwin/ecos/workdir/eCos/demo_build/io/pci/current'
> /ecos-e/cygwin/ecos/workdir/eCos/demo_install/lib/libtarget.a(services_gfx_mw_srvmain.o): In function `SVR_GrBell':
> make: Leaving directory `/ecos-e/cygwin/ecos/workdir/eCos/demo_build'
> /ecos-e/cygwin/ecos/ecos/packages/services/gfx/mw/current/src/nanox/srvmain.c:902: undefined reference to `gettimeofday'
> /ecos-e/cygwin/ecos/workdir/eCos/demo_install/lib/libtarget.a(services_gfx_mw_srvfunc.o): In function `SVR_GrSetPortraitMode':
> /ecos-e/cygwin/ecos/ecos/packages/services/gfx/mw/current/src/nanox/srvfunc.c:2945: undefined reference to `strdup'
> /ecos-e/cygwin/ecos/workdir/eCos/demo_install/lib/libtarget.a(services_gfx_mw_devtimer.o): In function `time_to_expiry':
> /ecos-e/cygwin/ecos/ecos/packages/services/gfx/mw/current/src/engine/devtimer.c:211: undefined reference to `gettimeofday'
> /ecos-e/cygwin/ecos/ecos/packages/services/gfx/mw/current/src/engine/devtimer.c:211: undefined reference to `gettimeofday'
> /ecos-e/cygwin/ecos/ecos/packages/services/gfx/mw/current/src/engine/devtimer.c:211: undefined reference to `gettimeofday'
> /ecos-e/cygwin/ecos/ecos/packages/services/gfx/mw/current/src/engine/devtimer.c:211: undefined reference to `gettimeofday'
> collect2: ld returned 1 exit status
> make[1]: *** [/ecos-e/cygwin/ecos/workdir/eCos/demo_install/tests/io/pci/current/tests/pci1] Error 1
> make: *** [tests] Error 2
> 
> Do we have a 'gettimeofday'?

Add the snmp library.

Some day we should clean this up.

     Andrew

-- 
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]