Skip to content

linux 编译问题 #12

@dreamflyforever

Description

@dreamflyforever

你好,请教个问题:

make
gcc -c -g -I/usr/local/include/libnl3 main.c -o main.o
In file included from main.c:5:0:
utils/wifi_scan.h:4:27: fatal error: netlink/errno.h: No such file or directory
#include <netlink/errno.h>
^
compilation terminated.
make: *** [main.o] Error 1

已经安装了sudo apt-get install libnl-3-dev libnl-genl-3-dev
请不吝请教!

谢谢!
Jim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions