endrazine / wcc

The Witchcraft Compiler Collection
Other
1.84k stars 107 forks source link

Ubuntu build issue #8

Closed joeyrideout closed 8 years ago

joeyrideout commented 8 years ago

After getting dependencies installed on Ubuntu 14.04 (steps here), make exits with the following warnings and errors.

The following error appears to be the only blocker: /home/ubuntu/wcc/src/wcc/wcc.c:2638: undefined reference to 'DL_COUNT'

... which is odd because utlist.h is included in the file, which should define that macro. Could use some help debugging this! Full make output is below.

make_output.txt

endrazine commented 8 years ago

Hi Joey, Thanks for fixing the installation requirements on the Readme.md : I have merged your commit. It seems like you're lacking utlist.h in your include path. I have added the uthash.h and utlist.h files directly within the /wcc/include/ directory, let me know if this fixes the problem on your setup :) Cheers, j-