public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ST STM3210E EVAL board and the POSIX layer
@ 2012-04-05 13:58 medamine
  2012-04-05 16:32 ` Fabrizio Carrai
  0 siblings, 1 reply; 6+ messages in thread
From: medamine @ 2012-04-05 13:58 UTC (permalink / raw)
  To: ecos-discuss

Hi every body,

we use the STM32F1, so i upload the template ST STM3210E EVAL board

when I tried to build the system with the configuration tool. I included 
all the functionnality of the ISO C and POSIX infrastructure especially 
for Limits. But, i got these errors

In file included from 
/home/st/ecos/ecos-3.0/packages/infra/current/src/diag.cxx:63:
/home/st/config/POSIX_all_install/include/limits.h:175:11: error: 
#include expects "FILENAME" or <FILENAME>
/home/st/config/POSIX_all_install/include/limits.h:183:11: error: 
#include expects "FILENAME" or <FILENAME>
/home/st/config/POSIX_all_install/include/limits.h:191:11: error: 
#include expects "FILENAME" or <FILENAME>
/home/st/config/POSIX_all_install/include/limits.h:199:11: error: 
#include expects "FILENAME" or <FILENAME>
make[1]: Leaving directory `/home/st/config/POSIX_all_build/infra/current'
make[1]: *** [src/diag.o.d] Error 1
make: Leaving directory `/home/st/config/POSIX_all_build'
make: *** [build] Error 2

If some one has an idea for the source of these errors.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ST STM3210E EVAL board and the POSIX layer
  2012-04-05 13:58 [ECOS] ST STM3210E EVAL board and the POSIX layer medamine
@ 2012-04-05 16:32 ` Fabrizio Carrai
  2012-04-05 16:47   ` medamine
  2012-04-06  9:05   ` medamine
  0 siblings, 2 replies; 6+ messages in thread
From: Fabrizio Carrai @ 2012-04-05 16:32 UTC (permalink / raw)
  To: medamine; +Cc: ecos-discuss

Hi,
it looks like that something has not been defined. Can you post the
limits.h file ?

I do not use the STM32F1 MCU, but I will try to support anyhow.

Bye
F.

