Subject: pkg/26628: lang/f2c won't build on Solaris
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <email@example.com>
Date: 08/11/2004 18:10:50
>Synopsis: lang/f2c won't build on Solaris
>Arrival-Date: Thu Aug 12 18:32:01 UTC 2004
>Originator: Ian Harding
SunOS unknown 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-Enterprise
lang/f2c will not build under pkgsrc under Solaris. There is a clue in work/f2c/libI77/makefile.orig:
## Under Solaris (and other systems that do not understand ld -x),
## omit -x in the ld line above.
Since this was eliminated by the patch-ae, I don't know how to kludge it.
I also notice that there is no /usr/share/mk/bsd.lib.mk on my system. I don't know if that is a problem or not...
Try to build f2c from pkgsrc on Solaris.
===> Building for f2c-20001205nb5
Making all in libI77
cd libI77 && /usr/pkg/bin/bmake all
gcc -O -I/usr/pkg/include -I/usr/pkg/include -Wcast-align -DSkip_f2c_Undefs
/usr/ccs/bin/ld: illegal option -- x