Rasperri PI3 : Compile error after enabling git client on Raspberri PI3 image.
Perry Couprie
perry at couprie.net
Fri Nov 4 03:55:37 PDT 2022
Hi,
I am trying to compile git for Rasperri PI3.
During the compile i get the following compiler error.
How can i fix this ?
Greetings from Amsterdam,
Perry
In file included from perl.h:5310,
from miniperlmain.c:52:
miniperlmain.c: In function 'main':
miniperlmain.c:134:36: warning: cast between incompatible function types
from 'void (*)(int)' to 'void (*)(int, siginfo_t *, void *)'
[-Wcast-function-type]
134 | rsignal(PL_sig_num[i], (Sighandler_t) SIG_DFL);
| ^
embed.h:638:54: note: in definition of macro 'rsignal'
638 | #define rsignal(a,b) Perl_rsignal(aTHX_ a,b)
| ^
/bin/ln -s
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/hostpkg/usr/bin/perl
miniperl
LD_LIBRARY_PATH=/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/perl/perl-5.28.1
./miniperl -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>' || sh -c
'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
In file included from perl.h:5310,
from miniperlmain.c:52:
miniperlmain.c: In function 'main':
miniperlmain.c:134:36: warning: cast between incompatible function types
from 'void (*)(int)' to 'void (*)(int, siginfo_t *, void *)'
[-Wcast-function-type]
134 | rsignal(PL_sig_num[i], (Sighandler_t) SIG_DFL);
| ^
embed.h:638:54: note: in definition of macro 'rsignal'
638 | #define rsignal(a,b) Perl_rsignal(aTHX_ a,b)
| ^
/bin/ln -s
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/hostpkg/usr/bin/perl
miniperl
LD_LIBRARY_PATH=/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/perl/perl-5.28.1
./miniperl -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>' || sh -c
'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
Can't locate File/Glob.pm in @INC (you may need to install the
File::Glob module) (@INC contains: lib . dist/Exporter/lib
./../lib/perl5/site_perl/5.28.1/x86_64-linux
./../lib/perl5/site_perl/5.28.1 ./../lib/perl5/5.28.1/x86_64-linux
./../lib/perl5/5.28.1) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Failed to build miniperl. Please run make minitest
make[5]: *** [Makefile:363: lib/buildcustomize.pl] Error 1
make[5]: Leaving directory
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/perl/perl-5.28.1'
make[4]: *** [Makefile:150:
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/build_dir/target-aarch64_cortex-a53_musl/perl/perl-5.28.1/.built]
Error 2
make[4]: Leaving directory
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/feeds/packages/lang/perl'
time: package/feeds/packages/perl/compile#102.10#7.08#0.00
ERROR: package/feeds/packages/perl failed to build.
make[3]: *** [package/Makefile:116: package/feeds/packages/perl/compile]
Error 1
make[3]: Leaving directory
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src'
make[2]: *** [package/Makefile:110:
/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile]
Error 2
make[2]: Leaving directory
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src'
make[1]: ***
[/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src/include/toplevel.mk:231:
world] Error 2
make[1]: Leaving directory
'/home/pclc/build-3.2/build/brcm2709/trunk/luci/RaspberryPi3/openwrt-src'
make: *** [Makefile:29: compile] Error 2
More information about the openwrt-devel
mailing list