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

编译的时候总是报错 #49

Open
renoyuan opened this issue Nov 21, 2023 · 5 comments
Open

编译的时候总是报错 #49

renoyuan opened this issue Nov 21, 2023 · 5 comments

Comments

@renoyuan
Copy link

libserverframe-1.1.23

gcc -Wall -Wformat-truncation=0 -Wformat-overflow=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -fPIC -c -o sf_nio.lo sf_nio.c -Iinclude -I/usr/local/include
In file included from /usr/include/fastcommon/fast_task_queue.h:19:0,
from sf_nio.c:38:
/usr/include/fastcommon/ioevent.h:82:2: error: #error port me
#error port me


对于 libfastcommon libserverframe fastdfs 的版本对应关系和稳定版本, 请问在哪里的可以看到啊,下载最新的编译的时候总是报错

@happyfish100
Copy link
Owner

请问你使用的是什么操作系统?

@renoyuan
Copy link
Author

请问你使用的是什么操作系统?
ubuntu1~18.04
gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0

@happyfish100
Copy link
Owner

在命令行执行 uname 输出什么呢?

@renoyuan
Copy link
Author

在命令行执行 uname 输出什么呢?
Linux

@happyfish100
Copy link
Owner

你先编译和安装 libfastcommon了吗?

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

2 participants