Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile errors on raspbian 7 #308

Open
K1WIZ opened this issue Nov 30, 2023 · 0 comments
Open

compile errors on raspbian 7 #308

K1WIZ opened this issue Nov 30, 2023 · 0 comments

Comments

@K1WIZ
Copy link

K1WIZ commented Nov 30, 2023

YSFClients# make
make -C DGIdGateway
make[1]: Entering directory '/root/YSFClients/DGIdGateway'
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o APRSWriter.o APRSWriter.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Conf.o Conf.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o CRC.o CRC.cpp
echo "const char *gitversion = "f7f94b3ca1aa145fd12ff839f738b84db6a34cf0";" > GitVersion.h
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o DGIdGateway.o DGIdGateway.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o DGIdNetwork.o DGIdNetwork.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o FCSNetwork.o FCSNetwork.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Golay24128.o Golay24128.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o GPS.o GPS.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o IMRSNetwork.o IMRSNetwork.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Log.o Log.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o StopWatch.o StopWatch.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Sync.o Sync.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Thread.o Thread.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Timer.o Timer.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o UDPSocket.o UDPSocket.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o Utils.o Utils.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o YSFConvolution.o YSFConvolution.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o YSFFICH.o YSFFICH.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o YSFNetwork.o YSFNetwork.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o YSFPayload.o YSFPayload.cpp
c++ -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -c -o YSFReflectors.o YSFReflectors.cpp
c++ APRSWriter.o Conf.o CRC.o DGIdGateway.o DGIdNetwork.o FCSNetwork.o Golay24128.o GPS.o IMRSNetwork.o Log.o StopWatch.o Sync.o Thread.o Timer.o UDPSocket.o Utils.o YSFConvolution.o YSFFICH.o YSFNetwork.o YSFPayload.o YSFReflectors.o -g -O3 -Wall -DHAVE_LOG_H -std=c++0x -pthread -lm -lpthread -o DGIdGateway
StopWatch.o: In function CStopWatch::start()': /root/YSFClients/DGIdGateway/StopWatch.cpp:88: undefined reference to clock_gettime'
StopWatch.o: In function CStopWatch::elapsed()': /root/YSFClients/DGIdGateway/StopWatch.cpp:98: undefined reference to clock_gettime'
collect2: ld returned 1 exit status
Makefile:21: recipe for target 'DGIdGateway' failed
make[1]: *** [DGIdGateway] Error 1
make[1]: Leaving directory '/root/YSFClients/DGIdGateway'
Makefile:8: recipe for target 'DGIdGateway' failed
make: *** [DGIdGateway] Error 2
root@D-SPOT:~/YSFClients# cat /etc/issue
Raspbian GNU/Linux 7 \n \l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant