Hi all,
I'm working on the 20060803 distribution for some time.
Now I want to switch to the newest distribution (20070130).
In the first stage I used a predefined configuration (Freescale M5282EVB) to
eliminate my faults.
The first 'make' (after make xconfig for vendor) stopped while producing
ucfront.
The reason was the switch '#ifdef lint' in file sg-chksum/crc.c.
I applied the following patch:
diff -Naur a/tools/sg-cksum/Makefile b/tools/sg-cksum/Makefile
--- a/tools/sg-cksum/Makefile 2006-07-28 01:54:58.000000000 +0200
+++ b/tools/sg-cksum/Makefile 2007-03-12 13:12:14.000000000 +0100
@@ -9,4 +9,4 @@
$(PROG): $(SRCS)
- $(HOSTCC) -Werror -Wall -DHAVE_MKSTEMP -o $@ $^
+ $(HOSTCC) -Wall -DHAVE_MKSTEMP -o $@ $^
Next step was 'make xconfig' to configure the kernel.
The qt programs couldn't be built.
Doing the following changes resolved the problem.
diff -Naur a/linux-2.6.x/scripts/kconfig/qconf.cc
b/linux-2.6.x/scripts/kconfig/qconf.cc
--- a/linux-2.6.x/scripts/kconfig/qconf.cc 2006-11-30 00:28:19.000000000
+0100
+++ b/linux-2.6.x/scripts/kconfig/qconf.cc 2007-03-12 10:01:17.000000000
+0100
@@ -798,7 +798,7 @@
QAction *action;
headerPopup = new QPopupMenu(this);
- action = new QAction("Show Name", 0, this);
+ action = new QAction(this, "Show Name", 0);
action->setToggleAction(TRUE);
connect(action, SIGNAL(toggled(bool)),
parent(), SLOT(setShowName(bool)));
@@ -806,7 +806,7 @@
action, SLOT(setOn(bool)));
action->setOn(showName);
action->addTo(headerPopup);
- action = new QAction("Show Range", 0, this);
+ action = new QAction(this, "Show Range", 0);
action->setToggleAction(TRUE);
connect(action, SIGNAL(toggled(bool)),
parent(), SLOT(setShowRange(bool)));
@@ -814,7 +814,7 @@
action, SLOT(setOn(bool)));
action->setOn(showRange);
action->addTo(headerPopup);
- action = new QAction("Show Data", 0, this);
+ action = new QAction(this, "Show Data", 0);
action->setToggleAction(TRUE);
connect(action, SIGNAL(toggled(bool)),
parent(), SLOT(setShowData(bool)));
@@ -1161,7 +1161,7 @@
QPopupMenu* ConfigInfoView::createPopupMenu(const QPoint& pos)
{
QPopupMenu* popup = Parent::createPopupMenu(pos);
- QAction* action = new QAction("Show Debug Info", 0, popup);
+ QAction* action = new QAction(popup, "Show Debug Info", 0);
action->setToggleAction(TRUE);
connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool)));
connect(this, SIGNAL(showDebugChanged(bool)), action,
SLOT(setOn(bool)));
Watching this I wonder if anybody used 'make xconfig' to configure the linux
kernel.
Or do I have a dead qt library?
Bernd
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev