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

unable to build mkbootfs on branch 6.0.1 #15

Open
0iras0r opened this issue Sep 5, 2016 · 5 comments
Open

unable to build mkbootfs on branch 6.0.1 #15

0iras0r opened this issue Sep 5, 2016 · 5 comments

Comments

@0iras0r
Copy link

0iras0r commented Sep 5, 2016

Hi! Like the title I unable to build mkbootfs on 6.0.1 (I tested 4.4.4 and it worked perfectly)

This the message my terminal showed:

Building mkbootimg...


Building mkbootfs...
./liblog.a(logd_write_kern.o): In function __write_to_log_kernel': logd_write_kern.c:(.text+0xc3): undefined reference to__errno'
./liblog.a(logd_write_kern.o): In function __android_log_buf_write': logd_write_kern.c:(.text+0x392): undefined reference toandroid_set_abort_message'
collect2: error: ld returned 1 exit status
make: *** [Makefile:189: mkbootfs] Error 1

Any suggestions? Thanks in advance!

@masterlies
Copy link

  1. Install sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline6-dev gcc-multilib g++-multilib libc6-dev x11proto-core-dev libx11-dev libz-dev gawk texinfo automake libtool cvs libsdl-dev
  2. Install automake-1.14

@jfrenzel
Copy link

Hi,

same poblem here. I'm on arch linux, wich always gives me recent versions of packages. But i also run in this error. I guess that some specific version of errno.h is referred.

Every advice welcome!

Regards, Jörn

@jo-elimu
Copy link

jo-elimu commented Dec 27, 2016

@ASdev I'm getting the same error on CentOS:

# make

Building mkbootfs...
./liblog.a(logd_write_kern.o): In function `__write_to_log_kernel':
logd_write_kern.c:(.text+0xc3): undefined reference to `__errno'
./liblog.a(logd_write_kern.o): In function `__android_log_buf_write':
logd_write_kern.c:(.text+0x392): undefined reference to `android_set_abort_message'
collect2: error: ld returned 1 exit status
make: *** [mkbootfs] Error 1

@lrinaldi
Copy link

lrinaldi commented Jan 14, 2017

Hi,
Same error (I'm on Archlinux) :

Building mkbootfs...
./liblog.a(logd_write_kern.o): In function __write_to_log_kernel': logd_write_kern.c:(.text+0xc3): undefined reference to __errno'
./liblog.a(logd_write_kern.o): In function __android_log_buf_write': logd_write_kern.c:(.text+0x392): undefined reference to android_set_abort_message'
collect2: error: ld returned 1 exit status
make: *** [Makefile:189: mkbootfs] Error 1

Building make_ext4fs...
./liblog.a(logd_write_kern.o): In function __write_to_log_kernel': logd_write_kern.c:(.text+0xc3): undefined reference to __errno'
./liblog.a(logd_write_kern.o): In function __android_log_buf_write': logd_write_kern.c:(.text+0x392): undefined reference to android_set_abort_message'
collect2: error: ld returned 1 exit status
make: *** [Makefile:214: make_ext4fs] Error 1

@xxRockOnxx
Copy link

Same error. Solutions?

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

6 participants