Subject: misc/32334: Unable to build opensp
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <bkelly@coastsystems.net>
List: netbsd-bugs
Date: 12/19/2005 04:35:00
>Number:         32334
>Category:       misc
>Synopsis:       Unable to build opensp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 19 04:35:00 +0000 2005
>Originator:     Boyd Kelly
>Release:        pkgsrc
>Organization:
>Environment:
bash-3.00$ uname -a
Interix media 3.5 SP-8.0.1969.32 x86 Pentium III/Celeron (rev0x0803)
bash-3.00$
>Description:
When trying to build opensp build stops with following error below.  This may be fixed with OpensP 1.5.2Pre2.  Please see bug filed with the opensp guys (before I knew about netbsd on Interix!). 

https://sourceforge.net/tracker/?func=detail&atid=102115&aid=1334553&group_id=2115

Thank you,

Boyd


c++ -O -I/usr/pkgsrc/textproc/opensp/work/.buildlink/include -Wl,-R/usr/pkg/lib
-o .libs/onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsg
mls_inst.o  -L/usr/pkgsrc/textproc/opensp/work/.buildlink/lib -L../lib/.libs -lo
sp -lpthread -lintl -lc -liconv -lsocket -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr
/pkgsrc/textproc/opensp/work/.buildlink/lib
../lib/.libs/libosp.so: undefined reference to `__static_initialization_and_dest
ruction_0(int, int)'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/opensp/work/OpenSP-1.5.1/nsgmls
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/opensp/work/OpenSP-1.5.1/nsgmls
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/opensp/work/OpenSP-1.5.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/opensp/work/OpenSP-1.5.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/opensp
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/textproc/opensp/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/opensp
bash-3.00$
>How-To-Repeat:
cd /usr/pkgsrc/textproc/opensp
bmake install


>Fix: