This is the mail archive of the ecos-discuss@sourceware.cygnus.com 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]

Re: [ECOS] compile problems under redhat 6.0, glibc 2.1


Jonathan Larmour writes:

> >/usr/include/bits/errno.h:28:# define ENOTSUP EOPNOTSUP
> 
> This is mentioned in the FAQ at:
> 
> http://sourceware.cygnus.com/ecos/faq.html#problems_linux
> 
> and a patch is supplied.
> 
> Too late for you :-), but hopefully this is a pointer for someone else.

Hey, that's pretty embarassing as I thought I had read all the doco.
)-:

There were some other problems though:

      - strchr() prototype in src/expect/exp_strf.c [included in patch]

      - use of preprocessor directives within a macro: strncmp() is
        a macro in glibc 2.1 src/make/arscan.c
	
      -	needed an -I/usr/include/ncurses in LOCAL_CFLAGS for
        src/readline/Makefile.in

      - comment out proto for strdup in src/gdb/gdb_string.h

Is there any reason why different versions of make, gdb, expect and
friends are required for eCos?  There is certainly a change in gcc as
the version provided in the ecosSWtools archive has support for the
-fdata-sections flag whereas egcs-1.1.2 doesn't.  It would be neat
someday to be able to compile the synthetic i386 target using an
unmodified (native) toolchain.


Thanks,

Tim.

> 
> Jifl
> -- 
> Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
> "I used to have an open mind but || Get yer free open source RTOS's here...
>  my brains kept falling out."    || http://sourceware.cygnus.com/ecos
> Help fight spam! http://spam.abuse.net/  These opinions are all my own fault

-- 
Tim Potter, System Admin/Programmer              "Disco Stu doesn't advertise"
Advanced Computational Systems CRC, RSISE Bldg Australian National University,
Canberra 0200, AUSTRALIA Ph: +61 2 62798813 Fax: +61 2 62798602

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]