pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48099: math/octave can not link to static lib archive liboctinterp.la undefined reference to `std::cerr'



The following reply was made to PR pkg/48099; it has been noted by GNATS.

From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/48099: math/octave can not link to static lib archive
 liboctinterp.la undefined reference to `std::cerr'
Date: Sun, 1 Dec 2013 22:14:42 -0800

 Unfortunately while the original problem may have been fixed,
 math/octave still does not build for
 NetBSD 6.99.28 (GENERIC) amd64 X11_TYPE=native
 
 # cc --version
 cc (NetBSD nb1 20120916) 4.5.4
 
 pkgsrc cvs updated through
 
 Module Name:    pkgsrc
 Date:           Mon Dec  2 00:17:34 UTC 2013
 
 Modified Files:
         pkgsrc/doc: TODO
 
 Log Message:
 + gnumeric112-1.12.9, poppler-0.24.4, raptor2-2.0.11, x264-devel-20131130.
 
 now with an error message:
 
 /bin/sh ../libtool --tag=CC   --mode=link gcc -O2 -g
 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5
 -I/usr/X11R7/include -pthread  -DHAVE_CONFIG_H  -Wall -W -Wshadow
 -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
 -Wwrite-strings -Wcast-align -Wcast-qual -O2 -g -I/usr/pkg/include
 -I/usr/include -I/usr/include/krb5 -I/usr/X11R7/include -pthread
 -pthread -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/include/krb5
 -I/usr/X11R7/include -pthread -no-undefined  -L/usr/pkg/lib
 -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib
 -Wl,-R/usr/X11R7/lib -o octave main.o liboctinterp.la
 ../liboctave/liboctave.la ../libcruft/libcruft.la  -lm
 libtool-fortran: link: gcc -O2 -g
 -I/usr/pkgsrc/math/octave/work/.buildlink/include -I/usr/include/krb5
 -I/usr/pkgsrc/math/octave/work/.x11-buildlink/include -pthread
 -DHAVE_CONFIG_H -Wall -W -Wshadow -Wformat -Wpointer-arith
 -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align
 -Wcast-qual -O2 -g -pthread -pthread -O2 -g -pthread
 -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -o .libs/octave main.o
 -L/usr/pkgsrc/math/octave/work/octave-3.6.4/liboctave/.libs
 -L/usr/pkgsrc/math/octave/work/octave-3.6.4/libcruft/.libs
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib
 -L/usr/pkgsrc/math/octave/work/.x11-buildlink/lib -L./.libs
 -loctinterp 
-L/usr/pkgsrc/math/octave/work/.buildlink/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2/
 
-L/usr/pkgsrc/math/octave/work/.buildlink/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2/
 
-L/usr/pkgsrc/math/octave/work/.buildlink/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2///
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2///
 -L/usr/lib// -lhdf5 -lz -lX11 -L../liboctave/.libs -loctave -lfftw3
 -lreadline -ltermcap -lcurses -lpcre -L../libcruft/.libs -lcruft
 -llapack -lblas
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2
 -lf95 -lm -pthread -Wl,-rpath,/usr/pkg/lib/octave/3.6.4
 -Wl,-rpath,/usr/pkgsrc/math/octave/work/.buildlink/lib
 
-Wl,-rpath,/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2
 /usr/lib/libstdc++.so.7: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'
 Makefile:4885: recipe for target 'octave' failed
 gmake[3]: *** [octave] Error 1
 gmake[3]: Leaving directory '/usr/pkgsrc/math/octave/work/octave-3.6.4/src'
 Makefile:4129: recipe for target 'all' failed
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory '/usr/pkgsrc/math/octave/work/octave-3.6.4/src'
 Makefile:1807: recipe for target 'all-recursive' failed
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory '/usr/pkgsrc/math/octave/work/octave-3.6.4'
 Makefile:1695: recipe for target 'all' failed
 gmake: *** [all] Error 2
 *** Error code 2
 


Home | Main Index | Thread Index | Old Index