我正在尝试为Airlink AWLL6075无线n usb适配器交叉编译Realtek wifi驱动程序。芯片组显然是RTL8191SU的,我已经从Realtek下载站点获得了Linux的驱动程序。使用OpenEmbedded交叉编译ARM Linux时,编译失败,并显示以下消息:
os_dep/linux/mlme_linux.c: In function 'rtw_os_indicate_scan_done':
os_dep/linux/mlme_linux.c:222:34: error: implicit declaration of function 'wde
我想在Windows上使用等效的linux库libdns_sd.so。我正在使用QT/C++构建一个使用dns_sd.h的应用程序,我遇到了一个错误,我有:
dns_sd.h: No such file or directory
在Linux上,它与我的.pro文件中的这一行完美地结合在一起:
LIBS += /usr/lib/x86_64-linux-gnu/libdns_sd.so
我不知道要在Windows上包含什么才能让它正常工作。我在上下载了mDNSResponder,但我找不到要包含的库。
谢谢!
我将运行一个在代码中使用#include <linux/bootmem.h>的代码。当我在Linux中运行代码时,我得到以下错误
“fatal error: linux/bootmem.h: No such file or directory
#include <linux/bootmem.h>”
我怎样才能找到那个文件?我找了也找不到。
如果我找到了这个文件,我该如何使用它?将文件放在同一个目录中就足够了吗?
我在编译一个项目时遇到了麻烦,主要是链接对象。链接者抱怨:
$ g++ -o bin/program obj/linux64/Debug/src/main.o [... more object files ...] ../../../addons/obj/linux64/Debug/ofxLua/libs/lua/lua/lapi.o [...many other object files and libraries...]
../../../addons/obj/linux64/Debug/ofxLua/libs/luabind/src/scope.o: In function `~lua
我试着在linux内核源代码(2.6.18.8版本)中使用llvm- of (llvm 1.7版)编译一个驱动程序(linux/drivers/net/zorro8390.c)用于研究,但我从jiffies.h中得到了很多错误:
bash-3.2$ llvm-gcc -D__GNUCC -E -I../../include zorro8390.c -o test.o
In file included from ../../include/linux/lockdep.h:12,
from ../../include/linux/spinlock_types.h: