Subject: pkg/15209: xphoon needs to be linked with "-lcompat"
To: None <>
From: None <>
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
>Originator:     Paul McJones
>Release:        1.5.2
NetBSD shark 1.5.2 NetBSD 1.5.2 (SHARK) #12: Sat Aug 18 06:04:05 CEST 2001 arm32
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

cd /usr/pkgsrc/x11/xphoon
(work around bug toolchain/15208 by overriding the compile of xphoon.c with -O1)
Add -lcompat to the link command in the makefile.