Dear Users,
For my embedded project I am using Altera Nios2-cycloneII-2c35
processor. The embedded OS I am using is uClinux. After enabling the
net-snmp through make menuconfig, and compiling by make command, I got
the following error message. The error message log file,
Error_shared.txt,
is attached along with this mail for your further reference. Kindly go
through the error and give the guidelines how to enable net-snmp demon in
uClinux.
Thanks & Regards,
U.Purushotham Rao,
EE, NMS Group(R&D),
ITI Limited,
Bangalore - 560 016.
line>:14:1: warning: this is the location of the previous definition
CC libbb/xgethostbyname.o
In file included from libbb/xgethostbyname.c:11:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC libbb/xreadlink.o
In file included from libbb/xreadlink.c:7:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
AR libbb/lib.a
LD libpwdgrp/built-in.o
CC libpwdgrp/uidgid_get.o
In file included from libpwdgrp/uidgid_get.c:28:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
AR libpwdgrp/lib.a
LD loginutils/built-in.o
AR loginutils/lib.a
LD miscutils/built-in.o
AR miscutils/lib.a
LD modutils/built-in.o
CC modutils/insmod.o
In file included from modutils/insmod.c:61:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
modutils/insmod.c: In function `arch_apply_relocation':
modutils/insmod.c:856: warning: unused variable `ifile'
modutils/insmod.c: At top level:
modutils/insmod.c:1805: warning: unused parameter 'f'
modutils/insmod.c:853: warning: unused parameter 'sym'
CC modutils/lsmod.o
In file included from modutils/lsmod.c:14:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC modutils/modprobe.o
In file included from modutils/modprobe.c:14:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC modutils/rmmod.o
In file included from modutils/rmmod.c:10:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
AR modutils/lib.a
LD networking/built-in.o
CC networking/ftpgetput.o
In file included from networking/ftpgetput.c:17:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/ifconfig.o
In file included from networking/ifconfig.c:40:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/interface.o
In file included from networking/interface.c:37:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/netstat.o
In file included from networking/netstat.c:14:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/ping.o
In file included from networking/ping.c:30:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/route.o
In file included from networking/route.c:32:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/telnet.o
In file included from networking/telnet.c:27:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC networking/wget.o
In file included from networking/wget.c:10:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
AR networking/lib.a
LD networking/libiproute/built-in.o
AR networking/libiproute/lib.a
LD networking/udhcp/built-in.o
AR networking/udhcp/lib.a
LD printutils/built-in.o
AR printutils/lib.a
LD procps/built-in.o
AR procps/lib.a
LD runit/built-in.o
AR runit/lib.a
LD selinux/built-in.o
AR selinux/lib.a
LD shell/built-in.o
AR shell/lib.a
LD sysklogd/built-in.o
AR sysklogd/lib.a
LD util-linux/built-in.o
CC util-linux/dmesg.o
In file included from util-linux/dmesg.c:13:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
CC util-linux/mount.o
In file included from util-linux/mount.c:23:
include/libbb.h:740:1: warning: "fork" redefined
<command line>:14:1: warning: this is the location of the previous definition
AR util-linux/lib.a
LD util-linux/volume_id/built-in.o
AR util-linux/volume_id/lib.a
LINK busybox_unstripped
Trying libraries: crypt m
Library crypt is not needed
Library m is not needed
Final link with: <none>
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/busybox'
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user'
make: *** [subdirs] Error 1
[r...@localhost uClinux-dist_bkp]# make menuconfig
config/mkconfig > Kconfig
/usr/vivek/uClinux-dist_bkp/config/kconfig/mconf Kconfig
#
# configuration written to .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp'
make ARCH=nios2nommu -C config menuconfig
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/config'
/usr/vivek/uClinux-dist_bkp/config/kconfig/mconf Kconfig
#
# configuration written to .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/config'
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp'
[r...@localhost uClinux-dist_bkp]# make
make -C tools/ucfront
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/tools/ucfront'
ln -sf /usr/vivek/uClinux-dist_bkp/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /usr/vivek/uClinux-dist_bkp/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /usr/vivek/uClinux-dist_bkp/tools/ucfront/ucfront-ld tools/ucfront-ld
chmod +x tools/romfs-inst.sh tools/modules-alias.sh
echo " I am here"
I am here
. linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then \
mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; \
touch $CONFIG_INITRAMFS_SOURCE || exit 1; \
fi
dirname: extra operand
`/usr/vivek/uClinux-dist_bkp/vendors/Altera/nios2nommu/romfs_list'
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
echo " Tracking two"
Tracking two
make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -j8 -C linux-2.6.x
zImage || exit 1
no emulation specific options.
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp/linux-2.6.x'
CHK include/nios2_system.h
perl -I/usr/vivek/uClinux-dist_bkp/linux-2.6.x/arch/nios2nommu/scripts
/usr/vivek/uClinux-dist_bkp/linux-2.6.x/arch/nios2nommu/scripts/gen_nios2_system.h.pl
cpu ddr_sdram_0 ext_flash <
/usr/vivek/NiosII_cycloneII_2c35_full_featured_sopc.ptf >
include/nios2_system.h.tmp; if [ -r include/nios2_system.h ] && cmp -s
include/nios2_system.h include/nios2_system.h.tmp; then rm -f
include/nios2_system.h.tmp; else echo ' UPD include/nios2_system.h'; mv -f
include/nios2_system.h.tmp include/nios2_system.h; fi
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GEN usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
OBJCOPY arch/nios2nommu/boot/compressed/vmlinux.bin
GZIP arch/nios2nommu/boot/compressed/vmlinux.bin.gz
LD arch/nios2nommu/boot/compressed/piggy.o
LD arch/nios2nommu/boot/compressed/vmlinux
OBJCOPY arch/nios2nommu/boot/zImage
Kernel: arch/nios2nommu/boot/zImage is ready
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/linux-2.6.x'
if [ -f linux-2.6.x/vmlinux ]; then \
ln -f linux-2.6.x/vmlinux linux-2.6.x/linux ; \
fi
. linux-2.6.x/.config; if [ "$CONFIG_MODULES" = "y" ]; then \
[ -d linux-2.6.x/modules ] || mkdir linux-2.6.x/modules; \
make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C
linux-2.6.x modules; \
fi
for dir in include lib include user ; do [ ! -d $dir ] || make ARCH=nios2nommu
-C $dir || exit 1 ; done
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
make -j1 -C ../include || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
[ -z "uClibc" ] ||\
make -j8 uClibc || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
[ ! -d "uClibc" ] || ( touch uClibc/.sgbuilt_lib && make -j1 -C uClibc ) ||
exit $?
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/uClibc'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make[4]: `conf' is up to date.
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/uClibc'
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "" ] ||\
make -j8 || exit $?
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
[ -z "/usr/vivek/uClinux-dist_bkp/prop" ] ||\
make -j8 /usr/vivek/uClinux-dist_bkp/prop || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
[ ! -d "/usr/vivek/uClinux-dist_bkp/prop" ] || ( touch
/usr/vivek/uClinux-dist_bkp/prop/.sgbuilt_lib && make -j1 -C
/usr/vivek/uClinux-dist_bkp/prop ) || exit $?
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
make -j1 -C ../include
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make make_links || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/lib'
Making symlinks in lib/
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/lib'
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
Checking for modern c++ bits,
/home/nios2-linux/toolchain-build/build/nios2/nios2-linux-uclibc/include/c++/3.4.6/nios2-linux-uclibc/./bits
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/include'
make[1]: Entering directory `/usr/vivek/uClinux-dist_bkp/user'
make -j8 /usr/vivek/uClinux-dist_bkp/prop
/usr/vivek/uClinux-dist_bkp/vendors/Altera/nios2nommu/. cgi_generic debug games
init net-snmp sash snmpd || exit $?
make[2]: Entering directory `/usr/vivek/uClinux-dist_bkp/user'
[ ! -d "/usr/vivek/uClinux-dist_bkp/prop" ] || ( touch
/usr/vivek/uClinux-dist_bkp/prop/.sgbuilt_user && make -j1 -C
/usr/vivek/uClinux-dist_bkp/prop ) || exit $?
make[2]: Nothing to be done for
`/usr/vivek/uClinux-dist_bkp/vendors/Altera/nios2nommu/.'.
[ ! -d "cgi_generic" ] || ( touch cgi_generic/.sgbuilt_user && make -j1 -C
cgi_generic ) || exit $?
[ ! -d "debug" ] || ( touch debug/.sgbuilt_user && make -j1 -C debug ) || exit
$?
[ ! -d "games" ] || ( touch games/.sgbuilt_user && make -j1 -C games ) || exit
$?
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/cgi_generic'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/cgi_generic'
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/debug'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: `debug' is up to date.
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/debug'
[ ! -d "init" ] || ( touch init/.sgbuilt_user && make -j1 -C init ) || exit $?
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/games'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
for i in dummy ; do \
[ $i = dummy ] || make -C $i || exit ; \
done
[ ! -d "net-snmp" ] || ( touch net-snmp/.sgbuilt_user && make -j1 -C net-snmp )
|| exit $?
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/games'
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/init'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/init'
[ ! -d "sash" ] || ( touch sash/.sgbuilt_user && make -j1 -C sash ) || exit $?
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/net-snmp'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make xEXT=a xDIR= -C build
make[4]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/net-snmp/build'
WARNING: not running autoheader
making all in /usr/vivek/uClinux-dist_bkp/user/net-snmp/build/snmplib
make[5]: Entering directory
`/usr/vivek/uClinux-dist_bkp/user/net-snmp/build/snmplib'
[ ! -d "snmpd" ] || ( touch snmpd/.sgbuilt_user && make -j1 -C snmpd ) || exit
$?
/bin/sh ../libtool --mode=link nios2-linux-uclibc-gcc -D__deprecated=
-D__deprecated= -Dlinux -rpath /lib -version-info 7:1:2 -o libnetsnmp.la
snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo snmp_auth.lo asn1.lo md5.lo
snmp_parse_args.lo system.lo vacm.lo int64.lo read_config.lo snmp_debug.lo
tools.lo snmp_logging.lo snmpv3.lo lcd_time.lo keytools.lo scapi.lo
callback.lo default_store.lo snmp_alarm.lo data_list.lo oid_stash.lo
mt_support.lo snmp_enum.lo snmp-tc.lo snprintf.lo strlcpy.lo strtol.lo
strtoul.lo strtok_r.lo snmp_transport.lo snmpUDPDomain.lo snmpTCPDomain.lo
snmpUnixDomain.lo snmpCallbackDomain.lo snmp_secmod.lo snmpusm.lo
snmp_version.lo check_varbind.lo container.lo container_binary_array.lo
container_null.lo container_list_ssll.lo container_iterator.lo cmu_compat.lo
ucd_compat.lo
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/sash'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make -C libsash
make[3]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/snmpd'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
for i in snmplib modules snmpd ; do make -C $i all || exit ; done
make[4]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/sash/libsash'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/sash/libsash'
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/sash'
make[4]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/snmpd/snmplib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/snmpd/snmplib'
make[4]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/snmpd/modules'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/snmpd/modules'
rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
make[4]: Entering directory `/usr/vivek/uClinux-dist_bkp/user/snmpd/snmpd'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/snmpd/snmpd'
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/snmpd'
nios2-linux-uclibc-gcc -D__deprecated= -shared snmp_client.lo mib.lo parse.lo
snmp_api.lo snmp.lo snmp_auth.lo asn1.lo md5.lo snmp_parse_args.lo system.lo
vacm.lo int64.lo read_config.lo snmp_debug.lo tools.lo snmp_logging.lo
snmpv3.lo lcd_time.lo keytools.lo scapi.lo callback.lo default_store.lo
snmp_alarm.lo data_list.lo oid_stash.lo mt_support.lo snmp_enum.lo snmp-tc.lo
snprintf.lo strlcpy.lo strtol.lo strtoul.lo strtok_r.lo snmp_transport.lo
snmpUDPDomain.lo snmpTCPDomain.lo snmpUnixDomain.lo snmpCallbackDomain.lo
snmp_secmod.lo snmpusm.lo snmp_version.lo check_varbind.lo container.lo
container_binary_array.lo container_null.lo container_list_ssll.lo
container_iterator.lo cmu_compat.lo ucd_compat.lo -Wl,-soname
-Wl,libnetsnmp.so.5 -o .libs/libnetsnmp.so.5.2.1
nios2-linux-uclibc-gcc: unrecognized option `-shared'
/home/nios2-linux/toolchain-build/build/nios2/lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/lib/crt1.o(.text+0x10):
In function `_start':
: undefined reference to `main'
/home/nios2-linux/toolchain-build/build/nios2/lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/lib/crt1.o(.text+0x14):
In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make[5]: *** [libnetsnmp.la] Error 1
make[5]: Leaving directory
`/usr/vivek/uClinux-dist_bkp/user/net-snmp/build/snmplib'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/net-snmp/build'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user/net-snmp'
make[2]: *** [net-snmp] Error 2
make[2]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/vivek/uClinux-dist_bkp/user'
make: *** [subdirs] Error 1
[r...@localhost uClinux-dist_bkp]# nios2-linux-uclibc-gcc
auto.conf .config Documentation/ Kconfig linux-2.6.x/
openswan/ tools/
autoconf.h config.arch freeswan/ lib/ Makefile
README uClibc/
bin/ .config.old images/ linux-2.0.x/ Makefile.bkp
romfs/ user/
config/ COPYING include/ linux-2.4.x/ .oldconfig
SOURCE vendors/
[r...@localhost uClinux-dist_bkp]# nios2-linux-uclibc-gcc -v
Reading specs from
/home/nios2-linux/toolchain-build/build/nios2/lib/gcc/nios2-linux-uclibc/3.4.6/specs
Configured with: /home/nios2-linux/toolchain-build/../gcc3/configure
--prefix=/home/nios2-linux/toolchain-build/build/nios2
--target=nios2-linux-uclibc --enable-languages=c,c++ --disable-__cxa_atexit
--enable-target-optspace --with-gnu-ld --enable-shared --disable-nls
--enable-threads --enable-multilib --enable-cxx-flags=-static
Thread model: posix
gcc version 3.4.6
[r...@localhost uClinux-dist_bkp]#
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users