Hi,
Here's the content of my .bb file:
inherit qmake qt3x11
DESCRIPTION = "test qt 3 program"
LICENSE = "GPLv2"
PR = "r0"
DEPENDS = ""
SRC_URI = " \
file://form1.ui \
file://form1.ui.h \
file://main.cpp \
file://
test1.pro \
"
S = "${WORKDIR}"
do_install () {
install -d ${D}${bindir}/
install -m 0755 ${S} ${D}${bindir}/
}
FILES_${PN} = "${bindir}"
This is the error report I found in the
log.do_compile.<versionnumber>:
ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -
mfpu=neon -mfloat-abi=softfp -L/home/bilko/workbench/OE/angstrom-dev/
staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/
bilko/workbench/OE/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/
usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath-link,/home/bilko/
workbench/OE/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/qt3/
lib -o test1 .obj/main.o .obj/form1.o .obj/moc_form1.o -L/home/bilko/
workbench/OE/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/qt3/
lib -lqt-mt -lXext -lX11 -lm -lpthread
/home/bilko/workbench/OE/angstrom-dev/cross/armv7a/lib/gcc/arm-
angstrom-linux-gnueabi/4.3.1/../../../../arm-angstrom-linux-gnueabi/
bin/ld: warning: libstdc++.so.6, needed by /home/bilko/workbench/OE/
angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/qt3/lib/libqt-
mt.so, not found (try using -rpath or -rpath-link)
.obj/main.o: In function `main':
main.cpp:(.text+0x8c): undefined reference to `__cxa_end_cleanup'
.obj/main.o:(.ARM.extab+0x0): undefined reference to
`__gxx_personality_v0'
[...]
Well, I made a search for libstdc++.so.6 in ${OETREE}, those are the
locations where libstdc++6.so and softlinks are found:
${OETREE}/angstrom-dev/cross/armv7a/arm-angstrom-linux-gnueabi/lib/
libstdc++.so.6
${OETREE}/angstrom-dev/cross/armv7a/arm-angstrom-linux-gnueabi/lib/
libstdc++.so.6.0.10
${OETREE}/angstrom-dev/rootfs/usr/lib/libstdc++.so.6
${OETREE}/angstrom-dev/rootfs/usr/lib/libstdc++.so.6.0.10
What do you think the problem is related to?
Thanks a lot.
Caner