Subject: pkg/32148: textproc/aspell fails to build on Solaris 10
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <segv@netctl.net>
List: pkgsrc-bugs
Date: 11/23/2005 12:57:00
>Number:         32148
>Category:       pkg
>Synopsis:       textproc/aspell fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 23 12:57:00 +0000 2005
>Originator:     segv
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic sun4u sparc SUNW,Ultra-5_10
>Description:
Building aspell on Solaris 10 results in the following errors:

Undefined                       first referenced
 symbol                             in file
atoi                                common/.libs/config.o  (symbol belongs to im
plicit dependency /lib/libc.so.1)
free                                common/.libs/string.o  (symbol belongs to im
plicit dependency /lib/libc.so.1)
mmap                                modules/speller/default/.libs/readonly_ws.o 
 (symbol belongs to implicit dependency /lib/libc.so.1)
stat                                modules/speller/default/.libs/data.o  (symbo
l belongs to implicit dependency /lib/libc.so.1)

... and so on
>How-To-Repeat:

>Fix:
edit textproc/aspell/Makefile to contain the following line:

LIBS.SunOS+=            -lm -lc