Re: Compile the busybox source error

From: Michele Andreoli (
Date: Mon Jul 17 2000 - 10:39:46 CEST

zhengliangchen wrote:
> For I changed my place before long, I had stoped my work for some
> days.
> Today I compiled the source code of busybox,I have meet some error:
> It told me :
> swapon.c (8): swapon is not predefined.
> I had seen the eight line of the swapon.c
> It is:
> int (*MYSWAPON)(char *,int)=swapon;

This is trick of mine, introduced in order to compile busybox with
2.0.36 header.
You should try to remove MYSWAPON, or try to replace this line with:

                # define MYSWAPON swapon

or, better solution, to restore the original file, downloading the
busybox sources
from Debian.


To unsubscribe, e-mail:
For additional commands, e-mail:

This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:15 CET