ecco l'output che ottengo compilando il file main.c
codice:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/user/NetBeansProjects/prova'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/prova
make[2]: Entering directory `/home/user/NetBeansProjects/prova'
mkdir -p build/Debug/GNU-Linux-x86
rm -f build/Debug/GNU-Linux-x86/main.o.d
gcc -c -g -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.c
mkdir -p dist/Debug/GNU-Linux-x86
gcc -o dist/Debug/GNU-Linux-x86/prova build/Debug/GNU-Linux-x86/main.o structures-config --libs --static
gcc: error: structures-config: No such file or directory
gcc: error: unrecognized option ‘--libs’
make[2]: *** [dist/Debug/GNU-Linux-x86/prova] Error 1
make[2]: Leaving directory `/home/user/NetBeansProjects/prova'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/home/user/NetBeansProjects/prova'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 302ms)
non capisco a cosa sono dovuti gli errori
gcc: error: structures-config: No such file or directory
gcc: error: unrecognized option ‘--libs’
compilando da terminale attraverso gcc main.c -o provamain -lrt la compilazione va a buon fine...