Altera_Forum
Honored Contributor
11 years agoHello world example make errors
Hello,
I got follow errors when I typed in the "make -f Makefile“ This is the hellowrold example for OpenCL SDK 13.1. I think I have set up the correct paths for altera's library. But I'm using the board remotely, so I am not sure if some other libs are missing. Please advise. Thanks. make <- 2:58PM /usr/lib/x86_64-redhat-linux5E/lib64/../lib64/crt1.o: In function `_start': (.text+0x12): undefined reference to `__libc_csu_fini' /usr/lib/x86_64-redhat-linux5E/lib64/../lib64/crt1.o: In function `_start': (.text+0x19): undefined reference to `__libc_csu_init' /opt/Altera/13.1/hld/linux64/lib/libstdc++.so: undefined reference to `__tls_get_addr' /opt/Altera/13.1/hld/linux64/lib/libalteracl.so: undefined reference to `pthread_create' /opt/Altera/13.1/hld/linux64/lib/libalteracl.so: undefined reference to `pthread_detach' collect2: ld returned 1 exit status make: *** [bin/hello_world] Error 1