
Ich folgeDasTutorial zum Einrichten des Mikrocontrollers STm32MP157C-DK2. In den Schritten zum Erstellen eines einfachen „Hallo Welt“-Programms kann ich ein Programm kompilieren und es über scp auf den STM hochladen. Wenn ich jedoch versuche, das Programm auszuführen, erhalte ich die folgende Fehlermeldung:
./gtk_hello_world: line 1: syntax error: unterminated quoted string
Irgendwelche Ideen, warum das so ist? Ich habe eine Datei namens, Makefile
in die ich den Code aus Schritt 3 eingefügt habe. Für jede Hilfe wäre ich sehr dankbar.
Hier ist die Ausgabe von $CC --version
:arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Ausgabe von file ./gtk_hello_world
:./gtk_hello_world: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=8ead7efdeb72bdb56917d3e716549f636095e92c, for GNU/Linux 3.2.0, not stripped