Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
466
Widok
0
15/12/2022 9:01 pm
Topic starter
cant compile app, error with node-gyp
1 Answer
0
15/12/2022 9:03 pm
Topic starter
- first, check it is posible to compile simple hello world script
- nano hello.c
-
#include <stdio.h> int main (void) { printf ("Hello, world!\n"); return 0; }
- compile using gcc -Wall hello.c -o hello
- got error like this?
/usr/lib/gcc/arm-linux-gnueabihf/8/libgcc.a: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status - it's mostyl liked that file is corrupted, time to reinstall
- find package with that file,
- reinstall it apt install -f --reinstall libgcc-8-dev g++-8