On Sat, Mar 23, 2024 at 09:56:58PM +0500, Andrey Rakhmatullin wrote: > /bin/bash ../../libtool --tag=CC --mode=link gcc -Wall > -Wstrict-prototypes -Wnested-externs > -Werror=missing-prototypes -Werror=implicit-function- > declaration -Werror=pointer-arith > -Werror=init-self -Werror=format-security > -Werror=format=2 -Werror=missing-include-dirs > -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include > -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include > -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -pthread > -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 > -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -pthread > -I/usr/include/libmount -I/usr/include/blkid -g -O2 > -Werror=implicit-function- > declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -O0 -Wl,-z,relro > -Wl,-z,now -Wl,-O1 -o Xvnc Xvnc-Xvnc.o Xvnc-x-authority.o Xvnc-x-common.o > Xvnc- > x-server.o Xvnc-status.o -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lgio-2.0 > -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 > /tmp/ccCHYR2t.s: Assembler messages: > /tmp/ccCHYR2t.s:2779: Error: symbol `open64' is already defined > /tmp/ccCHYR2t.s:3181: Error: symbol `creat64' is already defined > /tmp/ccCHYR2t.s:3508: Error: symbol `__stat64_time64' is already defined I assume the following patch from Ubuntu fixes this:
--- a/tests/src/libsystem.c +++ b/tests/src/libsystem.c @@ -1,6 +1,9 @@ #define _GNU_SOURCE #define __USE_GNU +#undef _FILE_OFFSET_BITS +#undef _TIME_BITS + #include <config.h> #include <stdlib.h> -- WBR, wRAR
signature.asc
Description: PGP signature