Повідомлення створено: 31. 08. 2023 [12:52]
|
dudanov
Sergey Dudanov
Автор теми
Зареєстрован(а) с: 14.08.2013
Повідомлення: 26
|
Hello.
In revision 2914, changes were made to the configure.ac. Among the changes is a change in the libintl check. As a result, the build process ends with a linking error finding symbols (-lintl is not passed to the linker).
I did not quite understand why and for what purposes the changes were made, otherwise I could have offered an alternative solution.
The log output is below. The C system library is musl.
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /tmp/openscada/src/.libs/liboscada.so: undefined reference to `libintl_bindtextdomain'
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /tmp/openscada/src/.libs/liboscada.so: undefined reference to `libintl_dgettext'
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /tmp/openscada/src/.libs/liboscada.so: undefined reference to `libintl_textdomain'
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /tmp/openscada/src/.libs/liboscada.so: undefined reference to `_nl_msg_cat_cntr'
Thanks.
[Повідомлення редагувалось 5 раз(ів), останній раз 31.08.2023 в 13:21.]
# rm -rf /bin/laden
|
Повідомлення створено: 31. 08. 2023 [14:47]
|
roman
Roman Savochenko
Moderator Contributor Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
|
"dudanov" wrote:
In revision 2914, changes were made to the configure.ac. Among the changes is a change in the libintl check. As a result, the build process ends with a linking error finding symbols (-lintl is not passed to the linker).
Yes, I have adapted the building to R6220(MIPS) with no internationalisation in whole but with presence mostly empty libintl.h, so I added the declaration checking of the function bindtextdomain() but I wrong recalled the line "AC_SEARCH_LIBS(libintl_bindtextdomain, [intl])".
Try the included patch now!
Learn, learn and learn better than work, work and work.
Вкладений файл
intl.patch (Тип файлу: text/x-patch, Розмір: 829 байтів) — 440 завантажень
|
Повідомлення створено: 31. 08. 2023 [15:10]
|
dudanov
Sergey Dudanov
Автор теми
Зареєстрован(а) с: 14.08.2013
Повідомлення: 26
|
Yes, the patch works great! Build proceeds without errors.
Looking forward to the next revision with a fix.
Thanks Roman.
# rm -rf /bin/laden
|