Subject: pkg/15209: xphoon needs to be linked with "-lcompat"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@mcjones.org>
List: netbsd-bugs
Date: 01/11/2002 10:54:30
>Number:         15209
>Category:       pkg
>Synopsis:       xphoon needs to be linked with "-lcompat"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 11 10:55:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul McJones
>Release:        1.5.2
>Organization:
>Environment:
NetBSD shark 1.5.2 NetBSD 1.5.2 (SHARK) #12: Sat Aug 18 06:04:05 CEST 2001     he@hai.urc.uninett.no:/usr/src/sys/arch/arm32/compile/SHARK arm32
>Description:
Building the x11/xphoon package gives this error from the link command:

gcc -o xphoon -O2      -L/usr/X11R6/lib xphoon.o moon.o phase.o dtime.o -lXext -lX11  -lm  -R/usr/X11R6/lib
dtime.o: Undefined symbol `_ftime' referenced from text segment

>How-To-Repeat:
cd /usr/pkgsrc/x11/xphoon
make
(work around bug toolchain/15208 by overriding the compile of xphoon.c with -O1)
make
>Fix:
Add -lcompat to the link command in the makefile.
>Release-Note:
>Audit-Trail:
>Unformatted: