* [Buildroot] make xconfig on Fedora 13 and buildroot-2010.05
@ 2010-06-05 11:10 Chris Kerios
2010-06-05 19:20 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Chris Kerios @ 2010-06-05 11:10 UTC (permalink / raw)
To: buildroot
Hey guys,
I just upgraded my laptop to Fedora 13 and ran into a problem with the
make configurator. I have all the QT3 and libstdc++ compatibility
libraries installed. Anyone else run into this yet? Works fine on my
Fedora 12 box.
Regards,
Chris
[chris at corney buildroot-2010.05]$ make xconfig
make CC="/usr/lib/ccache/gcc" -C package/config qconf
make[1]: Entering directory
`/home/chris/buildroot-2010.05/package/config' CHECK qt
make[1]: Leaving directory
`/home/chris/buildroot-2010.05/package/config'
make[1]: Entering directory
`/home/chris/buildroot-2010.05/package/config'
/usr/lib/qt-3.3/bin/moc -i qconf.h -o qconf.moc
sed < lkc_proto.h > lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
/usr/lib/ccache/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-DLOCALE -g -O2 -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt-3.3/include -D
LKC_DIRECT_LINK -c qconf.cc -o qconf.o
/usr/lib/ccache/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-DLOCALE -g -O2 -c conf.c -o conf.o
/usr/lib/ccache/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-DLOCALE -g -O2 -c kconfig_load.c -o kconfig_load.o
/usr/lib/ccache/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-DLOCALE -g -O2 -c kxgettext.c -o kxgettext.o
/usr/lib/ccache/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-DLOCALE -g -O2 -I. -c zconf.tab.c -o zconf.tab.o
/usr/lib/ccache/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-DLOCALE -g -O2 kconfig_load.o zconf.tab.o qconf.o
-L/usr/lib/qt-3.3/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender
-lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11
-lm -lSM -lICE -ldl -lpthread -ldl -o qconf
/usr/bin/ld: qconf.o: undefined reference to symbol
'__cxa_guard_abort@@CXXABI_1.3'
/usr/bin/ld: note: '__cxa_guard_abort@@CXXABI_1.3' is defined in
DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line
/usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [qconf] Error 1
make[1]: Leaving directory
`/home/chris/buildroot-2010.05/package/config'
make: *** [package/config/qconf] Error 2
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] make xconfig on Fedora 13 and buildroot-2010.05
2010-06-05 11:10 [Buildroot] make xconfig on Fedora 13 and buildroot-2010.05 Chris Kerios
@ 2010-06-05 19:20 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2010-06-05 19:20 UTC (permalink / raw)
To: buildroot
>>>>> "Chris" == Chris Kerios <ckerios@gmail.com> writes:
Chris> Hey guys,
Chris> I just upgraded my laptop to Fedora 13 and ran into a problem with the
Chris> make configurator. I have all the QT3 and libstdc++ compatibility
Chris> libraries installed. Anyone else run into this yet? Works fine on my
Chris> Fedora 12 box.
I cannot reproduce it here, but I did see that we are doing something
odd for xconfig (E.G. doing the linking step with gcc instead of
g++). I've just committed a cleanup of it to git. Could you give it a
try to see if it fixes your issue?
commit e0197d64b5c598534b8f805174ef312398a0c48b
Author: Peter Korsgaard <jacmet@sunsite.dk>
Date: Sat Jun 5 20:46:55 2010 +0200
kconfig: fix qconf (make xconfig) linking
qconf is written in C++, so use HOSTCXX instead of HOSTCC, and pass the
correct flags.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
diff --git a/package/config/Makefile b/package/config/Makefile
index a2184fa..66b54cd 100644
--- a/package/config/Makefile
+++ b/package/config/Makefile
@@ -26,7 +26,7 @@ $(host-cmulti): %: $(host-cobjs) $(host-cshlib)
$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $($@-objs) $(HOST_LOADLIBES) -o $@
$(host-cxxmulti): %: $(host-cxxobjs) $(host-cobjs) $(host-cshlib)
- $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $($@-objs) $($@-cxxobjs) $(HOSTLOADLIBES_$@) -o $@
+ $(HOSTCXX) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCXXFLAGS_$@) $($@-objs) $($@-cxxobjs) $(HOSTLOADLIBES_$@) -o $@
$(host-cobjs): %.o: %.c
$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) -c $< -o $@
--
Bye, Peter Korsgaard
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-05 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 11:10 [Buildroot] make xconfig on Fedora 13 and buildroot-2010.05 Chris Kerios
2010-06-05 19:20 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox