happyfish100 / happyfish100/libserverframe

fastcommon/shared_func.h:没有那个文件或目录

Open
#4 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
25
Forks
12
PR merge metrics
No merged PRs in 30d

Description

libserverframe

./make

fastcommon/shared_func.h:没有那个文件或目录
os:centos7 1708

[root@server2 libserverframe]# ./make.sh
gcc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -fPIC -c -o sf_nio.lo sf_nio.c -Iinclude -I/usr/local/include
sf_nio.c:33:36: 致命错误:fastcommon/shared_func.h:没有那个文件或目录
#include "fastcommon/shared_func.h"
^
编译中断。
make: *** [sf_nio.lo] 错误 1

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by running ./make.sh in the libserverframe checkout and inspect the sf_nio.c compile failure for fastcommon/shared_func.h. Check the include paths shown in the command and the project's dependency setup; done means the library builds successfully on the reported CentOS 7 environment without the missing-header error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.