Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ubuntu最后一步报错,怎么处理,头文件是有问题吗,怎么提示好像缺少头文件?

Open
#58 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp
Domain
build-system

Research direction

Start by reproducing the failure with make in the sqladvisor directory and inspect how sql/mysqld.h is expected to be located for the CMake target. The issue is complete when the sqladvisor target builds without the missing-header error.

Written by the indexing model from the issue text.

Description

root@XXXX:/usr/local/SQLAdvisor/SQLAdvisor-master/sqladvisor# make
Scanning dependencies of target sqladvisor
[100%] Building CXX object CMakeFiles/sqladvisor.dir/main.cc.o
/usr/local/SQLAdvisor/SQLAdvisor-master/sqladvisor/main.cc:6:24: fatal error: sql/mysqld.h: No such file or directory
#include "sql/mysqld.h"
^
compilation terminated.
make[2]: *** [CMakeFiles/sqladvisor.dir/main.cc.o] Error 1
make[1]: *** [CMakeFiles/sqladvisor.dir/all] Error 2
make: *** [all] Error 2

Dominant language
C
Stars
5.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Meituan-Dianping/SQLAdvisor

All issues in Meituan-Dianping/SQLAdvisor

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.