Current head compilation problem

Joel Sherrill Joel.Sherrill at OARcorp.com
Fri Aug 16 02:20:21 UTC 2013


This is very different from my configure command. It is just a clock driver bug likely introduced by Vipul.

Sree Harsha Konduri <sreehars at buffalo.edu> wrote:



Hey Chris,

The configure i used is

  $ ../rtems/configure --target=i386-rtems4.11 --enable-maintainer-mode --enable-smp --enable-tests=yes --enable-rtemsbsp=pc386 --disable-posix USE_COM1_AS_CONSOLE=1 BSP_PRESS_KEY_FOR_RESET=0 target_alias=i386-rtems4.11


This is the error.

Making all in hello
gmake[6]: Entering directory `/home/harsha/rtems/4.11/pc386/i386-rtems4.11/c/pc386/testsuites/samples/hello'
i386-rtems4.11-gcc -B../../../../../pc386/lib/ -specs bsp_specs -qrtems -mtune=i386 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs   -Wl,-Ttext,0x00100000  -mtune=i386   -o hello.exe init.o
../../../../../pc386/lib/librtemsbsp.a(ckinit.o): In function `bsp_clock_nanoseconds_since_last_tick_i8254':
/home/harsha/rtems/4.11/pc386/i386-rtems4.11/c/pc386/lib/libbsp/i386/pc386/../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/clock/ckinit.c:153: undefined reference to `Clock_driver_isrs'
../../../../../pc386/lib/librtemsbsp.a(ckinit.o): In function `Clock_driver_support_at_tick_tsc':
/home/harsha/rtems/4.11/pc386/i386-rtems4.11/c/pc386/lib/libbsp/i386/pc386/../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/clock/ckinit.c:90: undefined reference to `Clock_driver_isrs'
collect2: error: ld returned 1 exit status
gmake[6]: *** [hello.exe] Error 1
gmake[6]: Leaving directory `/home/harsha/rtems/4.11/pc386/i386-rtems4.11/c/pc386/testsuites/samples/hello'
gmake[5]: *** [all-recursive] Error 1

Thanks,
Sree


On Thu, Aug 15, 2013 at 9:27 PM, Chris Johns <chrisj at rtems.org<mailto:chrisj at rtems.org>> wrote:
Joel Sherrill wrote:

This could be a combination of changes. Vipul redid the
interrupt code and may have missed something. I think
he missed something.

Chris and Sebastian committed changes to clockdrv_shell.h
to change from "#ifdef " to "#if " and this is apparently
didn't propagate it to all impacted BSPs.

Adding people who need to check into this.


A specific error with the configure line would be a big help. Sree ??

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130815/7ffa3dae/attachment-0001.html>


More information about the devel mailing list