echoprint-codegen icon indicating copy to clipboard operation
echoprint-codegen copied to clipboard

Move LDFLAGS after the main object

Open mandel-macaque opened this issue 12 years ago • 2 comments

When trying to compile on Ubuntu I get the following output:

main.o: In function main: main.cxx:(.text.startup+0x293): undefined reference to pthread_create main.cxx:(.text.startup+0x3b4): undefined reference to pthread_creat' collect2: error: ld returned 1 exit status

The for the bug is that the $(LDFLAGS) are before main.o in the MakeFile.

mandel-macaque avatar Nov 29 '13 12:11 mandel-macaque

Sorry but I have no idea on how to link issues with pull requests in github. I pull request to fix the issue can be found here:

https://github.com/echonest/echoprint-codegen/pull/60

mandel-macaque avatar Nov 29 '13 12:11 mandel-macaque

For any one coming in Future here... Please change code manually .. as it has been not fixed yet as suggested by mandel-macaque

patelgr avatar May 06 '14 19:05 patelgr