[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] compiling busybox with static binary
From:       "Sawall, Christopher L" <CSawall () ameren ! com>
Date:       2002-12-19 12:53:03
[Download RAW message or body]

i'm hoping someone out there can help me out.

i'm trying to install busybox (latest stable version) on Mandrake 9.0.

if i leave DOSTATIC set to false, the program compiles just fine when i do a
'make'.

if i change DOSTATIC to true, the program seems to compile almost all the
way and then dumps:

/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [busybox] error 1

i have searched the net and can not seem to find anything that would help me
figure this out.

the only other changes i make from the defaults are that i uncomment:

//#define BB_INSMOD
//#define BB_PIVOT_ROOT

but i changed this for both ways of DOSTATIC and it did not effect the
outcome.

any help would be greatly appreciated.

thanks,
chris


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>compiling busybox with static binary</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">i'm hoping someone out there can help me out.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">i'm trying to install busybox (latest stable version) on \
Mandrake 9.0.</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">if i leave DOSTATIC set to false, the program compiles \
just fine when i do a 'make'.</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">if i change DOSTATIC to true, the program seems to \
compile almost all the way and then dumps:</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">/usr/bin/ld: cannot find -lc</FONT>
<BR><FONT SIZE=2 FACE="Arial">collect2: ld returned 1 exit status</FONT>
<BR><FONT SIZE=2 FACE="Arial">make: *** [busybox] error 1</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">i have searched the net and can not seem to find \
anything that would help me figure this out.</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">the only other changes i make from the defaults are that \
i uncomment:</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">//#define BB_INSMOD</FONT>
<BR><FONT SIZE=2 FACE="Arial">//#define BB_PIVOT_ROOT</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">but i changed this for both ways of DOSTATIC and it did \
not effect the outcome.</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">any help would be greatly appreciated.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">chris</FONT>
</P>

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic