Hallo und guten Morgen,
du hattest mir vor einigen Tagen geholfen bezüglich Netbeans C/C++ Remote von Windows auf einen raspberry pi.
Ich habe da noch ein weiteres Problem. Ich habe eine Applikation erstellt. Der Linker wirft nun folgende Fehlermeldungen aus:
Zitat Copying project files to /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook-Windows-x86_64 at pi@raspberrypi.fritz.box Building project files list... Checking directory structure... Checking previously uploaded files... Checking links... Uploading changed files: Checking exec permissions... Uploading changed files finished successfully. cd '/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread' /usr/bin/make -f Makefile CONF=Debug "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird betreten "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/testclassthread make[2]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird betreten mkdir -p dist/Debug/GNU-Linux g++ -o dist/Debug/GNU-Linux/testclassthread build/Debug/GNU-Linux/Timer.o build/Debug/GNU-Linux/main.o build/Debug/GNU-Linux/obScheduler.o build/Debug/GNU-Linux/obWScheduler.o -pthread /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_Destroy(tag_obWScheduler*)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…cheduler.cpp:77: undefined reference to `RPITimer::CloseTask()' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_GetTime(tag_obWScheduler*)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…cheduler.cpp:89: undefined reference to `RPITimer::GetTime()' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_GetAheadTime(tag_obWScheduler*, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…cheduler.cpp:99: undefined reference to `RPITimer::GetAheadTime(int)' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_DiffTime(tag_obWScheduler*, int, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:109: undefined reference to `RPITimer::DiffTime(int, int)' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_AddTime(tag_obWScheduler*, int, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:119: undefined reference to `RPITimer::AddTime(int, int)' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_TimePassed(tag_obWScheduler*, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:129: undefined reference to `RPITimer::TimePassed(int)' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_GetElapsedTime(tag_obWScheduler*)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:139: undefined reference to `RPITimer::GetElapsedTime()' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_CheckElapsedTime(tag_obWScheduler*, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:149: undefined reference to `RPITimer::CheckElapsedTime(int)' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_SetTimerInterrupt(tag_obWScheduler*, int, void (*)(void*), void*, int, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:160: undefined reference to `RPITimer::SetTimerInterrupt(int, void (*)(void*), void*, int, int)' /usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_Sleep(tag_obWScheduler*, int)': /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:171: undefined reference to `RPITimer::GetTime()' /usr/bin/ld: /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:176: undefined reference to `RPITimer::TimePassed(int)' collect2: error: ld returned 1 exit status make[2]: *** [nbproject/Makefile-Debug.mk:66: dist/Debug/GNU-Linux/testclassthread] Fehler 1 make[2]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird verlassen make[1]: *** [nbproject/Makefile-Debug.mk:62: .build-conf] Fehler 2 make[1]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird verlassen make: *** [nbproject/Makefile-impl.mk:40: .build-impl] Fehler 2 BUILD FAILED (exit value 2, total time: 1s) Alles anzeigen
Copying project files to /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook-Windows-x86_64 at pi@raspberrypi.fritz.box
Building project files list...
Checking directory structure...
Checking previously uploaded files...
Checking links...
Uploading changed files:
Checking exec permissions...
Uploading changed files finished successfully.
cd '/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread'
/usr/bin/make -f Makefile CONF=Debug
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird betreten
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/testclassthread
make[2]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird betreten
mkdir -p dist/Debug/GNU-Linux
g++ -o dist/Debug/GNU-Linux/testclassthread build/Debug/GNU-Linux/Timer.o build/Debug/GNU-Linux/main.o build/Debug/GNU-Linux/obScheduler.o build/Debug/GNU-Linux/obWScheduler.o -pthread
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_Destroy(tag_obWScheduler*)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…cheduler.cpp:77: undefined reference to `RPITimer::CloseTask()'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_GetTime(tag_obWScheduler*)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…cheduler.cpp:89: undefined reference to `RPITimer::GetTime()'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_GetAheadTime(tag_obWScheduler*, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…cheduler.cpp:99: undefined reference to `RPITimer::GetAheadTime(int)'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_DiffTime(tag_obWScheduler*, int, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:109: undefined reference to `RPITimer::DiffTime(int, int)'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_AddTime(tag_obWScheduler*, int, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:119: undefined reference to `RPITimer::AddTime(int, int)'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_TimePassed(tag_obWScheduler*, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:129: undefined reference to `RPITimer::TimePassed(int)'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_GetElapsedTime(tag_obWScheduler*)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:139: undefined reference to `RPITimer::GetElapsedTime()'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_CheckElapsedTime(tag_obWScheduler*, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:149: undefined reference to `RPITimer::CheckElapsedTime(int)'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_SetTimerInterrupt(tag_obWScheduler*, int, void (*)(void*), void*, int, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:160: undefined reference to `RPITimer::SetTimerInterrupt(int, void (*)(void*), void*, int, int)'
/usr/bin/ld: build/Debug/GNU-Linux/obWScheduler.o: in function `obWScheduler_Sleep(tag_obWScheduler*, int)':
/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:171: undefined reference to `RPITimer::GetTime()'
/usr/bin/ld: /home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…heduler.cpp:176: undefined reference to `RPITimer::TimePassed(int)'
collect2: error: ld returned 1 exit status
make[2]: *** [nbproject/Makefile-Debug.mk:66: dist/Debug/GNU-Linux/testclassthread] Fehler 1
make[2]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird verlassen
make[1]: *** [nbproject/Makefile-Debug.mk:62: .build-conf] Fehler 2
make[1]: Verzeichnis „/home/pi/.netbeans/remote/http://raspberrypi.fritz.box/mekis-notebook…TestClassThread“ wird verlassen
make: *** [nbproject/Makefile-impl.mk:40: .build-impl] Fehler 2
BUILD FAILED (exit value 2, total time: 1s)