This is the mail archive of the ecos-discuss@sourceware.org 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: Building Microwindows


On Tue, Apr 04, 2006 at 01:20:40PM +0200, llandre wrote:
> Hi all,
> 
> I am porting eCos with microwindows support to custom hardware (ARM920).
> I'm experiencing some problems. In particular I enabled the Microwindows 
> package in the configtool and I can build the eCos library; however when 
> I try to build a simple application (a slightly modified version of 
> twothreads) against this library I get the following errors:
> 
> arm-elf-gcc -c -o 2threads.o -Wall -I/home/.../t4d-mw_install/include 
> -O2 -fno-schedule-insns -fno-schedule-insns2 -mcpu=arm9 -Wall 
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef 
> -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections 
> -fno-rtti -fno-exceptions -fno-schedule-insns -fno-schedule-insns2 
> 2threads.c
> cc1: warning: command line option "-Woverloaded-virtual" is valid for 
> C++/ObjC++ but not for C
> cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ 
> but not for C
> arm-elf-gcc -nostartfiles -L/home/.../t4d-mw_install/lib -Ttarget.ld 
> -mcpu=arm9 -Wl,--gc-sections -Wl,-static -g -nostdlib -o 2threads 2threads.o
> /home/.../t4d-mw_install/lib/libtarget.a(services_gfx_mw_srvmain.o): In 
> function `GsGetTickCount':
> /home/.../ecosrepo/services/gfx/mw/v2_0_42/src/nanox/srvmain.c:890: 
                                     ^^^^^^^^

Strange version id? Maybe you should be asking whoever gave you this
version.

> undefined reference to `gettimeofday'
> /home/.../t4d-mw_install/lib/libtarget.a(services_gfx_mw_client.o): In 
> function `GrClose':
> /home/.../ecosrepo/services/gfx/mw/v2_0_42/src/nanox/client.c:424: 
> undefined reference to `alarm'

alarm is a POSIX function. Try starting with the POSIX template.

        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]