Subject: ftpd build fails
To: None <current-users@netbsd.org>
From: Vesa A Norrman <vnorrman@cc.hut.fi>
List: current-users
Date: 08/23/2002 18:27:52
Hello, I compile for target MACHINE hpcsh, but build.sh fails in ftpd
compile:
/usr/src/tools/obj/tools.NetBSD-1.5ZA-i386/bin/shle--netbsdelf-gcc -o ftpd -nostdlib /d/usr/lib/crt0.o /d/usr/lib/crtbegin.o cmds.o conf.o ftpd.o ftpcmd.o logutmp.o logwtmp.o popen.o ls.o cmp.o print.o stat_flags.o util.o -lcrypt -lutil -lskey -L/d/usr/lib -lgcc -lc -lgcc /d/usr/lib/crtend.o
/d/usr/lib/libutil.a(logwtmp.o): In function `logwtmp':
logwtmp.o(.text+0x0): multiple definition of `logwtmp'
logwtmp.o(.text+0x0): first defined here
/usr/src/tools/obj/tools.NetBSD-1.5ZA-i386/shle--netbsdelf/bin/ld: Warning: size of symbol `logwtmp' changed from 188 to 184 in logwtmp.o
/d/usr/lib/libutil.a(logout.o): In function `logout':
logout.o(.text+0x0): multiple definition of `logout'
logutmp.o(.text+0x104): first defined here
/usr/src/tools/obj/tools.NetBSD-1.5ZA-i386/shle--netbsdelf/bin/ld: Warning: size of symbol `logout' changed from 192 to 196 in logout.o
/d/usr/lib/libutil.a(login.o): In function `login':
login.o(.text+0x0): multiple definition of `login'
logutmp.o(.text+0x0): first defined here
/usr/src/tools/obj/tools.NetBSD-1.5ZA-i386/shle--netbsdelf/bin/ld: Warning: size of symbol `login' changed from 260 to 156 in login.o
collect2: ld returned 1 exit status
*** Error code 1
Stop.
nbmake: stopped in /usr/src/libexec/ftpd
*** Error code 1
Stop.
nbmake: stopped in /usr/src/libexec/ftpd
*** Error code 1
Stop.
nbmake: stopped in /usr/src/libexec
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
--
/`---8\
= ^ o ^ =
`-----'