[Aboriginal] Building a floppy rescue set like BG did? + "Android self-hosting" idea

Philip Rhoades phil at pricom.com.au
Fri Mar 24 07:36:53 PDT 2017


Rob,


On 2017-03-24 06:56, Rob Landley wrote:
> On 03/14/2017 06:11 PM, Philip Rhoades wrote:
>> Even if netcat works - I am still interested in building a 
>> floppy-booted
>> AL system!
> 
> You're not fitting the native toolchain on a floppy (the /usr/include
> headers alone _compress_ to multiple megabytes), and if you skip the
> native toolchain you might as well use the much simpler
> https://github.com/landley/mkroot build.


Thanks for that but see output below - although running make in the 
./build/toybox-0.7.3 dir worked OK . .


> I need to finish implementing the various targets' kernel builds, do a
> proper release of that, write up better documentation for it (probably 
> a
> big README since github displays that), and get the control images to
> run under it.


Right.


> I also need to update the aboriginal linux website to say that the
> project's concluded and mkroot is the successor. I keep starting a
> writeup and it goes off into long explanations of the history and what 
> I
> was trying to accomplish and so on... I should just finish
> http://landley.net/aboriginal/history.html


I think I have read that before but I will have another look to see if 
there is an updated version.

Also, have you thought about updating your comments in a blog or 
something re Android from the "Embedded Linux Conference 2013"?  I find 
your "Android self-hosting" argument very compelling and interesting and 
wonder how you feel about the situation now after a few years have 
passed since you made that talk.

Regards,

Phil.

Error output:

scripts/make.sh
Generate headers from toys/*/*.c...
Make generated/config.h from .config.
generated/flags.h Compile 
toybox......................................................................................................................................................../home/floppy_booted/toybox/airlock/ld: 
cannot find -lselinux
/home/floppy_booted/toybox/airlock/ld: cannot find -lcrypto
generated/obj/id.o: In function `do_id':
id.c:(.text.do_id+0x1a3): warning: Using 'getgrouplist' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/lib_xwrap.o: In function `xsetuser':
xwrap.c:(.text.xsetuser+0xb): warning: Using 'initgroups' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/lib_xwrap.o: In function `xgetgrgid':
xwrap.c:(.text.xgetgrgid+0x4): warning: Using 'getgrgid' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/lib_xwrap.o: In function `xgetgid':
xwrap.c:(.text.xgetgid+0xa): warning: Using 'getgrnam' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/lib_lib.o: In function `bufgetgrgid':
lib.c:(.text.bufgetgrgid+0x60): warning: Using 'getgrgid_r' in 
statically linked applications requires at runtime the shared libraries 
from the glibc version used for linking
generated/obj/lib_xwrap.o: In function `xgetuid':
xwrap.c:(.text.xgetuid+0xa): warning: Using 'getpwnam' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/lib_xwrap.o: In function `xgetpwuid':
xwrap.c:(.text.xgetpwuid+0x4): warning: Using 'getpwuid' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/lib_lib.o: In function `bufgetpwuid':
lib.c:(.text.bufgetpwuid+0x60): warning: Using 'getpwuid_r' in 
statically linked applications requires at runtime the shared libraries 
from the glibc version used for linking
generated/obj/lib_net.o: In function `xconnect':
net.c:(.text.xconnect+0x46): warning: Using 'getaddrinfo' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking
generated/obj/passwd.o: In function `passwd_main':
passwd.c:(.text.passwd_main+0x71): warning: Using 'getspnam' in 
statically linked applications requires at runtime the shared libraries 
from the glibc version used for linking
generated/obj/netcat.o: In function `lookup_name.constprop.1':
netcat.c:(.text.lookup_name.constprop.1+0x5): warning: Using 
'gethostbyname' in statically linked applications requires at runtime 
the shared libraries from the glibc version used for linking
generated/obj/netstat.o: In function `addr2str':
netstat.c:(.text.addr2str+0x15a): warning: Using 'getservbyport' in 
statically linked applications requires at runtime the shared libraries 
from the glibc version used for linking
collect2: error: ld returned 1 exit status
Makefile:19: recipe for target 'toybox' failed
make: *** [toybox] Error 1


-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  phil at pricom.com.au


More information about the Aboriginal mailing list