nvim icon indicating copy to clipboard operation
nvim copied to clipboard

Treesitter Compilation Error: undefined reference to `main'

Open hglbrg opened this issue 4 years ago • 0 comments

image

nvim-treesitter[norg]: Error during compilation                                                                                                                               
/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':                                                                            
(.text+0x1b): undefined reference to `main'                                                                                                                                   
collect2: error: ld returned 1 exit status                                                                                                                                    
make: *** [~/.local/share/nvim/site/pack/packer/start/nvim-treesitter/scripts/compile_parsers.makefile:34: parser.so] Error 1                                      
Press ENTER or type command to continue       

This appears on launch every time. I am not comfortable digging into this blindly so any pointers or a fix would be appreciated.

hglbrg avatar May 06 '22 07:05 hglbrg