Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treesitter Compilation Error: undefined reference to `main' #22

Open
hglbrg opened this issue May 6, 2022 · 0 comments
Open

Treesitter Compilation Error: undefined reference to `main' #22

hglbrg opened this issue May 6, 2022 · 0 comments

Comments

@hglbrg
Copy link

hglbrg commented May 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant