Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
elgcsw opened this issue Jan 16, 2019 · 3 comments
Open

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

elgcsw opened this issue Jan 16, 2019 · 3 comments

Comments

@elgcsw
Copy link

elgcsw commented Jan 16, 2019

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.

@kaveman-
Copy link
Member

is the cross-compiler x86_64-rumprun-netbsd-gcc in PATH?

@elgcsw
Copy link
Author

elgcsw commented Jan 16, 2019

The cross compiler was not in the PATH, but even after it was added to the path, the same error message was sent. However, it did remove the line "make: x86_64-rumprun-netbsd-gcc: Command not found" from the error messages. The main issue was not resolved though. Thank you for noticing the cross compiler issue.

@Jksun88
Copy link

Jksun88 commented Sep 19, 2019

I got the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants