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]

[ECOS] compile problems under redhat 6.0, glibc 2.1


I've found a comiple problem for the ecosSWtools-990319 package under
Redhat 6.0. 

The problem is that glibc 2.1 defines errno symbols with the same
value, confusing src/tcl/generic/tclPosixStr.c which assumes that
each E* symbol has a unique value.

/usr/include/bits/errno.h:28:# define ENOTSUP EOPNOTSUP

It's a simple matter to comment out the apropriate entries in
tclPosixStr.c and everything seems to be building correctly now.

This problem can probably be fixed by upgrading the version of tcl
included with the tools - the README in src/tcl mentions 8.0p2 as
the version of tcl, but this is the last patch in the 8.0 series.

Has anyone else built up the i386 synthetic target under Redhat 6.0?


Tim.

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