Hello,

On Thursday 23 June 2011 10:42:31 Emmanuel Deloget wrote:
> This patchset brings back the support for the xconfig (and the
> corresponding kernel_xconfig) top-level targets. Since these targets
> depends on qt3 (and more precisely the development packages of qt3),
> some effort has been spent to avoid bringing this huge dependency in
> OpenWRT. If the build machine has the necessary development packages,
> then the user will be able to /make [kernel_]xconfig/. Otherwise,
> a message will be printed when the suer will try to execute these
> targets.
> 
> Patch 1/4 to 3/4 in the series are necessary to add support for
> make xconfig. Patch 4/4 will add support for make kernel_xconfig only
> if Patch 3/4 has been applied (both patch are modifying the same file,
> and Patch 4/4 builds upon the tools that are added with Patch 3/4).
> 
> The patches with svn diff on svn://svn.openwrt.org/openwrt/trunk.

I gave this a try, and here is what I get with only the 3 first patches 
applied:

florian@flexo:[~/../trunk]$ make xconfig V=99
make[1]: Entering directory `/home/florian/dev/openwrt/trunk/scripts/config'
qconf.cc:26:21: fatal error: qconf.moc: No such file or directory
compilation terminated.
make[1]: *** [qconf.o] Error 1
make[1]: Leaving directory `/home/florian/dev/openwrt/trunk/scripts/config'
make: *** [scripts/config/qconf] Error 2
zsh: exit 2     make xconfig V=99

if I touch scripts/config/qconf.moc, the error is now:

make: Entering directory `/home/florian/dev/openwrt/trunk/scripts/config'
g++ -I/usr/include/qt3 -DLKC_DIRECT_LINK   -c -o qconf.o qconf.cc
cc -lqt-mt  qconf.o zconf.tab.o kconfig_load.o   -o qconf
qconf.o: In function `ConfigList::ConfigList(ConfigView*, ConfigMainWindow*, 
ConfigSettings*)':
qconf.cc:(.text+0x15d8): undefined reference to `vtable for ConfigList'
qconf.cc:(.text+0x15e4): undefined reference to `vtable for ConfigList'
qconf.o: In function `ConfigList::updateSelection()':
qconf.cc:(.text+0x1d06): undefined reference to 
`ConfigList::menuSelected(menu*)'
qconf.o: In function `ConfigList::keyPressEvent(QKeyEvent*)':
qconf.cc:(.text+0x24dc): undefined reference to `ConfigList::parentSelected()'
qconf.cc:(.text+0x257d): undefined reference to `ConfigList::parentSelected()'
qconf.cc:(.text+0x2603): undefined reference to 
`ConfigList::menuSelected(menu*)'
qconf.o: In function `ConfigList::contentsMouseReleaseEvent(QMouseEvent*)':
qconf.cc:(.text+0x2861): undefined reference to `ConfigList::parentSelected()'
qconf.cc:(.text+0x28db): undefined reference to 
`ConfigList::menuSelected(menu*)'
qconf.o: In function `ConfigList::contentsMouseDoubleClickEvent(QMouseEvent*)':
qconf.cc:(.text+0x2a12): undefined reference to `ConfigList::parentSelected()'
qconf.cc:(.text+0x2a82): undefined reference to 
`ConfigList::menuSelected(menu*)'
qconf.o: In function `ConfigList::focusInEvent(QFocusEvent*)':
qconf.cc:(.text+0x2b2c): undefined reference to `ConfigList::gotFocus()'
qconf.o: In function `ConfigView::ConfigView(QWidget*, ConfigMainWindow*, 
ConfigSettings*)':
qconf.cc:(.text+0x2b72): undefined reference to `vtable for ConfigView'
qconf.cc:(.text+0x2b7e): undefined reference to `vtable for ConfigView'
qconf.o: In function `ConfigView::~ConfigView()':
qconf.cc:(.text+0x2c7b): undefined reference to `vtable for ConfigView'
qconf.cc:(.text+0x2c87): undefined reference to `vtable for ConfigView'
qconf.o: In function `ConfigMainWindow::ConfigMainWindow()':
qconf.cc:(.text+0x2e0d): undefined reference to `vtable for ConfigMainWindow'
qconf.cc:(.text+0x2e1c): undefined reference to `vtable for ConfigMainWindow'
qconf.o: In function `ConfigLineEdit::ConfigLineEdit(ConfigView*)':
qconf.cc:
(.text._ZN14ConfigLineEditC2EP10ConfigView[_ZN14ConfigLineEditC5EP10ConfigView]+0x2f):
 
undefined reference to `vtable for ConfigLineEdit'
qconf.cc:
(.text._ZN14ConfigLineEditC2EP10ConfigView[_ZN14ConfigLineEditC5EP10ConfigView]+0x3b):
 
undefined reference to `vtable for ConfigLineEdit'
collect2: ld returned 1 exit status
make: *** [qconf] Error 1
make: Leaving directory `/home/florian/dev/openwrt/trunk/scripts/config'
zsh: exit 2     make -C scripts/config qconf


> 
> Best regards,
> 
> -- Emmanuel Deloget
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

-- 
Florian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to