Il 05 aprile 2012 15:58, medamine <medamine.ecos@gmail.com> ha scritto:
> Hi every body,
>
> we use the STM32F1, so i upload the template ST STM3210E EVAL board
>
> when I tried to build the system with the configuration tool. I included all
> the functionnality of the ISO C and POSIX infrastructure especially for
> Limits. But, i got these errors
>
> In file included from
> /home/st/ecos/ecos-3.0/packages/infra/current/src/diag.cxx:63:
> /home/st/config/POSIX_all_install/include/limits.h:175:11: error: #include
> expects "FILENAME" or <FILENAME>
> /home/st/config/POSIX_all_install/include/limits.h:183:11: error: #include
> expects "FILENAME" or <FILENAME>
> /home/st/config/POSIX_all_install/include/limits.h:191:11: error: #include
> expects "FILENAME" or <FILENAME>
> /home/st/config/POSIX_all_install/include/limits.h:199:11: error: #include
> expects "FILENAME" or <FILENAME>
> make[1]: Leaving directory `/home/st/config/POSIX_all_build/infra/current'
> make[1]: *** [src/diag.o.d] Error 1
> make: Leaving directory `/home/st/config/POSIX_all_build'
> make: *** [build] Error 2
>
> If some one has an idea for the source of these errors.
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ST STM3210E EVAL board and the POSIX layer
  2012-04-05 16:32 ` Fabrizio Carrai
@ 2012-04-05 16:47   ` medamine
  2012-04-06  9:05   ` medamine
  1 sibling, 0 replies; 6+ messages in thread
From: medamine @ 2012-04-05 16:47 UTC (permalink / raw)
  To: ecos-discuss

On 04/05/2012 05:16 PM, Fabrizio Carrai wrote:
> Hi,
> it looks like that something has not been defined. Can you post the
> limits.h file ?
>
> I do not use the STM32F1 MCU, but I will try to support anyhow.
>
> Bye
> F.
>
> Il 05 aprile 2012 15:58, medamine<medamine.ecos@gmail.com>  ha scritto:
>> Hi every body,
>>
>> we use the STM32F1, so i upload the template ST STM3210E EVAL board
>>
>> when I tried to build the system with the configuration tool. I included all
>> the functionnality of the ISO C and POSIX infrastructure especially for
>> Limits. But, i got these errors
>>
>> In file included from
>> /home/st/ecos/ecos-3.0/packages/infra/current/src/diag.cxx:63:
>> /home/st/config/POSIX_all_install/include/limits.h:175:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:183:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:191:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:199:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> make[1]: Leaving directory `/home/st/config/POSIX_all_build/infra/current'
>> make[1]: *** [src/diag.o.d] Error 1
>> make: Leaving directory `/home/st/config/POSIX_all_build'
>> make: *** [build] Error 2
>>
>> If some one has an idea for the source of these errors.
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
The file limits.h is generated by the configuration tool

// limits.h

#ifndef CYGONCE_ISO_LIMITS_H
#define CYGONCE_ISO_LIMITS_H
/*========================================================================
//
//      limits.h
//
//      ISO standard limits
//
//========================================================================
// ####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, 
Inc.
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later
// version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License
// along with eCos; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
//
// As a special exception, if other files instantiate templates or use
// macros or inline functions from this file, or you compile this file
// and link it with other works to produce a work based on this file,
// this file does not by itself cause the resulting work to be covered by
// the GNU General Public License. However the source code for this file
// must still be made available in accordance with section (3) of the GNU
// General Public License v2.
//
// This exception does not invalidate any other reasons why a work based
// on this file might be covered by the GNU General Public License.
// -------------------------------------------
// ####ECOSGPLCOPYRIGHTEND####
//========================================================================
//#####DESCRIPTIONBEGIN####
//
// Author(s):     jlarmour
// Contributors:
// Date:          2000-04-14
// Purpose:       This file provides the limits properties
//                required by ISO C and POSIX 1003.1
// Description:   The real contents of this file get set from the
//                configuration (set by the implementation), as well as
//                being partially provided by the compiler.
//
// Usage:         #include <limits.h>
//
//####DESCRIPTIONEND####
//
//======================================================================
*/

/* CONFIGURATION */

#include <pkgconf/isoinfra.h>          /* Configuration header */

/* DEFINES */

/*----------------------------------------------------------------------------- 

  * Minimum values from POSIX.1 tables 2-3, 2-7 and 2-7a.

  * These are the standard-mandated minimum values.
  * These values do not vary with the implementation - they may
  * simply be defined
  */

/* Minimum number of operations in one list I/O call.  */
#define _POSIX_AIO_LISTIO_MAX    2

/* Minimal number of outstanding asynchronous I/O operations.  */
#define _POSIX_AIO_MAX        1

/* Maximum length of arguments to `execve', including environment.  */
#define    _POSIX_ARG_MAX        4096

/* Maximum simultaneous processes per real user ID.  */
#define    _POSIX_CHILD_MAX    6

/* Minimal number of timer expiration overruns.  */
#define _POSIX_DELAYTIMER_MAX    32

/* Maximum link count of a file.  */
#define    _POSIX_LINK_MAX        8

/* Size of storage required for a login name */
#define _POSIX_LOGIN_NAME_MAX   9

/* Number of bytes in a terminal canonical input queue.  */
#define    _POSIX_MAX_CANON    255

/* Number of bytes for which space will be
    available in a terminal input queue.  */
#define    _POSIX_MAX_INPUT    255

/* Maximum number of message queues open for a process.  */
#define _POSIX_MQ_OPEN_MAX    8

/* Maximum number of supported message priorities.  */
#define _POSIX_MQ_PRIO_MAX    32

/* Number of bytes in a filename.  */
#define    _POSIX_NAME_MAX        14

/* Number of simultaneous supplementary group IDs per process.  */
#define    _POSIX_NGROUPS_MAX    0

/* Number of files one process can have open at once.  */
#define    _POSIX_OPEN_MAX        16

/* Number of bytes in a pathname.  */
#define    _POSIX_PATH_MAX        255

/* Number of bytes than can be written atomically to a pipe.  */
#define    _POSIX_PIPE_BUF        512

/* Minimal number of realtime signals reserved for the application.  */
#define _POSIX_RTSIG_MAX    8

/* Number of semaphores a process can have.  */
#define _POSIX_SEM_NSEMS_MAX    256

/* Maximal value of a semaphore.  */
#define _POSIX_SEM_VALUE_MAX    32767

/* Number of pending realtime signals.  */
#define _POSIX_SIGQUEUE_MAX    32

/* Largest value of a `ssize_t'.  */
#define    _POSIX_SSIZE_MAX    32767

/* Number of streams a process can have open at once.  */
#define    _POSIX_STREAM_MAX    8

/* Controlling the iterations of destructors for thread-specific data.  */
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS    4

/* The number of data keys per process.  */
#define _POSIX_THREAD_KEYS_MAX    128

/* The number of threads per process.  */
#define _POSIX_THREAD_THREADS_MAX    64

/* Maximum number of characters in a tty name.  */
#define    _POSIX_TTY_NAME_MAX    9

/* Number of timer for a process.  */
#define _POSIX_TIMER_MAX    32

/* Maximum length of a timezone name (element of `tzname').  */
#define    _POSIX_TZNAME_MAX    3

/* Maximum clock resolution in nanoseconds.  */
#define _POSIX_CLOCKRES_MIN    20000000

// the include macro where the errors occurs

#ifdef CYGBLD_ISO_SSIZE_T_HEADER
# include CYGBLD_ISO_SSIZE_T_HEADER
#else
# ifndef __STRICT_ANSI__
#  define SSIZE_MAX LONG_MAX
# endif
#endif

/* INCLUDES */

#ifdef CYGBLD_ISO_OPEN_MAX_HEADER
# include CYGBLD_ISO_OPEN_MAX_HEADER
#else
# ifndef __STRICT_ANSI__
#  define OPEN_MAX _POSIX_OPEN_MAX
# endif
#endif

#ifdef CYGBLD_ISO_LINK_MAX_HEADER
# include CYGBLD_ISO_LINK_MAX_HEADER
#else
# ifndef __STRICT_ANSI__
#  define LINK_MAX _POSIX_LINK_MAX
# endif
#endif

#ifdef CYGBLD_ISO_NAME_MAX_HEADER
# include CYGBLD_ISO_NAME_MAX_HEADER
#else
# ifndef __STRICT_ANSI__
#  define NAME_MAX _POSIX_NAME_MAX
# endif
#endif

#ifdef CYGBLD_ISO_PATH_MAX_HEADER
# include CYGBLD_ISO_PATH_MAX_HEADER
#else
# ifndef __STRICT_ANSI__
#  define PATH_MAX _POSIX_PATH_MAX
# endif
#endif

#if CYGINT_ISO_POSIX_LIMITS
# ifdef CYGBLD_ISO_POSIX_LIMITS_HEADER
#  include CYGBLD_ISO_POSIX_LIMITS_HEADER
# endif
#endif

#endif /* CYGONCE_ISO_LIMITS_H multiple inclusion protection */
        /* Yes it must be ended here! */

/* When using a crosscompiler targeting linux, the next limits.h file
    in the include sequence may be the glibc header - which breaks our
    world. So skip it by defining _LIBC_LIMITS_H_ */
#define _LIBC_LIMITS_H_

/* Secondly only include if we haven't already been included by it. */
#ifndef _GCC_LIMITS_H_
# include_next <limits.h>
#endif

/* EOF limits.h */


and the file included is pkgconf/isoinfra.h

#ifndef CYGONCE_PKGCONF_ISOINFRA_H
#define CYGONCE_PKGCONF_ISOINFRA_H
/*
  * File <pkgconf/isoinfra.h>
  *
  * This file is generated automatically by the configuration
  * system. It should not be edited. Any changes to this file
  * may be overwritten.
  */

