Forum Discussion
Altera_Forum
Honored Contributor
15 years agoPthread_create hangs program
Hi, I'm trying to compile some C++ code that uses pthread on uClinux. I'm using this toolchain: http://www.nioswiki.com/index.php?title=OperatingSystems/UClinux/BinaryToolchain I ca...
Altera_Forum
Honored Contributor
15 years agoSo I did a nios2-elf-objdump on the gdb file created and there is this line:
00000000 w *UND* 00000000 pthread_create Which seems to imply that my program isn't properly finding the pthread library. I tried to specify the path to libpthread.a by using the -L option in the MakeFile, but that did not work. Any other ideas what could be wrong?