2008-06-14 03:43:48     compiling the kernel with nfs enabled

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-14 03:43:48     compiling the kernel with nfs enabled

Juhi Sinha (INDIA)

Message: 57285   

 

Apart from the default options we enabled the nfs option while configuring the kernel:

 

make menuconfig-->filesystems-->network file systems

 

But we are getting compilation error as below:

 

*******************************************************************************************

 

shell/msh.c: In function ‘rexecve’:

shell/msh.c:3191: warning: assignment discards qualifiers from pointer target type

  AR      shell/lib.a

  LD      sysklogd/built-in.o

  CC      sysklogd/klogd.o

  CC      sysklogd/logger.o

  CC      sysklogd/syslogd.o

  AR      sysklogd/lib.a

  LD      util-linux/built-in.o

  CC      util-linux/dmesg.o

  CC      util-linux/fdisk.o

  CC      util-linux/getopt.o

  CC      util-linux/hwclock.o

  CC      util-linux/losetup.o

  CC      util-linux/mdev.o

  CC      util-linux/more.o

  CC      util-linux/mount.o

  CC      util-linux/umount.o

  AR      util-linux/lib.a

  LINK    busybox_unstripped

bfin-uclinux-strip: busybox_unstripped: File format not recognized

make[3]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user/busybox'

make[2]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user'

make: *** [subdirs] Error 1

 

shell/msh.c: In function ‘rexecve’:

shell/msh.c:3191: warning: assignment discards qualifiers from pointer target type

  AR      shell/lib.a

  LD      sysklogd/built-in.o

  CC      sysklogd/klogd.o

  CC      sysklogd/logger.o

  CC      sysklogd/syslogd.o

  AR      sysklogd/lib.a

  LD      util-linux/built-in.o

  CC      util-linux/dmesg.o

  CC      util-linux/fdisk.o

  CC      util-linux/getopt.o

  CC      util-linux/hwclock.o

  CC      util-linux/losetup.o

  CC      util-linux/mdev.o

  CC      util-linux/more.o

  CC      util-linux/mount.o

  CC      util-linux/umount.o

  AR      util-linux/lib.a

  LINK    busybox_unstripped

bfin-uclinux-strip: busybox_unstripped: File format not recognized

make[3]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user/busybox'

make[2]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user'

make: *** [subdirs] Error 1

[root@machine-33 uClinux-dist-2008R1-RC8]#

********************************************************************************

 

Please help us with this!

 

 

QuoteReplyEditDelete

 

 

2008-06-14 04:29:59     Re: compiling the kernel with nfs enabled

Mike Frysinger (UNITED STATES)

Message: 57296   

 

you didnt post any error messages.  run make with NON_SMP_BUILD=1 to see what the actual error is.

QuoteReplyEditDelete

 

 

2008-06-14 06:11:34     Re: compiling the kernel with nfs enabled

Juhi Sinha (INDIA)

Message: 57297   

 

We tried with make NON_SMP_BUILD=1

 

*****************************************************************************************************************************

 

make[3]: Entering directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user/dhcp-isc'

Making all in common

make[4]: Entering directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user/dhcp-isc/common'

bfin-uclinux-gcc -pipe -Wall -g -O2     -mcpu=bf537-0.2  -I.. -I../includes -DLINUX_MAJOR=MajorVersion -DLINUX_MINOR=MinorVersion -O2 -DEMBED -D__uClinux__ -I/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8   -mcpu=bf537-0.2  -c -o tr.o tr.c

tr.c:34: error: expected specifier-qualifier-list before ‘__u16’

tr.c: In function ‘insert_source_routing’:

tr.c:191: error: ‘struct routing_entry’ has no member named ‘rcf’

tr.c:192: error: ‘__u16’ undeclared (first use in this function)

tr.c:192: error: (Each undeclared identifier is reported only once

tr.c:192: error: for each function it appears in.)

tr.c:192: error: expected ‘;’ before ‘rcf’

tr.c:193: error: ‘struct routing_entry’ has no member named ‘rseg’

tr.c:194: error: ‘rcf’ undeclared (first use in this function)

tr.c:199: error: ‘struct routing_entry’ has no member named ‘access_time’

tr.c: In function ‘save_source_routing’:

tr.c:229: error: ‘__u16’ undeclared (first use in this function)

tr.c:229: error: expected ‘;’ before ‘rcf’

tr.c:246: error: ‘rcf’ undeclared (first use in this function)

tr.c:248: error: ‘struct routing_entry’ has no member named ‘rseg’

tr.c:248: error: ‘struct routing_entry’ has no member named ‘rseg’

tr.c:250: error: ‘struct routing_entry’ has no member named ‘rcf’

tr.c:251: error: ‘struct routing_entry’ has no member named ‘access_time’

tr.c:266: error: ‘struct routing_entry’ has no member named ‘access_time’

tr.c:271: error: ‘struct routing_entry’ has no member named ‘rseg’

tr.c:271: error: ‘struct routing_entry’ has no member named ‘rseg’

tr.c:273: error: ‘struct routing_entry’ has no member named ‘rcf’

tr.c: In function ‘expire_routes’:

tr.c:295: error: ‘struct routing_entry’ has no member named ‘access_time’

make[4]: *** [tr.o] Error 1

make[4]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user/dhcp-isc/common'

make[3]: *** [all] Error 1

make[3]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user/dhcp-isc'

make[2]: *** [dhcp-isc] Error 2

make[2]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/user'

make: *** [subdirs] Error 1

[root@machine-33 uClinux-dist-2008R1-RC8]# '/usr/share/applications/gnome-terminal.desktop'

 

QuoteReplyEditDelete

 

 

2008-06-14 07:45:03     Re: compiling the kernel with nfs enabled

Mike Frysinger (UNITED STATES)

Message: 57298   

 

do you really need dhcp-isc ?  otherwise, disable it

Attachments

    Outcomes