|
From: Michael O. <mic...@ro...> - 2026-07-29 14:14:23
|
Greetings, I'm trying to build the new 4.0 release with Yocto. I added "mpg123" as a dependency, but I'm hitting this issue: | Making all in frontend | make[2]: Entering directory '/home/mike/work/kas/qemux86-64-master/build/tmp/work/x86-64-v3-poky-linux/lame/4.0/build/frontend' | x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/mike/work/kas/qemux86-64-master/build/tmp/work/x86-64-v3-poky-linux/lame/4.0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/lame-4.0/frontend -I.. -I../../sources/lame-4.0/include -I../../sources/lame-4.0/frontend -I../../sources/lame-4.0/libmp3lame -I../../sources/lame-4.0/include -I../../sources/lame-4.0 -I.. -Wall -pipe -O2 -g -fcanon-prefix-map -ffile-prefix-map=/home/mike/work/kas/qemux86-64-master/build/tmp/work/x86-64-v3-poky-linux/lame/4.0/sources/lame-4.0=/usr/src/debug/lame/4.0 -ffile-prefix-map=/home/mike/work/kas/qemux86-64-master/build/tmp/work/x86-64-v3-poky-linux/lame/4.0/build=/usr/src/debug/lame/4.0 -ffile-prefix-map=/home/mike/work/kas/qemux86-64-master/build/tmp/work/x86-64-v3-poky-linux/lame/4.0/recipe-sysroot= -ffile-prefix-map=/home/mike/work/kas/qemux86-64-master/build/tmp/work/x86-64-v3-poky-linux/lame/4.0/recipe-sysroot-native= -pipe -c -o parse.o ../../sources/lame-4.0/frontend/parse.c | ../../sources/lame-4.0/frontend/parse.c: In function 'set_id3v2tag': | ../../sources/lame-4.0/frontend/parse.c:413:72: error: passing argument 3 of 'id3tag_set_textinfo_utf8' from incompatible pointer type [-Wincompatible-pointer-types] | 413 | case 'a': return id3tag_set_textinfo_utf8(gfp, "TPE1", str); | | ^~~ | | | | | const short unsigned int * | In file included from ../../sources/lame-4.0/frontend/parse.c:54: | ../../sources/lame-4.0/include/lame.h:1306:76: note: expected 'const char *' but argument is of type 'const short unsigned int *' | 1306 | int CDECL id3tag_set_textinfo_utf8(lame_t gfp, char const *id, char const *text); | | ~~~~~~~~~~~~^~~~ | ../../sources/lame-4.0/frontend/parse.c:414:72: error: passing argument 3 of 'id3tag_set_textinfo_utf8' from incompatible pointer type [-Wincompatible-pointer-types] | 414 | case 't': return id3tag_set_textinfo_utf8(gfp, "TIT2", str); | | ^~~ | | | | | const short unsigned int * | ../../sources/lame-4.0/include/lame.h:1306:76: note: expected 'const char *' but argument is of type 'const short unsigned int *' | 1306 | int CDECL id3tag_set_textinfo_utf8(lame_t gfp, char const *id, char const *text); | | ~~~~~~~~~~~~^~~~ ... Does it ring a bell? Any tips are appreciated. Here's the recipe too if there are other Yocto users out there: *<----------------------------------- SUMMARY = "High quality MP3 audio encoder" DESCRIPTION = "LAME is considered as the best MP3 encoder at mid-high bitrates and at variable bitrates." HOMEPAGE = "https://lame.sourceforge.io/" BUGTRACKER = "http://sourceforge.net/tracker/?group_id=290&atid=100290" SECTION = "console/utils" LICENSE = "LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=a03aed0afc52dd24ed99db06d64a9fa3 \ file://include/lame.h;beginline=1;endline=20;md5=a2258182c593c398d15a48262130a92b \ " DEPENDS = "ncurses gettext-native mpg123" SRC_URI = "${SOURCEFORGE_MIRROR}/lame/lame-${PV}.tar.gz" SRC_URI[sha256sum] = "3df5124d5ad3a98312ffd7ba6a9b36230e4f8a3e66d3ce0f425e336c32d216eb" inherit autotools pkgconfig sourceforge-releases PACKAGES += "libmp3lame libmp3lame-dev" FILES:${PN} = "${bindir}/lame" FILES:libmp3lame = "${libdir}/libmp3lame.so.*" FILES:libmp3lame-dev = "${includedir} ${libdir}/*" FILES:${PN}-dev = "" --------------------->8 Thanks Michael. -- Root Commit Embedded Linux Training and Consulting https://rootcommit.com |