Subject: pkg/10825: package netatalk-asun (still) fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: Ed Gould <ed@left.wing.org>
List: netbsd-bugs
Date: 08/13/2000 17:02:14
>Number: 10825
>Category: pkg
>Synopsis: package netatalk-asun (still) fails to build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 13 17:03:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Ed Gould
>Release: -current of 12 Aug 2000
>Organization:
--
Ed Gould Palo Alto Advanced Development Compaq Computer Corp.
+1 650 853 2108 ed@pa.dec.com 130 Lytton Avenue
ed.gould@compaq.com Palo Alto, CA 94301
>Environment:
System: NetBSD rome 1.5E NetBSD 1.5E (ROME) #66: Sat Aug 12 12:27:25 PDT 2000 ed@rome:/usr/src/sys/arch/i386/compile/ROME i386
>Description:
When building afpd under -current (1.5E kernel, userland
from the same date, 12 Aug 2000), the link fails with
multiple undefined references. All of the entries in
question, however, are correctly defined in a library that
is referenced on the "cc" command (via -L../../libatalk -latalk).
The relevent output from make (run in directory
work/netatalk-1.4b2+asun2.1.3/etc/afpd after all previous steps
complete correctly) is:
cc -DBSD4_4 -Werror -I../../sys/netbsd/ -I../../include -DAPPLCNAME -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o afpd unix.o afs.o kuam.o send_to_kdc.o lifetime.o ofork.o main.o switch.o auth.o volume.o directory.o file.o enumerate.o desktop.o filedir.o fork.o appl.o gettok.o bprint.o status.o afp_options.o afp_asp.o afp_dsi.o messages.o config.o nfsquota.o codepage.o -L../../libatalk -latalk -Wl,-R/usr/pkg/lib -lcrypt -lrpcsvc -lwrap
file.o: In function `afp_exchangefiles':
file.o(.text+0x21f2): warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
main.o: In function `afp_goaway':
main.o(.text+0x3e): undefined reference to `dsi_kill'
main.o: In function `child_handler':
main.o(.text+0x23a): undefined reference to `server_child_handler'
main.o: In function `main':
main.o(.text+0x2a0): undefined reference to `server_lock'
main.o(.text+0x2d9): undefined reference to `server_child_alloc'
volume.o: In function `afp_setvolparams':
volume.o(.text+0x166a): undefined reference to `ad_setdate'
volume.o: In function `getvolparams':
volume.o(.text+0x1b0a): undefined reference to `ad_getdate'
volume.o(.text+0x1bee): undefined reference to `ad_getdate'
directory.o: In function `getdirparams':
directory.o(.text+0x654): undefined reference to `ad_getattr'
directory.o(.text+0x702): undefined reference to `ad_getdate'
directory.o(.text+0x7ae): undefined reference to `ad_getdate'
directory.o: In function `setdirparams':
directory.o(.text+0xf29): undefined reference to `ad_getattr'
directory.o(.text+0xf85): undefined reference to `ad_setattr'
directory.o(.text+0xfc7): undefined reference to `ad_setdate'
directory.o(.text+0x1007): undefined reference to `ad_setdate'
directory.o(.text+0x1083): undefined reference to `ad_setdate'
file.o: In function `getfilparams':
file.o(.text+0x14c): undefined reference to `ad_getattr'
file.o(.text+0x1c6): undefined reference to `ad_getdate'
file.o(.text+0x232): undefined reference to `ad_getdate'
file.o(.text+0x2d2): undefined reference to `ad_getdate'
file.o: In function `setfilparams':
file.o(.text+0xe10): undefined reference to `ad_getattr'
file.o(.text+0xe6d): undefined reference to `ad_setattr'
file.o(.text+0xea6): undefined reference to `ad_setdate'
file.o(.text+0xee7): undefined reference to `ad_setdate'
file.o(.text+0xf5a): undefined reference to `ad_setdate'
file.o: In function `deletefile':
file.o(.text+0x1d67): undefined reference to `ad_flock_tmplock'
file.o(.text+0x1daa): undefined reference to `ad_flock_tmplock'
file.o(.text+0x1e80): undefined reference to `ad_flock_tmplock'
file.o(.text+0x1e9d): undefined reference to `ad_flock_tmplock'
desktop.o: In function `afp_addicon':
desktop.o(.text+0x35d): undefined reference to `dsi_writeinit'
desktop.o(.text+0x36c): undefined reference to `dsi_writeflush'
desktop.o(.text+0x492): undefined reference to `dsi_writeinit'
desktop.o(.text+0x4d0): undefined reference to `dsi_writeflush'
desktop.o(.text+0x519): undefined reference to `dsi_writeflush'
desktop.o(.text+0x53d): undefined reference to `dsi_write'
desktop.o(.text+0x5b3): undefined reference to `dsi_writeflush'
desktop.o: In function `afp_geticon':
desktop.o(.text+0xc17): undefined reference to `dsi_readinit'
desktop.o(.text+0xcab): undefined reference to `dsi_read'
desktop.o(.text+0xcd6): undefined reference to `dsi_readdone'
desktop.o(.text+0xcf8): undefined reference to `dsi_readdone'
desktop.o: In function `mtoupath':
desktop.o(.text+0xf5f): undefined reference to `_dialowermap'
desktop.o: In function `utompath':
desktop.o(.text+0x11d1): undefined reference to `_dialowermap'
fork.o: In function `afp_openfork':
fork.o(.text+0x440): undefined reference to `ad_flock_lock'
fork.o(.text+0x4d2): undefined reference to `ad_flock_lock'
fork.o: In function `afp_setforkparams':
fork.o(.text+0x65d): undefined reference to `ad_dtruncate'
fork.o: In function `afp_bytelock':
fork.o(.text+0x8c4): undefined reference to `ad_flock_lock'
fork.o: In function `afp_read':
fork.o(.text+0xd2d): undefined reference to `ad_size'
fork.o(.text+0xd89): undefined reference to `ad_flock_tmplock'
fork.o(.text+0xe20): undefined reference to `ad_flock_tmplock'
fork.o(.text+0xf02): undefined reference to `dsi_readinit'
fork.o(.text+0xfb9): undefined reference to `dsi_read'
fork.o(.text+0xfe5): undefined reference to `dsi_readdone'
fork.o(.text+0x1004): undefined reference to `dsi_readdone'
fork.o(.text+0x1038): undefined reference to `ad_flock_tmplock'
fork.o(.text+0x107d): undefined reference to `ad_flock_tmplock'
fork.o: In function `flushfork':
fork.o(.text+0x1242): undefined reference to `ad_setdate'
fork.o: In function `afp_closefork':
fork.o(.text+0x139e): undefined reference to `ad_setdate'
fork.o: In function `afp_write':
fork.o(.text+0x15b6): undefined reference to `dsi_writeinit'
fork.o(.text+0x15c5): undefined reference to `dsi_writeflush'
fork.o(.text+0x1656): undefined reference to `ad_size'
fork.o(.text+0x16a0): undefined reference to `ad_flock_tmplock'
fork.o(.text+0x17cb): undefined reference to `ad_flock_tmplock'
fork.o(.text+0x1805): undefined reference to `dsi_writeinit'
fork.o(.text+0x1814): undefined reference to `dsi_writeflush'
fork.o(.text+0x183f): undefined reference to `dsi_writeinit'
fork.o(.text+0x1895): undefined reference to `dsi_writeflush'
fork.o(.text+0x18d4): undefined reference to `ad_flock_tmplock'
fork.o(.text+0x18fb): undefined reference to `dsi_write'
fork.o(.text+0x1983): undefined reference to `dsi_writeflush'
fork.o(.text+0x19c2): undefined reference to `ad_flock_tmplock'
fork.o(.text+0x1a14): undefined reference to `ad_flock_tmplock'
fork.o: In function `getforkparams':
fork.o(.text+0x1d4e): undefined reference to `ad_getattr'
fork.o(.text+0x1dd9): undefined reference to `ad_getdate'
fork.o(.text+0x1e2d): undefined reference to `ad_getdate'
fork.o(.text+0x1e81): undefined reference to `ad_getdate'
status.o: In function `status_init':
status.o(.text+0x5b0): undefined reference to `dsi_setstatus'
afp_dsi.o: In function `afp_dsi_close':
afp_dsi.o(.text+0x71): undefined reference to `dsi_close'
afp_dsi.o: In function `afp_dsi_die':
afp_dsi.o(.text+0x8b): undefined reference to `dsi_attention'
afp_dsi.o: In function `afp_dsi_timedown':
afp_dsi.o(.text+0x13d): undefined reference to `dsi_attention'
afp_dsi.o: In function `alarm_handler':
afp_dsi.o(.text+0x1ef): undefined reference to `dsi_tickle'
afp_dsi.o: In function `afp_over_dsi':
afp_dsi.o(.text+0x23a): undefined reference to `dsi_cmdreply'
afp_dsi.o(.text+0x247): undefined reference to `dsi_attention'
afp_dsi.o(.text+0x3fe): undefined reference to `dsi_stream_receive'
afp_dsi.o(.text+0x436): undefined reference to `dsi_tickle'
afp_dsi.o(.text+0x612): undefined reference to `dsi_cmdreply'
afp_dsi.o(.text+0x776): undefined reference to `dsi_cmdreply'
config.o: In function `dsi_start':
config.o(.text+0x1dd): undefined reference to `dsi_getsession'
config.o: In function `DSIConfigInit':
config.o(.text+0x5ae): undefined reference to `dsi_init'
/usr/lib/libwrap.so: undefined reference to `allow_severity'
/usr/lib/libwrap.so: undefined reference to `deny_severity'
collect2: ld returned 1 exit status
The gcc version installed is
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
However, on my old machine, still running 1.3.2, with gcc version
gcc version 2.7.2.2+myc1
uname -a yields
NetBSD left.wing.org 1.3.2 NetBSD 1.3.2 (LEFT) #9: Thu Jul 29 13:12:08 PDT 1999 ed@left.wing.org:/usr/src/netbsd-1.3.2/sys/arch/i386/compile/LEFT i386
the build completes correctly.
>How-To-Repeat:
cd pkgsrc/net/netatalk-asun
make
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: