[uClinux-dev] RE: [BusyBox] Re: BusyBox `msh' doesn't work co rrectly with vfork / uClibc
JINGSONG LIU
JLiu at PacesetterElectronics.com
Tue Mar 5 14:25:36 UTC 2002
Dear sir I'm a new to uclinux and linux. My Company want to use uclinux as a
OS of our product. Target CPU is M5272 and I had M5272C3 in hand for
starting development.
I download sources and binaries from http://www.uclinux.org/ports/coldfire/
The source from http://www.uclinux.org/ports/coldfire/source.html Full
Source
Distribution : uClinux-dist-20020214.tar and a too chain :
m68k-elf-tools-20011219.tar.
My computer had two OS one is winnt and another is linux ( redhat 7.2 ) One
logic disk
Hold linux with 2G space. Another logic disk with 2G space hold
uClinux-dist-20020214.tar. I use < mount -t vfat /dev/hda1 /mnt/vfat > and
then
tar xvzf uClinux-dist-20020214.tar.gz
This is files and directory in the first level.
Directory of C:\UCLINUX\uClinux-dist
03/04/02 03:09p <DIR> .
03/04/02 03:09p <DIR> ..
03/04/02 03:09p <DIR> bin
03/04/02 04:32p <DIR> config
02/13/02 08:38p 18,007 COPYING
03/05/02 02:12p <DIR> Documentation
03/04/02 03:09p <DIR> freeswan
03/04/02 03:10p <DIR> images
03/04/02 03:10p <DIR> lib
03/04/02 04:28p <DIR> linux
03/05/02 02:07p <DIR> linux-2.4.x
02/13/02 08:38p 3,228 MAINTAINERS
02/13/02 08:38p 7,004 Makefile
02/13/02 08:38p 5,334 README
02/13/02 08:38p 1,397 SOURCE
03/04/02 03:21p <DIR> tools
03/04/02 03:21p <DIR> uClibc
03/04/02 03:22p <DIR> user
03/04/02 03:29p <DIR> vendors
03/04/02 04:31p 2,354 config.in
03/04/02 04:32p 1,990 .config
03/05/02 02:52p 0 1
03/04/02 04:32p 88 .oldconfig
03/04/02 04:31p 1,992 .config.old
03/04/02 04:31p 1,898 .config.save
03/04/02 03:59p 1,767 .tmpconfig.h
03/05/02 12:36p <DIR> bak
27 File(s) 45,059 bytes
407,863,296 bytes free
With linux login as root
cd /
tar xvzf m68k-elf-tools-20011219.tar.gz
After that cd uClinux-dist, make xconfig, make dep ane make
I got many error message !!!
[root at localhost uclinux-dist]# ls -l
total 640
-rwxr-xr-x 1 root root 1884 Mar 5 15:03 1
drwxr-xr-x 2 root root 32768 Mar 5 12:36 bak
drwxr-xr-x 2 root root 32768 Mar 4 15:09 bin
drwxr-xr-x 3 root root 32768 Mar 4 16:32 config
-rwxr-xr-x 1 root root 2354 Mar 4 16:31 config.in
-rwxr-xr-x 1 root root 18007 Feb 13 20:38 copying
drwxr-xr-x 2 root root 32768 Mar 5 14:12 Documentation
drwxr-xr-x 9 root root 32768 Mar 4 15:09 freeswan
drwxr-xr-x 2 root root 32768 Mar 4 15:10 images
drwxr-xr-x 12 root root 32768 Mar 4 15:10 lib
drwxr-xr-x 15 root root 32768 Mar 4 16:28 linux
drwxr-xr-x 15 root root 32768 Mar 5 14:07 linux-2.4.x
-rwxr-xr-x 1 root root 3228 Feb 13 20:38 MAINTAINERS
-rwxr-xr-x 1 root root 7004 Feb 13 20:38 Makefile
-rwxr-xr-x 1 root root 5334 Feb 13 20:38 readme
-rwxr-xr-x 1 root root 1397 Feb 13 20:38 source
drwxr-xr-x 3 root root 32768 Mar 4 15:21 tools
drwxr-xr-x 15 root root 32768 Mar 4 15:21 uClibc
drwxr-xr-x 2 root root 32768 Mar 4 15:22 user
drwxr-xr-x 19 root root 32768 Mar 4 15:29 vendors
[root at localhost uclinux-dist]# make
make -C linux-2.4.x || exit 1
make[1]: Entering directory `/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x'
gcc -D__KERNEL__ -I/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -c -o init/main.o init/main.c
In file included from
/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x/include/linux/highmem.h:5,
from
/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x/include/linux/pagemap.h:16,
from
/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x/include/linux/locks.h:8,
from
/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x/include/linux/devfs_fs_kernel.h:6
,
from init/main.c:16:
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:62: `PAGE_OFFSET_RAW' undeclared (first use in
this function)
/usr/include/asm/pgalloc.h:62: (Each undeclared identifier is reported only
once
/usr/include/asm/pgalloc.h:62: for each function it appears in.)
In file included from /usr/include/asm/dma.h:13,
from
/mnt/vfat/uClinux/uclinux-dist/linux-2.4.x/include/linux/bootmem.h:8,
from init/main.c:28:
/usr/include/asm/io.h: In function `virt_to_phys':
/usr/include/asm/io.h:132: `PAGE_OFFSET_RAW' undeclared (first use in this
function)
/usr/include/asm/io.h:133: warning: control reaches end of non-void function
/usr/include/asm/io.h: In function `phys_to_virt':
/usr/include/asm/io.h:137: `PAGE_OFFSET_RAW' undeclared (first use in this
function)
/usr/include/asm/io.h:138: warning: control reaches end of non-void function
/usr/include/asm/io.h: In function `isa_check_signature':
/usr/include/asm/io.h:239: `PAGE_OFFSET_RAW' undeclared (first use in this
function)
init/main.c: In function `start_kernel':
init/main.c:583: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this
function)
init/main.c:583: `PAGE_OFFSET_RAW' undeclared (first use in this function)
init/main.c:599: warning: implicit declaration of function
`pgtable_cache_init'
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/mnt/vfat/uClinux/uclinux-dist/
I don't how to make thing forward .
Would you please tell me how deal with this thing. I'm new to uclinux.
Thank you very much !
Contact info :
Pacesetter Electronics Inc
3851 Washington Ave
St.Louis MO 63108
Phone 314-531-6363E123
Jason Liu
3/5/2002
More information about the busybox
mailing list