Subject: Re: ncurses at Solaris 9/i386
To: Dima Veselov <kab00m@lich.phys.spbu.ru>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 01/07/2004 11:12:33
On Wed, Jan 07, 2004 at 11:28:29AM +0300, Dima Veselov wrote:
> Once again I have package, which cannot compile at my Solaris 9/i386 box.
> Building ncurses I get:
>
> /net/skeleton/export/cfarm/pkgsrc-s9-i386/devel/ncurses/work/.buildlink/bin/libtool gcc -O -o tclock ../obj_lo/tclock.o -L../lib ../lib/libform.la ../lib/libmenu.la ../lib/libpanel.la ../lib/libncurses.la -ldir -Wl,-R/usr/pkg/lib -lm
> sed: Too many commands, last: s|_bUiLdLiNk__net_skeleton_export_cfarm_pkgsrc-s9-i386_devel_ncurses_work_.buildlink#\([/ `"':;]\)|/net/skeleton/export/cfarm/pkgsrc-s9-i386/devel/ncurses/work/.buildlink\1|g
> sed: Too many commands, last: s|_bUiLdLiNk__net_skeleton_export_cfarm_pkgsrc-s9-i386_devel_ncurses_work_.buildlink#\([/ `"':;]\)|/net/skeleton/export/cfarm/pkgsrc-s9-i386/devel/ncurses/work/.buildlink\1|g
> sed: Too many commands, last: s|_bUiLdLiNk__net_skeleton_export_cfarm_pkgsrc-s9-i386_devel_ncurses_work_.buildlink#\([/ `"':;]\)|/net/skeleton/export/cfarm/pkgsrc-s9-i386/devel/ncurses/work/.buildlink\1|g
> gcc -O -o tclock ../obj_lo/tclock.o -Wl,-R/usr/pkg/lib ../lib/.libs/libform.a -L/net/skeleton/export/cfarm/pkgsrc-s9-i386/devel/ncurses/work/.buildlink/lib ../lib/.libs/libmenu.a ../lib/.libs/libpanel.a ../lib/.libs/libncurses.a
> Undefined first referenced
> symbol in file
> sin ../obj_lo/tclock.o
> cos ../obj_lo/tclock.o
> ld: fatal: Symbol referencing errors. No output written to tclock
> collect2: ld returned 1 exit status
> *** Error code 1
Looks like -lm is missing.
Thomas