#define CYGINT_ISO_MAIN_STARTUP 1
#define CYGINT_ISO_MAIN_STARTUP_1
#define CYGINT_ISO_ENVIRON 1
#define CYGINT_ISO_ENVIRON_1
#define CYGINT_ISO_CTYPE 1
#define CYGINT_ISO_CTYPE_1
#define CYGBLD_ISO_CTYPE_HEADER <cyg/libc/i18n/ctype.inl>
#define CYGINT_ISO_ERRNO_CODES 1
#define CYGINT_ISO_ERRNO_CODES_1
#define CYGBLD_ISO_ERRNO_CODES_HEADER <cyg/error/codes.h>
#define CYGINT_ISO_ERRNO 1
#define CYGINT_ISO_ERRNO_1
#define CYGBLD_ISO_ERRNO_HEADER <cyg/error/errno.h>
#define CYGINT_ISO_LOCALE 1
#define CYGINT_ISO_LOCALE_1
#define CYGBLD_ISO_LOCALE_HEADER 0
#define CYGBLD_ISO_LOCALE_HEADER_0
#define CYGINT_ISO_STDIO_FILETYPES 1
#define CYGINT_ISO_STDIO_FILETYPES_1
#define CYGBLD_ISO_STDIO_FILETYPES_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_STREAMS 1
#define CYGINT_ISO_STDIO_STREAMS_1
#define CYGBLD_ISO_STDIO_STREAMS_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_FILEOPS 1
#define CYGINT_ISO_STDIO_FILEOPS_1
#define CYGBLD_ISO_STDIO_FILEOPS_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_FILEACCESS 1
#define CYGINT_ISO_STDIO_FILEACCESS_1
#define CYGBLD_ISO_STDIO_FILEACCESS_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_FORMATTED_IO 1
#define CYGINT_ISO_STDIO_FORMATTED_IO_1
#define CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_CHAR_IO 1
#define CYGINT_ISO_STDIO_CHAR_IO_1
#define CYGBLD_ISO_STDIO_CHAR_IO_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_DIRECT_IO 1
#define CYGINT_ISO_STDIO_DIRECT_IO_1
#define CYGBLD_ISO_STDIO_DIRECT_IO_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_FILEPOS 1
#define CYGINT_ISO_STDIO_FILEPOS_1
#define CYGBLD_ISO_STDIO_FILEPOS_HEADER <cyg/libc/stdio/stdio.h>
#define CYGINT_ISO_STDIO_ERROR 1
#define CYGINT_ISO_STDIO_ERROR_1
#define CYGBLD_ISO_STDIO_ERROR_HEADER <cyg/libc/stdio/stdio.h>
#define CYGBLD_ISO_STDIO_POSIX_FDFUNCS_HEADER 0
#define CYGBLD_ISO_STDIO_POSIX_FDFUNCS_HEADER_0
#define CYGINT_ISO_STDLIB_STRCONV 1
#define CYGINT_ISO_STDLIB_STRCONV_1
#define CYGBLD_ISO_STDLIB_STRCONV_HEADER <cyg/libc/stdlib/atox.inl>
#define CYGINT_ISO_STDLIB_STRCONV_FLOAT 1
#define CYGINT_ISO_STDLIB_STRCONV_FLOAT_1
#define CYGBLD_ISO_STDLIB_STRCONV_FLOAT_HEADER 0
#define CYGBLD_ISO_STDLIB_STRCONV_FLOAT_HEADER_0
#define CYGINT_ISO_RAND 1
#define CYGINT_ISO_RAND_1
#define CYGBLD_ISO_RAND_HEADER 0
#define CYGBLD_ISO_RAND_HEADER_0
#define CYGINT_ISO_MALLOC 1
#define CYGINT_ISO_MALLOC_1
#define CYGBLD_ISO_MALLOC_HEADER 0
#define CYGBLD_ISO_MALLOC_HEADER_0
#define CYGINT_ISO_MALLINFO 1
#define CYGINT_ISO_MALLINFO_1
#define CYGBLD_ISO_MALLINFO_HEADER 0
#define CYGBLD_ISO_MALLINFO_HEADER_0
#define CYGINT_ISO_EXIT 1
#define CYGINT_ISO_EXIT_1
#define CYGBLD_ISO_EXIT_HEADER 0
#define CYGBLD_ISO_EXIT_HEADER_0
#define CYGINT_ISO_STDLIB_ENVIRON 1
#define CYGINT_ISO_STDLIB_ENVIRON_1
#define CYGBLD_ISO_STDLIB_ENVIRON_HEADER 0
#define CYGBLD_ISO_STDLIB_ENVIRON_HEADER_0
#define CYGINT_ISO_STDLIB_SYSTEM 1
#define CYGINT_ISO_STDLIB_SYSTEM_1
#define CYGBLD_ISO_STDLIB_SYSTEM_HEADER 0
#define CYGBLD_ISO_STDLIB_SYSTEM_HEADER_0
#define CYGINT_ISO_BSEARCH 1
#define CYGINT_ISO_BSEARCH_1
#define CYGBLD_ISO_BSEARCH_HEADER 0
#define CYGBLD_ISO_BSEARCH_HEADER_0
#define CYGINT_ISO_QSORT 1
#define CYGINT_ISO_QSORT_1
#define CYGBLD_ISO_QSORT_HEADER 0
#define CYGBLD_ISO_QSORT_HEADER_0
#define CYGINT_ISO_ABS 1
#define CYGINT_ISO_ABS_1
#define CYGBLD_ISO_STDLIB_ABS_HEADER <cyg/libc/stdlib/abs.inl>
#define CYGINT_ISO_DIV 1
#define CYGINT_ISO_DIV_1
#define CYGBLD_ISO_STDLIB_DIV_HEADER <cyg/libc/stdlib/div.inl>
#define CYGBLD_ISO_STDLIB_MB_CUR_MAX_HEADER 0
#define CYGBLD_ISO_STDLIB_MB_CUR_MAX_HEADER_0
#define CYGINT_ISO_STDLIB_MULTIBYTE 1
#define CYGINT_ISO_STDLIB_MULTIBYTE_1
#define CYGBLD_ISO_STDLIB_MULTIBYTE_HEADER 0
#define CYGBLD_ISO_STDLIB_MULTIBYTE_HEADER_0
#define CYGINT_ISO_STRERROR 1
#define CYGINT_ISO_STRERROR_1
#define CYGBLD_ISO_STRERROR_HEADER <cyg/error/strerror.h>
#define CYGBLD_ISO_MEMCPY_HEADER 0
#define CYGBLD_ISO_MEMCPY_HEADER_0
#define CYGBLD_ISO_MEMSET_HEADER 0
#define CYGBLD_ISO_MEMSET_HEADER_0
#define CYGINT_ISO_STRTOK_R 1
#define CYGINT_ISO_STRTOK_R_1
#define CYGBLD_ISO_STRTOK_R_HEADER <cyg/libc/string/string.h>
#define CYGINT_ISO_STRING_LOCALE_FUNCS 1
#define CYGINT_ISO_STRING_LOCALE_FUNCS_1
#define CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER <cyg/libc/string/string.h>
#define CYGINT_ISO_STRING_BSD_FUNCS 1
#define CYGINT_ISO_STRING_BSD_FUNCS_1
#define CYGBLD_ISO_STRING_BSD_FUNCS_HEADER <cyg/libc/string/bsdstring.h>
#define CYGINT_ISO_STRING_MEMFUNCS 1
#define CYGINT_ISO_STRING_MEMFUNCS_1
#define CYGBLD_ISO_STRING_MEMFUNCS_HEADER <cyg/libc/string/string.h>
#define CYGINT_ISO_STRING_STRFUNCS 1
#define CYGINT_ISO_STRING_STRFUNCS_1
#define CYGBLD_ISO_STRING_STRFUNCS_HEADER <cyg/libc/string/string.h>
#define CYGBLD_ISO_CLOCK_T_HEADER 0
#define CYGBLD_ISO_CLOCK_T_HEADER_0
#define CYGBLD_ISO_STRUCTTIMEVAL_HEADER 0
#define CYGBLD_ISO_STRUCTTIMEVAL_HEADER_0
#define CYGBLD_ISO_FNMATCH_HEADER 0
#define CYGBLD_ISO_FNMATCH_HEADER_0
#define CYGBLD_ISO_POSIX_TIMER_TYPES_HEADER 0
#define CYGBLD_ISO_POSIX_TIMER_TYPES_HEADER_0
#define CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER 0
#define CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER_0
#define CYGINT_ISO_C_TIME_TYPES 1
#define CYGINT_ISO_C_TIME_TYPES_1
#define CYGBLD_ISO_C_TIME_TYPES_HEADER <cyg/libc/time/time.h>
#define CYGBLD_ISO_POSIX_TIMERS_HEADER 0
#define CYGBLD_ISO_POSIX_TIMERS_HEADER_0
#define CYGBLD_ISO_POSIX_CLOCKS_HEADER 0
#define CYGBLD_ISO_POSIX_CLOCKS_HEADER_0
#define CYGINT_ISO_C_CLOCK_FUNCS 1
#define CYGINT_ISO_C_CLOCK_FUNCS_1
#define CYGBLD_ISO_C_CLOCK_FUNCS_HEADER <cyg/libc/time/time.h>
#define CYGBLD_ISO_TZSET_HEADER 0
#define CYGBLD_ISO_TZSET_HEADER_0
#define CYGINT_ISO_SIGNAL_NUMBERS 1
#define CYGINT_ISO_SIGNAL_NUMBERS_1
#define CYGBLD_ISO_SIGNAL_NUMBERS_HEADER <cyg/libc/signals/signal.h>
#define CYGINT_ISO_SIGNAL_IMPL 1
#define CYGINT_ISO_SIGNAL_IMPL_1
#define CYGBLD_ISO_SIGNAL_IMPL_HEADER <cyg/libc/signals/signal.h>
#define CYGINT_POSIX_REALTIME_SIGNALS 0
#define CYGINT_POSIX_REALTIME_SIGNALS_0
#if CYGINT_POSIX_REALTIME_SIGNALS
# define _POSIX_REALTIME_SIGNALS 1
#endif
#define CYGINT_ISO_SETJMP 1
#define CYGINT_ISO_SETJMP_1
#define CYGBLD_ISO_SETJMP_HEADER <cyg/libc/setjmp/setjmp.h>
#define CYGINT_ISO_SIGSETJMP 0
#define CYGINT_ISO_SIGSETJMP_0
#define CYGBLD_ISO_SIGSETJMP_HEADER 0
#define CYGBLD_ISO_SIGSETJMP_HEADER_0
#define CYGBLD_ISO_ASSERT_HEADER 0
#define CYGBLD_ISO_ASSERT_HEADER_0
#define CYGBLD_ISO_OFLAG_HEADER 0
#define CYGBLD_ISO_OFLAG_HEADER_0
#define CYGINT_ISO_FCNTL 0
#define CYGINT_ISO_FCNTL_0
#define CYGBLD_ISO_FCNTL_HEADER 0
#define CYGBLD_ISO_FCNTL_HEADER_0
#define CYGINT_ISO_OPEN 0
#define CYGINT_ISO_OPEN_0
#define CYGBLD_ISO_OPEN_HEADER 0
#define CYGBLD_ISO_OPEN_HEADER_0
#define CYGBLD_ISO_STAT_DEFS_HEADER 0
#define CYGBLD_ISO_STAT_DEFS_HEADER_0
#define CYGINT_ISO_DIRENT 0
#define CYGINT_ISO_DIRENT_0
#define CYGBLD_ISO_DIRENT_HEADER 0
#define CYGBLD_ISO_DIRENT_HEADER_0
#define CYGINT_ISO_PTHREADTYPES 0
#define CYGINT_ISO_PTHREADTYPES_0
#define CYGBLD_ISO_PTHREADTYPES_HEADER 0
#define CYGBLD_ISO_PTHREADTYPES_HEADER_0
#define CYGINT_ISO_PMUTEXTYPES 0
#define CYGINT_ISO_PMUTEXTYPES_0
#define CYGBLD_ISO_PMUTEXTYPES_HEADER 0
#define CYGBLD_ISO_PMUTEXTYPES_HEADER_0
#define CYGBLD_ISO_FSTYPES_HEADER 0
#define CYGBLD_ISO_FSTYPES_HEADER_0
#define CYGBLD_ISO_SCHEDTYPES_HEADER 0
#define CYGBLD_ISO_SCHEDTYPES_HEADER_0
#define CYGINT_ISO_BSDTYPES 0
#define CYGINT_ISO_BSDTYPES_0
#define CYGBLD_ISO_BSDTYPES_HEADER 0
#define CYGBLD_ISO_BSDTYPES_HEADER_0
#define CYGBLD_ISO_UTSNAME_HEADER 0
#define CYGBLD_ISO_UTSNAME_HEADER_0
#define CYGINT_ISO_SCHED_IMPL 0
#define CYGINT_ISO_SCHED_IMPL_0
#define CYGBLD_ISO_SCHED_IMPL_HEADER 0
#define CYGBLD_ISO_SCHED_IMPL_HEADER_0
#define CYGINT_ISO_SEMAPHORES 0
#define CYGINT_ISO_SEMAPHORES_0
#if CYGINT_ISO_SEMAPHORES
# define _POSIX_SEMAPHORES 1
#endif
#define CYGBLD_ISO_SEMAPHORES_HEADER 0
#define CYGBLD_ISO_SEMAPHORES_HEADER_0
#define CYGINT_ISO_MQUEUE 0
#define CYGINT_ISO_MQUEUE_0
#if CYGINT_ISO_MQUEUE
# define _POSIX_MESSAGE_PASSING 1
#endif
#define CYGBLD_ISO_MQUEUE_HEADER 0
#define CYGBLD_ISO_MQUEUE_HEADER_0
#define CYGBLD_ISO_PTHREAD_IMPL_HEADER 0
#define CYGBLD_ISO_PTHREAD_IMPL_HEADER_0
#define CYGBLD_ISO_PTHREAD_MUTEX_HEADER 0
#define CYGBLD_ISO_PTHREAD_MUTEX_HEADER_0
#define CYGINT_ISO_POSIX_LIMITS 0
#define CYGINT_ISO_POSIX_LIMITS_0
#define CYGINT_ISO_TERMIOS 0
#define CYGINT_ISO_TERMIOS_0
#define CYGBLD_ISO_TERMIOS_HEADER 0
#define CYGBLD_ISO_TERMIOS_HEADER_0
#define CYGINT_ISO_DLFCN 0
#define CYGINT_ISO_DLFCN_0
#define CYGBLD_ISO_DLFCN_HEADER 0
#define CYGBLD_ISO_DLFCN_HEADER_0
#define CYGBLD_ISO_POSIX_TIMER_OPS_HEADER 0
#define CYGBLD_ISO_POSIX_TIMER_OPS_HEADER_0
#define CYGBLD_ISO_POSIX_SLEEP_HEADER 0
#define CYGBLD_ISO_POSIX_SLEEP_HEADER_0
#define CYGBLD_ISO_SELECT_HEADER 0
#define CYGBLD_ISO_SELECT_HEADER_0
#define CYGBLD_ISO_POLL_HEADER 0
#define CYGBLD_ISO_POLL_HEADER_0
#define CYGBLD_ISO_DNS_HEADER 0
#define CYGBLD_ISO_DNS_HEADER_0
#define CYGBLD_ISO_NETDB_PROTO_HEADER 0
#define CYGBLD_ISO_NETDB_PROTO_HEADER_0
#define CYGBLD_ISO_NETDB_SERV_HEADER 0
#define CYGBLD_ISO_NETDB_SERV_HEADER_0

#endif


Thanks a lot for your help

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ST STM3210E EVAL board and the POSIX layer
  2012-04-05 16:32 ` Fabrizio Carrai
  2012-04-05 16:47   ` medamine
@ 2012-04-06  9:05   ` medamine
  2012-04-06 19:18     ` Fabrizio Carrai
  1 sibling, 1 reply; 6+ messages in thread
From: medamine @ 2012-04-06  9:05 UTC (permalink / raw)
  To: ecos-discuss

On 04/05/2012 05:16 PM, Fabrizio Carrai wrote:
> Hi,
> it looks like that something has not been defined. Can you post the
> limits.h file ?
>
> I do not use the STM32F1 MCU, but I will try to support anyhow.
>
> Bye
> F.
>
> Il 05 aprile 2012 15:58, medamine<medamine.ecos@gmail.com>  ha scritto:
>> Hi every body,
>>
>> we use the STM32F1, so i upload the template ST STM3210E EVAL board
>>
>> when I tried to build the system with the configuration tool. I included all
>> the functionnality of the ISO C and POSIX infrastructure especially for
>> Limits. But, i got these errors
>>
>> In file included from
>> /home/st/ecos/ecos-3.0/packages/infra/current/src/diag.cxx:63:
>> /home/st/config/POSIX_all_install/include/limits.h:175:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:183:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:191:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:199:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> make[1]: Leaving directory `/home/st/config/POSIX_all_build/infra/current'
>> make[1]: *** [src/diag.o.d] Error 1
>> make: Leaving directory `/home/st/config/POSIX_all_build'
>> make: *** [build] Error 2
>>
>> If some one has an idea for the source of these errors.
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>

