rtems 4.10 —with-network —with-posix Unfortunately I cannot resolve a reference:
source/rtems-source-builder/rtems/build/i386-rtems4.10-kernel-4.10-1/i386-rtems4.10-kernel-4.10-1-4.10/build/i386-rtems4.10/c/pc686/cpukit/libblock/../../../../../../rtems-4.10/c/src/../../cpukit/libblock/src/bdbuf.c:1156: undefined reference to `rtems_bdbuf_configuration’ the linker order looks like this: -lCom -Wl,--gc-sections -lm -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm -lgcc config: #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK #define CONFIGURE_BDBUF_BUFFER_MAX_SIZE (64 * 1024) #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS 4 #define CONFIGURE_BDBUF_CACHE_MEMORY_SIZE (1 * 1024 * 1024) even with hardcoded definition (nonsense values) in config file the symbol is not resolved: ... #define CONFIGURE_INIT #include <rtems/confdefs.h> #include <rtems/bdbuf.h> const rtems_bdbuf_config rtems_bdbuf_configuration = { 512, //CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS, 64, //CONFIGURE_BDBUF_MAX_WRITE_BLOCKS, 0, //CONFIGURE_SWAPOUT_TASK_PRIORITY, 0, //CONFIGURE_SWAPOUT_SWAP_PERIOD, 0, //CONFIGURE_SWAPOUT_BLOCK_HOLD, 8, //CONFIGURE_SWAPOUT_WORKER_TASKS, 0, //CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY, 512, //CONFIGURE_BDBUF_CACHE_MEMORY_SIZE, 128, //CONFIGURE_BDBUF_BUFFER_MIN_SIZE, 256 //CONFIGURE_BDBUF_BUFFER_MAX_SIZE }; in the lib one can find the reference : [h1@earth RTEMS-pc386-qemu (7.0 *)]$ i386-rtems5-nm librtemsCom.a | grep bd 00000040 R rtems_bdbuf_configuration [h1@earth RTEMS-pc386-qemu (7.0 *)]$ i386-rtems5-nm -u librtemsCom.a | grep bdbuf Any idea what goes wrong? Danke, Heinz
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users