wireguard issue
again error After update
Building the wireguard kernel module...
getconf: LFS_CFLAGS: unknown variable
getconf: LFS_LDFLAGS: unknown variable
getconf: LFS_LIBS: unknown variable
CC [M] /wireguard/src/main.o
/bin/sh: scripts/basic/fixdep: not found
make[2]: *** [scripts/Makefile.build:334: /wireguard/src/main.o] Error 127
make[1]: *** [Makefile:1552: _module_/wireguard/src] Error 2
make: *** [Makefile:36: module] Error 2
I don't believe #452 is related and assume this was closed accidentally. I'm still receiving the same error:
/wireguard/src # make module
getconf: LFS_CFLAGS: unknown variable
getconf: LFS_LDFLAGS: unknown variable
getconf: LFS_LIBS: unknown variable
CC [M] /wireguard/src/main.o
/bin/sh: scripts/basic/fixdep: not found
make[2]: *** [scripts/Makefile.build:334: /wireguard/src/main.o] Error 127
make[1]: *** [Makefile:1551: _module_/wireguard/src] Error 2
make: *** [Makefile:36: module] Error 2
It looks like this is because fixdep under /usr/src/ on my OS provides a binary linked to a libc with symbols alpine doesn't have.
/wireguard/src # ldd /usr/src/linux-headers-$(uname -r)/scripts/basic/fixdep
/lib64/ld-linux-x86-64.so.2 (0x7f5932369000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f5932369000)
Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __memcpy_chk: symbol not found
Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __printf_chk: symbol not found
Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __fprintf_chk: symbol not found
Is this a known issue?
you need to build your kernel with alpine as well
On Wed, Dec 19, 2018 at 11:52 PM natronkeltner [email protected] wrote:
I don't believe #452 https://github.com/jessfraz/dockerfiles/pull/452 is related and assume this was closed accidentally. I'm still receiving the same error:
/wireguard/src # make module getconf: LFS_CFLAGS: unknown variable getconf: LFS_LDFLAGS: unknown variable getconf: LFS_LIBS: unknown variable CC [M] /wireguard/src/main.o /bin/sh: scripts/basic/fixdep: not found make[2]: *** [scripts/Makefile.build:334: /wireguard/src/main.o] Error 127 make[1]: *** [Makefile:1551: module/wireguard/src] Error 2 make: *** [Makefile:36: module] Error 2
It looks like this is because fixdep under /usr/src/ on my OS provides a binary linked to a libc with symbols alpine doesn't have.
/wireguard/src # ldd /usr/src/linux-headers-$(uname -r)/scripts/basic/fixdep /lib64/ld-linux-x86-64.so.2 (0x7f5932369000) libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f5932369000) Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __memcpy_chk: symbol not found Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __printf_chk: symbol not found Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __fprintf_chk: symbol not found
Is this a known issue?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jessfraz/dockerfiles/issues/451#issuecomment-448870522, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYNbOIrcPpx7ZBr2Jl2qDrLPHyjijn-ks5u6xeegaJpZM4ZOw-3 .
--
Jessie Frazelle 4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3 pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
Sorry, I indeed closed the wrong issue with #452
again error After update
Building the wireguard kernel module... getconf: LFS_CFLAGS: unknown variable getconf: LFS_LDFLAGS: unknown variable getconf: LFS_LIBS: unknown variable CC [M] /wireguard/src/main.o /bin/sh: scripts/basic/fixdep: not found make[2]: *** [scripts/Makefile.build:334: /wireguard/src/main.o] Error 127 make[1]: *** [Makefile:1552: _module_/wireguard/src] Error 2 make: *** [Makefile:36: module] Error 2
How did you resolve this problem,I have same issue,thank you
you need to build your kernel with alpine as well … On Wed, Dec 19, 2018 at 11:52 PM natronkeltner @.***> wrote: I don't believe #452 <#452> is related and assume this was closed accidentally. I'm still receiving the same error: /wireguard/src # make module getconf: LFS_CFLAGS: unknown variable getconf: LFS_LDFLAGS: unknown variable getconf: LFS_LIBS: unknown variable CC [M] /wireguard/src/main.o /bin/sh: scripts/basic/fixdep: not found make[2]: *** [scripts/Makefile.build:334: /wireguard/src/main.o] Error 127 make[1]: *** [Makefile:1551: module/wireguard/src] Error 2 make: *** [Makefile:36: module] Error 2 It looks like this is because fixdep under /usr/src/ on my OS provides a binary linked to a libc with symbols alpine doesn't have. /wireguard/src # ldd /usr/src/linux-headers-$(uname -r)/scripts/basic/fixdep /lib64/ld-linux-x86-64.so.2 (0x7f5932369000) libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f5932369000) Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __memcpy_chk: symbol not found Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __printf_chk: symbol not found Error relocating /usr/src/linux-headers-4.15.0-42-generic/scripts/basic/fixdep: __fprintf_chk: symbol not found Is this a known issue? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#451 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYNbOIrcPpx7ZBr2Jl2qDrLPHyjijn-ks5u6xeegaJpZM4ZOw-3 . -- Jessie Frazelle 4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3 pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
how do I build the kernel with alpine,any help would be apperciated