-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I cross compiled my flutter engine according the instructions in your article (flutter-on-raspberry-pi-mostly-from-scratch).
I placed flutter_embedder.h and libflutter_engine.so in the out/ directory and ran ninja, and I cannot get past this error (it has bothered me for a couple of weeks now). Any help would be greatly appreciated.
ninja: Entering directory `out'
[1/2] ⛓️ Link Executable: flutter
FAILED: obj/flutter/flutter/executables/flutter
/home/andrew/flutter_from_scratch/tools/../sdk/toolchain/bin/clang -o obj/flutter/flutter/executables/flutter --target=arm-linux-gnueabihf --sysroot /home/andrew/flutter_from_scratch/tools/../sdk/sysroot -L/home/andrew/flutter_from_scratch/tools/../sdk/sysroot//opt/vc/lib -L. -lrt -lbrcmEGL -lbrcmGLESv2 -lflutter_engine -lpthread -ldl -lbcm_host -lvcos -lvchiq_arm -lm -lstdc++ @obj/flutter/flutter/executables/flutter.rsp
/home/andrew/flutter_from_scratch/tools/../sdk/toolchain/bin/arm-linux-gnueabihf-ld: ./libflutter_engine.so: undefined reference to `fcntl64@GLIBC_2.28'
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
maxisme
Metadata
Metadata
Assignees
Labels
No labels