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]

Building Microwindows


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: 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'
/home/.../ecosrepo/services/gfx/mw/v2_0_42/src/nanox/client.c:429: undefined reference to `alarm'
/home/.../t4d-mw_install/lib/libtarget.a(services_gfx_mw_devtimer.o): In function `GdAddTimer':
/home/.../ecosrepo/services/gfx/mw/v2_0_42/src/engine/devtimer.c:72: undefined reference to `gettimeofday'
/home/.../t4d-mw_install/lib/libtarget.a(services_gfx_mw_devtimer.o): In function `GdAddPeriodicTimer':
/home/.../ecosrepo/services/gfx/mw/v2_0_42/src/engine/devtimer.c:94: undefined reference to `gettimeofday'
/home/.../t4d-mw_install/lib/libtarget.a(services_gfx_mw_devtimer.o): In function `GdGetNextTimeout':
/home/.../ecosrepo/services/gfx/mw/v2_0_42/src/engine/devtimer.c:140: undefined reference to `gettimeofday'
/home/.../t4d-mw_install/lib/libtarget.a(services_gfx_mw_devtimer.o): In function `GdTimeout':
/home/.../ecosrepo/services/gfx/mw/v2_0_42/src/engine/devtimer.c:172: undefined reference to `gettimeofday'
collect2: ld returned 1 exit status
make: *** [2threads] Error 1


Am I missing some packages?


TIA, llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2@dave-tech.it

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