ftp://metalab.unc.edu/pub/Linux/system/shells/ash-linux-0.2.tar.gz
I have extracted the source tarball and made the package directory
current.
make
cc -O2 -fomit-frame-pointer -m386 -DSHELL -I/usr/include/bsd -I. -s
-lbsd mkinit.c -o mkinit
mkinit.c: In function 'main':
mkinit.c:181: warning: incompatible implicit declaration of built-in
function 'exit'
mkinit.c:184: warning: incompatible implicit declaration of built-in
function 'execl'
mkinit.c: In function 'ckfopen':
mkinit.c:512: warning: incompatible implicit declaration of built-in
function 'exit'
mkinit.c: In function 'ckmalloc':
mkinit.c:520: warning: conflicting types for built-in function 'malloc'
mkinit.c: In function 'savestr':
mkinit.c:533: warning: incompatible implicit declaration of built-in
function 'strlen'
mkinit.c:534: warning: incompatible implicit declaration of built-in
function 'strcpy'
mkinit.c: In function 'error':
mkinit.c:545: warning: incompatible implicit declaration of built-in
function 'exit'
/usr/bin/ld: cannot find -lbsd <----
collect2: ld returned 1 exit status |
make: *** [mkinit] Error 1 |
|
Does anyone know how to build this? It looks like it is looking for some
sort of bsd library.
Mark.
--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
This shell version is used by the T2 distribution build kit, which is
only a couple of years old, so it must have compiled fairly recently.
I'll have a hunt through the T2 archive, and see if I can work out what
goes on during the ebuild process.
Right. It looks like there are a series of light patches to this. I
managed to apply these, and compile a working shell.
http://www.t2-project.org/packages/ash.html
Cheers,