Skip to content

Error Compiling nginx (libressl): error: 'KERN_ARND' undeclared #150

Description

@elgcsw

I am on Ubuntu Linux 16.04.4, and have been trying to compile the nginx package on the Rumprun Kernel, but every attempt shows the same error:

admin@admin-VirtualBox:~/Documents/rumprun-packages/nginx$ make
make: x86_64-rumprun-netbsd-gcc: Command not found
make -C ../libressl
make[1]: Entering directory '/home/admin/Documents/rumprun-packages/libressl'
make[1]: x86_64-rumprun-netbsd-gcc: Command not found
make -C build
make[2]: Entering directory '/home/admin/Documents/rumprun-packages/libressl/build'
Making all in crypto
make[3]: Entering directory '/home/admin/Documents/rumprun-packages/libressl/build/crypto'
  CC       compat/getentropy_netbsd.lo
compat/getentropy_netbsd.c: In function 'getentropy_sysctl':
compat/getentropy_netbsd.c:39:11: error: 'KERN_ARND' undeclared (first use in this function)
  mib[1] = KERN_ARND;
           ^
compat/getentropy_netbsd.c:39:11: note: each undeclared identifier is reported only once for each function it appears in
Makefile:3615: recipe for target 'compat/getentropy_netbsd.lo' failed
make[3]: *** [compat/getentropy_netbsd.lo] Error 1
make[3]: Leaving directory '/home/admin/Documents/rumprun-packages/libressl/build/crypto'
Makefile:452: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/admin/Documents/rumprun-packages/libressl/build'
Makefile:9: recipe for target 'build/libressl' failed
make[1]: *** [build/libressl] Error 2
make[1]: Leaving directory '/home/admin/Documents/rumprun-packages/libressl'
../Makefile.deps:3: recipe for target '/home/admin/Documents/rumprun-packages/pkgs/lib/libssl.a' failed
make: *** [/home/admin/Documents/rumprun-packages/pkgs/lib/libssl.a] Error 2

I have attempted to fix the issue using the results of other bug reports (#149 and #109), but all attempts have failed. I have also tried compiling the python3 package and the same error was triggered. If anyone can figure out how to resolve this issue, your help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions