Hello all,
compilation fails if I enable the option CONFIG_FEATURE_MOUNT_NFS

make[1]: Entering directory 
`/home/guinevere/Min_UartLite_NetLite_Ace/buildroot/
project_build_powerpc/genepy/busybox-1.10.0'
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  HOSTCC  applets/usage
  GEN     include/usage_compressed.h
  HOSTCC  applets/applet_tables
  GEN     include/applet_tables.h
  CC      applets/applets.o
  LD      applets/built-in.o
  CC      libbb/appletlib.o
  AR      libbb/lib.a
  CC      util-linux/mount.o
  AR      util-linux/lib.a
  LINK    busybox_unstripped
Trying libraries: crypt m
Failed: -Wl,--start-group -lcrypt -lm -Wl,--end-group
Output of:
/home/guinevere/Min_UartLite_NetLite_Ace/buildroot/build_powerpc/staging_dir/usr
/bin/powerpc-linux-uclibc-gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-pr
ototypes -Wunused -Wunused-parameter -Wold-style-definition -Wmissing-prototypes
 -Wmissing-declarations -Os -fno-builtin-strlen -finline-limit=0 -fomit-frame-po
inter -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsign
ed-char -static-libgcc -falign-functions=1 -falign-jumps=1 -falign-labels=1  
-fal
ign-loops=1 -Wdeclaration-after-statement -Wno-pointer-sign -o 
busybox_unstrippe
d -Wl,--sort-common -Wl,--sort-section -Wl,alignment -Wl,--gc-sections -Wl,--sta
rt-group applets/built-in.o archival/lib.a archival/libunarchive/lib.a 
console-t
ools/lib.a coreutils/lib.a coreutils/libcoreutils/lib.a debianutils/lib.a 
e2fspr
ogs/lib.a editors/lib.a findutils/lib.a init/lib.a libbb/lib.a 
libpwdgrp/lib.a l
oginutils/lib.a miscutils/lib.a modutils/lib.a networking/lib.a 
networking/libip
route/lib.a networking/udhcp/lib.a printutils/lib.a procps/lib.a runit/lib.a 
sel
inux/lib.a shell/lib.a sysklogd/lib.a util-linux/lib.a 
util-linux/volume_id/lib.
a archival/built-in.o archival/libunarchive/built-in.o 
console-tools/built-in.o
coreutils/built-in.o coreutils/libcoreutils/built-in.o 
debianutils/built-in.o e2
fsprogs/built-in.o editors/built-in.o findutils/built-in.o init/built-in.o 
libbb
/built-in.o libpwdgrp/built-in.o loginutils/built-in.o miscutils/built-in.o 
modu
tils/built-in.o networking/built-in.o networking/libiproute/built-in.o 
networkin
g/udhcp/built-in.o printutils/built-in.o procps/built-in.o runit/built-in.o 
seli
nux/built-in.o shell/built-in.o sysklogd/built-in.o util-linux/built-in.o 
util-l
inux/volume_id/built-in.o -Wl,--end-group -Wl,--start-group -lcrypt -lm -Wl,--en
d-group
==========
util-linux/lib.a(mount.o): In function `xdr_fhstatus':
mount.c:(.text.xdr_fhstatus+0x18): undefined reference to `xdr_u_int'
mount.c:(.text.xdr_fhstatus+0x44): undefined reference to `xdr_opaque'
util-linux/lib.a(mount.o): In function `xdr_mountres3':
mount.c:(.text.xdr_mountres3+0x18): undefined reference to `xdr_enum'
mount.c:(.text.xdr_mountres3+0x28): undefined reference to `xdr_bytes'
mount.c:(.text.xdr_mountres3+0x32): undefined reference to `xdr_int'
mount.c:(.text.xdr_mountres3+0x3a): undefined reference to `xdr_int'
mount.c:(.text.xdr_mountres3+0x84): undefined reference to `xdr_array'
util-linux/lib.a(mount.o): In function `xdr_dirpath':
mount.c:(.text.xdr_dirpath+0x10): undefined reference to `xdr_string'
util-linux/lib.a(mount.o): In function `singlemount':
mount.c:(.text.singlemount+0x978): undefined reference to `pmap_getmaps'
mount.c:(.text.singlemount+0xb18): undefined reference to `clntudp_create'
mount.c:(.text.singlemount+0xb48): undefined reference to `clnttcp_create'
mount.c:(.text.singlemount+0xb6c): undefined reference to 
`clnt_spcreateerror'
mount.c:(.text.singlemount+0xb78): undefined reference to 
`authunix_create_defau
lt'
mount.c:(.text.singlemount+0xc30): undefined reference to `clnt_sperror'
mount.c:(.text.singlemount+0xdc4): undefined reference to `bindresvport'
mount.c:(.text.singlemount+0xe14): undefined reference to `pmap_getport'
mount.c:(.text.singlemount+0xf14): undefined reference to `clnt_sperror'
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] Error 1
make[1]: Leaving directory 
`/home/guinevere/Min_UartLite_NetLite_Ace/buildroot/p
roject_build_powerpc/genepy/busybox-1.10.0'
make: *** 
[/home/guinevere/Min_UartLite_NetLite_Ace/buildroot/project_build_powe
rpc/genepy/busybox-1.10.0/busybox] Error 2

I have the following:
0 $ egrep "NFS|RPC|MOUNT" 
project_build_powerpc/genepy/busybox-1.10.0/.config
CONFIG_FEATURE_HAVE_RPC=y
CONFIG_MOUNT=y
# CONFIG_FEATURE_MOUNT_FAKE is not set
CONFIG_FEATURE_MOUNT_VERBOSE=y
# CONFIG_FEATURE_MOUNT_HELPERS is not set
# CONFIG_FEATURE_MOUNT_LABEL is not set
CONFIG_FEATURE_MOUNT_NFS=y
CONFIG_FEATURE_MOUNT_CIFS=y
CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_UMOUNT=y
CONFIG_FEATURE_UMOUNT_ALL=y
CONFIG_FEATURE_MOUNT_LOOP=y
CONFIG_MOUNTPOINT=y
# CONFIG_FEATURE_INETD_RPC is not set

-- 
Guillaume Dargaud
http://www.gdargaud.net/


_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to