What I mean is that I checked all the Options in the ISO C and POSIX 
infrastructure specially for Limits:

OPEN_MAX implementation header
LINK_MAX implementation header
NAME_MAX implementation header
PATH_MAX implementation header

for the default template STM3210, these options are unchecked, we need 
to ckeck these options and build the eCos library, we got the errors

we have the save errors fot other options like memcpy() implementation 
header, try to check it also and we will see the same think


                  from 
/home/st/ecos/ecos-3.0/packages/infra/current/src/eprintf.c:70:
/home/st/config/Posix_F4_functionning_install/include/string.h:82:11: 
error: #include expects "FILENAME" or <FILENAME>
make[1]: *** [src/eprintf.o.d] Error 1
make: *** [build] Error 2

Thanks for your help.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ST STM3210E EVAL board and the POSIX layer
  2012-04-06  9:05   ` medamine
@ 2012-04-06 19:18     ` Fabrizio Carrai
  2012-04-09  8:37       ` medamine
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrizio Carrai @ 2012-04-06 19:18 UTC (permalink / raw)
  To: medamine; +Cc: ecos-discuss

The options requires the header file names. The check control on the
left o the tree only enable the fields.
Creating an empty .ecc and using as template

Hardware: ST STM3210E EVAL board
Packages: posix

I got these settings:

OPEN_MAX implementation header     Enabled=True Value=<cyg/fileio/limits.h>
LINK_MAX implementation header       Disabled
NAME_MAX implementation header     Enabled=True Value=<cyg/fileio/limits.h>
PATH_MAX implementation header     Disabled

It makes sense that if you enable the field and do not specify the
header files, you got a compilation error.

The values above are set by the configuration tool when you specify
the POSIX package as template option. If you choose the "default"
option, the limit's option are not set.

Hope that helps.

Fabrizio


Il 06 aprile 2012 11:04, medamine <medamine.ecos@gmail.com> ha scritto:

> [...]
>
> What I mean is that I checked all the Options in the ISO C and POSIX
> infrastructure specially for Limits:
>
> OPEN_MAX implementation header
> LINK_MAX implementation header
> NAME_MAX implementation header
> PATH_MAX implementation header
>
> for the default template STM3210, these options are unchecked, we need to
> ckeck these options and build the eCos library, we got the errors
>
> we have the save errors fot other options like memcpy() implementation
> header, try to check it also and we will see the same think
>
>
>                 from
> /home/st/ecos/ecos-3.0/packages/infra/current/src/eprintf.c:70:
> /home/st/config/Posix_F4_functionning_install/include/string.h:82:11: error:
> #include expects "FILENAME" or <FILENAME>
> make[1]: *** [src/eprintf.o.d] Error 1
>
> make: *** [build] Error 2
>
> Thanks for your help.
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ST STM3210E EVAL board and the POSIX layer
  2012-04-06 19:18     ` Fabrizio Carrai
