Subject: Re: pkg/32293: wm/wmdrawer Build problems on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: pkgsrc-bugs
Date: 12/13/2005 14:00:05
The following reply was made to PR pkg/32293; it has been noted by GNATS.
From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@netbsd.org
Cc: jakerosoft@gmail.com
Subject: Re: pkg/32293: wm/wmdrawer Build problems on Solaris
Date: Tue, 13 Dec 2005 14:58:39 +0100
On Tue, 13 Dec 2005 13:55:00 +0000 (UTC)
jakerosoft@gmail.com wrote:
> >Number: 32293
> >Category: pkg
> >Synopsis: wm/wmdrawer Build problems on Solaris
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue Dec 13 13:55:00 +0000 2005
> >Originator: Jake Kupersmith
> >Release: pkgsrc
> >Organization:
> >Environment:
> SunOS 5.10 Generic sun4u sparc SUNW,Sun-Blade-100
> >Description:
> 2 Problems installing wm/wmdrawer:
>
> hashes stored in distinfo were incorrect.
> wmdrawer was not being linked with Solaris' realtime library
> correctly.
> >How-To-Repeat:
> # bmake
> ...
> gcc `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib -o wmdrawer utils.o
> config.o graphics.o images.o wmdrawer.o
> Undefined first referenced
> symbol in file
> nanosleep wmdrawer.o ld: fatal: Symbol
> referencing errors. No output written to wmdrawer
IMHO It's better to link to librt in the pkgsrc Makefile instead:
LDFLAGS.SunOS+= -lrt
Best regards.