This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 22557] New: configtool does not correctly resolve conflicts
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Fri, 25 Apr 2003 02:03:54 +0100 (BST)
- Subject: [Bug 22557] New: configtool does not correctly resolve conflicts
http://bugs.ecos.sourceware.org/show_bug.cgi?id=22557
Summary: configtool does not correctly resolve conflicts
Product: eCos
Version: 1.3.1
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: low
Component: ecosconfig
AssignedTo: bartv at ecoscentric dot com
ReportedBy: anonymous at sourceware dot cygnus dot com
The graphical tool, configtool, does not correctly resolve
conflicts that involve inferred_value, nor does it properly
make a target with inferred_value set correctly with
ecosconfig under Linux. This bug is also seen under NT.
How-To-Repeat:
Using configtool, add the package "FILE IO". There will be
two unresolved conflicts:
Item Conflict Property
CYGPKG_IO_FILEIO Unsatisfied CYGBLD_ISO_DIRENT_
CYGPKG_IO_FILEIO Unsatisfied CYGBLD_ISO_OPEN_IV
The proposed soltion is to enable
CYGBLD_ISO_OPEN_MAX_H Enabled <cyg/fileio/limits.h>
CYGBLD_ISO_DIRENT_HEAD Enabled <cyg/fileio/dirent.h>
The .ecc file "should" look like
# OPEN_MAX implementation header
#
cdl_option CYGBLD_ISO_OPEN_MAX_HEADER {
# Flavor: booldata
# No user value, uncomment the following line to provide one.
# user_value 0 0
# The inferred value should not be edited directly.
inferred_value 1 <cyg/fileio/limits.h>
# value_source inferred
# Default value: 0 0
# The following properties are affected by this value
# package CYGPKG_IO_FILEIO
# Requires: CYGBLD_ISO_OPEN_MAX_HEADER ==
"<cyg/fileio/limits.h>"
};
# <dirent.h> definitions implementation header
#
cdl_option CYGBLD_ISO_DIRENT_HEADER {
# Flavor: booldata
# No user value, uncomment the following line to provide one.
# user_value 0 0
# The inferred value should not be edited directly.
inferred_value 1 <cyg/fileio/dirent.h>
# value_source inferred
# Default value: 0 0
# The following properties are affected by this value
# package CYGPKG_IO_FILEIO
# Requires: CYGBLD_ISO_DIRENT_HEADER ==
"<cyg/fileio/dirent.h>"
};
However, this is not done correctly. Even if one manually
edits the .ecc file, the build does not correctly modify the
header files. Thus, a .ecc file which builds correctly with
ecosconfig will not with configtool.
Fix:
do not use configtool, but rather ecosconfig, which only works
under Linux.
---------------------------------------------------------------------------
Originator:
Warren Jasper
Organization:
NCSU
Unformatted:
Originator:
page: sourceware.cygnus.com/ecos/problemreport.html
Send_PR_form: Sent_from_sourceware.cygnus.com
or implement inferrered_value correctly
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.