This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

bitbake .ipk issue due to shared lib's (libstdc++)

Hi all,

               Regarding bitbake recipe I do have below  queries:

 

  1. I was trying to place some executables in rootfs through bitbake.Along with others, libstdc++.so.1.2 is present in that list.

              Please find the recipe below :

              But the problem I am facing is that, after bitbake compilation the ipk is getting created as libstdc++.<version>_armv7a.ipk

Instead of audio-mod_1.0-r5utcr1.6_armv7a.ipk . Observing this, I removed the libstdc++.so.1.2 from the recipe & audio-mod_1.0.tar.gz.

This time, proper  audio-mod_1.0-r5utcr1.6_armv7a.ipk is getting created. I want audio-mod to be a part of rootfs. libstdc++ I cant add to

Task recipe file. Is there anything, I am missing in bitbake recipe??

 

  1. I am having some issues with libstdc++.so and libgst_s.so. These ipks are empty basically.In my rootfs, if I don’t add  libstdc++..so.1.2

Lib in my rootfs through any bitbake, libc-dev_<version>.ipk  &  db-dev_<version>.ipk  are getting added unnecessarily. How come –dev.ipk

Packages can be added to rootfs??

Note : libc6_2.12.2-r10.6_armv7a.ipk is a part of rootfs.

These kind of shared lib’s effect I am seeing for the first time. Could anyone please tell me how to resolve this issue?

 

##################audio-mod_1.0.bb ###############################################################

DESCRIPTION = "Audio modules by Ibhrahim.It includes audio scripts and SMTool"

SECTION = "Multimedia"

PR = "r6"

PR_append = "utcr1"

SRC_URI = file://audio-mod_1.0.tar.gz

S = "${WORKDIR}/audio"

TARGET_CC_ARCH += "${LDFLAGS}"

INSANE_SKIP_${PN} = "ldflags"

EXTRA_DIR = "/home"

FILES_${PN} += "${EXTRA_DIR}/* "

do_compile() {

:

}

do_install() {

install -d ${D}${EXTRA_DIR}

install -d ${D}${EXTRA_DIR}/STM32

install -d ${D}${sysconfdir}

isntall -d ${D}${libdir}

cp -aR ${S}/BCM_TR.0012_256K_PCM_DBG* ${D}${EXTRA_DIR}/STM32/

cp -aR ${S}/Audio-scripts ${D}${EXTRA_DIR}/

cp -aR ${S}/SMTool ${D}${EXTRA_DIR}/

cp -aR ${S}/asound.conf ${D}${sysconfdir}/

cp -aR ${S}/libstd* ${D}${libdir}/

}

############################################################################################

 

With regards,

Suman Gupta