Quantcast
Channel: banana pi single board computer open source project official forum BPI team - Latest topics
Viewing all articles
Browse latest Browse all 6450

Compile swconfig for r64

$
0
0

@frank-w wrote:

Hi,

i’m trying to compile swconfig for r64, but i’m stuck

i take source from openwrt (seems the only source for it): https://github.com/openwrt-mirror/openwrt/tree/master/package/network/config/swconfig

and rewrote makefile

there are many type-mismatches and still some missing files…

is it compatible with kernel 4.19 or is it kernel-independed and needs only additional sources e.g. from https://github.com/openwrt-mirror/openwrt/tree/master/package/libs/libnl-tiny/src

tried also to clone openwrt directly and build only swconfig/src

frank@frank-N56VZ:/media/data_ext/openwrt/package/network/config/swconfig
[16:26:47]$ make
Makefile:8: /rules.mk: No such file or directory
Makefile:16: /package.mk: No such file or directory
Makefile:17: /kernel.mk: No such file or directory
make: *** No rule to make target '/kernel.mk'.  Stop.
frank@frank-N56VZ:/media/data_ext/openwrt/package/network/config/swconfig
[16:26:50]$ cd src
frank@frank-N56VZ:/media/data_ext/openwrt/package/network/config/swconfig/src
[16:27:06]$ make
cc -O2 -g -I ../src -fPIC -c -o swlib.o swlib.c
swlib.c:26:10: fatal error: linux/switch.h: No such file or directory
 #include <linux/switch.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
Makefile:9: recipe for target 'swlib.o' failed
make: *** [swlib.o] Error 1

anyone has an idea?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6450

Latest Images

Trending Articles



Latest Images