[U-Boot-Users] Build system improvements?
Wolfgang Denk
wd at denx.de
Tue Jun 10 00:13:18 CEST 2003
In message <20030609214545.GF9379 at pengutronix.de> you wrote:
>
> I've fixed the link now. Note that it is from the era when kconfig was
> not yet merged with the kernel, so some things might have improved in
> the meantime. But porting it up should not be a big deal, I've done it
> several times for PTXdist recently.
Doesn't work for me:
-> make xconfig
make -C tools/lkc-1.2 libkconfig.so
make[1]: Entering directory `/tmp/u-boot/tools/lkc-1.2'
gcc -O2 -Wall -g -fPIC -c zconf.tab.c -o zconf.tab.o
gcc -shared zconf.tab.o -o libkconfig.so
make[1]: Leaving directory `/tmp/u-boot/tools/lkc-1.2'
make -C tools/lkc-1.2 qconf
make[1]: Entering directory `/tmp/u-boot/tools/lkc-1.2'
g++ -O2 -Wall -g -fPIC -I/usr/lib/qt3-gcc3.2/include -c qconf.cc -o qconf.o
In file included from qconf.cc:25:
qconf.moc:29: no `void ConfigList::initMetaObject()' member function declared
in class `ConfigList'
qconf.moc: In member function `void ConfigList::initMetaObject()':
qconf.moc:33: `badSuperclassWarning' undeclared (first use this function)
qconf.moc:33: (Each undeclared identifier is reported only once for each
function it appears in.)
In file included from qconf.cc:25:
qconf.moc: At global scope:
qconf.moc:40: prototype for `QString ConfigList::tr(const char*)' does not
match any in class `ConfigList'
qconf.h:20: candidate is: static QString ConfigList::tr(const char*, const
char* = 0)
In file included from qconf.cc:25:
qconf.moc: In static member function `static QMetaObject*
ConfigList::staticMetaObject()':
qconf.moc:78: no method `QMetaObject::new_metadata'
qconf.moc:79: no method `QMetaObject::new_metaaccess'
qconf.moc:81: `struct QMetaData' has no member named `ptr'
qconf.moc:81: `QMember' undeclared (first use this function)
qconf.moc:81: parse error before `;' token
qconf.moc:84: `struct QMetaData' has no member named `ptr'
qconf.moc:84: parse error before `;' token
qconf.moc:87: `struct QMetaData' has no member named `ptr'
qconf.moc:87: parse error before `;' token
qconf.moc:90: `struct QMetaData' has no member named `ptr'
qconf.moc:90: parse error before `;' token
qconf.moc:93: `struct QMetaData' has no member named `ptr'
qconf.moc:93: parse error before `;' token
qconf.moc:111: no method `QMetaObject::new_metadata'
qconf.moc:113: `struct QMetaData' has no member named `ptr'
qconf.moc:113: parse error before `;' token
qconf.moc:115: `struct QMetaData' has no member named `ptr'
qconf.moc:115: parse error before `;' token
qconf.moc:117: `struct QMetaData' has no member named `ptr'
qconf.moc:117: parse error before `;' token
qconf.moc:119: `struct QMetaData' has no member named `ptr'
qconf.moc:119: parse error before `;' token
qconf.moc:128: no matching function for call to `QMetaObject::new_metaobject(
const char[11], const char[10], QMetaData*&, int, QMetaData*&, int, int,
int, int, int, int, int)'
/usr/lib/qt3-gcc3.2/include/qmetaobject.h:199: candidates are: static
QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const
QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const
QMetaEnum*, int, const QClassInfo*, int)
qconf.moc:129: no matching function for call to `QMetaObject::set_slot_access(
QMetaData::Access*&)'
qconf.moc:69: warning: unused variable `void (QObject::*ov1_0)(menu*)'
qconf.moc:71: warning: unused variable `void (QObject::*ov1_1)(ConfigItem*)'
qconf.moc:73: warning: unused variable `void (QObject::*ov1_2)(ConfigItem*,
tristate)'
qconf.moc:75: warning: unused variable `void (QObject::*ov1_3)(ConfigItem*)'
qconf.moc:77: warning: unused variable `void (QObject::*ov1_4)()'
qconf.moc:104: warning: unused variable `void (QObject::*ov2_0)(menu*)'
qconf.moc:106: warning: unused variable `void (QObject::*ov2_1)()'
qconf.moc:108: warning: unused variable `void (QObject::*ov2_2)(ConfigItem*)'
qconf.moc:110: warning: unused variable `void (QObject::*ov2_3)()'
In file included from qconf.cc:25:
qconf.moc: In member function `void ConfigList::menuSelected(menu*)':
qconf.moc:161: invalid type argument of `unary *'
qconf.moc:169: invalid type argument of `unary *'
In file included from qconf.cc:25:
qconf.moc: In member function `void ConfigList::parentSelected()':
qconf.moc:180: invalid conversion from `const char*' to `int'
qconf.moc:180: initializing argument 1 of `void QObject::activate_signal(int)
'
qconf.moc: In member function `void ConfigList::symbolChanged(ConfigItem*)':
qconf.moc:206: invalid type argument of `unary *'
qconf.moc:214: invalid type argument of `unary *'
In file included from qconf.cc:25:
qconf.moc: In member function `void ConfigList::gotFocus()':
qconf.moc:225: invalid conversion from `const char*' to `int'
qconf.moc:225: initializing argument 1 of `void QObject::activate_signal(int)
'
qconf.moc: At global scope:
qconf.moc:237: no `void ConfigLineEdit::initMetaObject()' member function
declared in class `ConfigLineEdit'
In file included from qconf.cc:25:
qconf.moc:248: prototype for `QString ConfigLineEdit::tr(const char*)' does not
match any in class `ConfigLineEdit'
qconf.h:155: candidate is: static QString ConfigLineEdit::tr(const char*, const
char* = 0)
In file included from qconf.cc:25:
qconf.moc: In static member function `static QMetaObject*
ConfigLineEdit::staticMetaObject()':
qconf.moc:271: no method `QMetaObject::new_metadata'
qconf.moc:273: `struct QMetaData' has no member named `ptr'
qconf.moc:273: parse error before `;' token
qconf.moc:282: no matching function for call to `QMetaObject::new_metaobject(
const char[15], const char[10], int, int, QMetaData*&, int, int, int, int,
int, int, int)'
/usr/lib/qt3-gcc3.2/include/qmetaobject.h:199: candidates are: static
QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const
QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const
QMetaEnum*, int, const QClassInfo*, int)
qconf.moc:283: no matching function for call to `QMetaObject::set_slot_access(
QMetaData::Access*&)'
qconf.moc:270: warning: unused variable `void (QObject::*ov2_0)(ConfigItem*)'
qconf.moc: In member function `void ConfigLineEdit::lineChanged(ConfigItem*)':
qconf.moc:312: invalid type argument of `unary *'
qconf.moc:320: invalid type argument of `unary *'
In file included from qconf.cc:25:
qconf.moc: At global scope:
qconf.moc:337: no `void ConfigView::initMetaObject()' member function declared
in class `ConfigView'
In file included from qconf.cc:25:
qconf.moc:348: prototype for `QString ConfigView::tr(const char*)' does not
match any in class `ConfigView'
qconf.h:171: candidate is: static QString ConfigView::tr(const char*, const
char* = 0)
In file included from qconf.cc:25:
qconf.moc: In static member function `static QMetaObject*
ConfigView::staticMetaObject()':
qconf.moc:426: no method `QMetaObject::new_metadata'
qconf.moc:427: no method `QMetaObject::new_metaaccess'
qconf.moc:429: `struct QMetaData' has no member named `ptr'
qconf.moc:429: parse error before `;' token
qconf.moc:432: `struct QMetaData' has no member named `ptr'
qconf.moc:432: parse error before `;' token
qconf.moc:435: `struct QMetaData' has no member named `ptr'
qconf.moc:435: parse error before `;' token
qconf.moc:438: `struct QMetaData' has no member named `ptr'
qconf.moc:438: parse error before `;' token
qconf.moc:441: `struct QMetaData' has no member named `ptr'
qconf.moc:441: parse error before `;' token
qconf.moc:444: `struct QMetaData' has no member named `ptr'
qconf.moc:444: parse error before `;' token
qconf.moc:447: `struct QMetaData' has no member named `ptr'
qconf.moc:447: parse error before `;' token
qconf.moc:450: `struct QMetaData' has no member named `ptr'
qconf.moc:450: parse error before `;' token
qconf.moc:453: `struct QMetaData' has no member named `ptr'
qconf.moc:453: parse error before `;' token
qconf.moc:456: `struct QMetaData' has no member named `ptr'
qconf.moc:456: parse error before `;' token
qconf.moc:459: `struct QMetaData' has no member named `ptr'
qconf.moc:459: parse error before `;' token
qconf.moc:462: `struct QMetaData' has no member named `ptr'
qconf.moc:462: parse error before `;' token
qconf.moc:465: `struct QMetaData' has no member named `ptr'
qconf.moc:465: parse error before `;' token
qconf.moc:468: `struct QMetaData' has no member named `ptr'
qconf.moc:468: parse error before `;' token
qconf.moc:471: `struct QMetaData' has no member named `ptr'
qconf.moc:471: parse error before `;' token
qconf.moc:481: no matching function for call to `QMetaObject::new_metaobject(
const char[11], const char[12], QMetaData*&, int, int, int, int, int, int, int, int, int)'
/usr/lib/qt3-gcc3.2/include/qmetaobject.h:199: candidates are: static
QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const
QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const
QMetaEnum*, int, const QClassInfo*, int)
qconf.moc:482: no matching function for call to `QMetaObject::set_slot_access(
QMetaData::Access*&)'
qconf.moc:397: warning: unused variable `void (QObject::*ov1_0)(QListViewItem*)
'
qconf.moc:399: warning: unused variable `void (QObject::*ov1_1)(menu*)'
qconf.moc:401: warning: unused variable `void (QObject::*ov1_2)()'
qconf.moc:403: warning: unused variable `void (QObject::*ov1_3)()'
qconf.moc:405: warning: unused variable `void (QObject::*ov1_4)()'
qconf.moc:407: warning: unused variable `void (QObject::*ov1_5)()'
qconf.moc:409: warning: unused variable `void (QObject::*ov1_6)()'
qconf.moc:411: warning: unused variable `void (QObject::*ov1_7)()'
qconf.moc:413: warning: unused variable `void (QObject::*ov1_8)()'
qconf.moc:415: warning: unused variable `void (QObject::*ov1_9)()'
qconf.moc:417: warning: unused variable `void (QObject::*ov1_10)(bool)'
qconf.moc:419: warning: unused variable `void (QObject::*ov1_11)(bool)'
qconf.moc:421: warning: unused variable `void (QObject::*ov1_12)(bool)'
qconf.moc:423: warning: unused variable `void (QObject::*ov1_13)(bool)'
qconf.moc:425: warning: unused variable `void (QObject::*ov1_14)(bool)'
make[1]: *** [qconf.o] Error 1
make[1]: Leaving directory `/tmp/u-boot/tools/lkc-1.2'
make: *** [tools/lkc-1.2/qconf] Error 2
"make menuconfig" works to some extend, but it's impossible to select
any board default configuration?
How can I - for example - use this to build U-Boot for the TQM860L
board?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
I perceive a possibility of an immediate chronological sequence of
events which includes a violence.
- Terry Pratchett, _The Dark Side of the Sun_
More information about the U-Boot
mailing list