@ 2012-04-09  8:37       ` medamine
  0 siblings, 0 replies; 6+ messages in thread
From: medamine @ 2012-04-09  8:37 UTC (permalink / raw)
  To: Fabrizio Carrai; +Cc: ecos-discuss

On 04/06/2012 08:18 PM, Fabrizio Carrai wrote:
> The options requires the header file names. The check control on the
> left o the tree only enable the fields.
> Creating an empty .ecc and using as template
>
> Hardware: ST STM3210E EVAL board
> Packages: posix
>
> I got these settings:
>
> OPEN_MAX implementation header     Enabled=True Value=<cyg/fileio/limits.h>
> LINK_MAX implementation header       Disabled
> NAME_MAX implementation header     Enabled=True Value=<cyg/fileio/limits.h>
> PATH_MAX implementation header     Disabled
>
> It makes sense that if you enable the field and do not specify the
> header files, you got a compilation error.
>
> The values above are set by the configuration tool when you specify
> the POSIX package as template option. If you choose the "default"
> option, the limit's option are not set.
>
> Hope that helps.
>
> Fabrizio
>
>
> Il 06 aprile 2012 11:04, medamine<medamine.ecos@gmail.com>  ha scritto:
>
>> [...]
>>
>> What I mean is that I checked all the Options in the ISO C and POSIX
>> infrastructure specially for Limits:
>>
>> OPEN_MAX implementation header
>> LINK_MAX implementation header
>> NAME_MAX implementation header
>> PATH_MAX implementation header
>>
>> for the default template STM3210, these options are unchecked, we need to
>> ckeck these options and build the eCos library, we got the errors
>>
>> we have the save errors fot other options like memcpy() implementation
>> header, try to check it also and we will see the same think
>>
>>
>>                  from
>> /home/st/ecos/ecos-3.0/packages/infra/current/src/eprintf.c:70:
>> /home/st/config/Posix_F4_functionning_install/include/string.h:82:11: error:
>> #include expects "FILENAME" or<FILENAME>
>> make[1]: *** [src/eprintf.o.d] Error 1
>>
>> make: *** [build] Error 2
>>
>> Thanks for your help.
>>
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
Oh thanks a lot, it works now correctly

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-09  8:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 13:58 [ECOS] ST STM3210E EVAL board and the POSIX layer medamine
2012-04-05 16:32 ` Fabrizio Carrai
2012-04-05 16:47   ` medamine
2012-04-06  9:05   ` medamine
2012-04-06 19:18     ` Fabrizio Carrai
2012-04-09  8:37       ` medamine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).