[Bug 242154] cad/netgen linker error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 22 11:18:50 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242154
Bug ID: 242154
Summary: cad/netgen linker error
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: stephen at FreeBSD.org
Reporter: smars at yuntech.edu.tw
Assignee: stephen at FreeBSD.org
Flags: maintainer-feedback?(stephen at FreeBSD.org)
LINKER ERROR
libtool: link: c++ -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fopenmp
-fstack-protector-strong -o .libs/netgen demoview.o ngappinit.o onetcl.o
parallelfunc.o ngpkg.o -Wl,--export-dynamic
../libsrc/visualization/.libs/libvisual.a -L/usr/local/lib
../libsrc/csg/.libs/libcsgvis.so ../libsrc/csg/.libs/libcsg.so
../libsrc/interface/.libs/libinterface.so ../libsrc/meshing/.libs/libmesh.so
-ltogl -lGLU -ltk86 -ltcl86 -ljpeg -lGL -lXmu -lX11 -fopenmp -Wl,-rpath
-Wl,/usr/local/lib
ld: error: ../libsrc/interface/.libs/libinterface.so: undefined reference to
pthread_create
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:415: netgen] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/cad/netgen/work/netgen-5.3.1/ng'
gmake[2]: *** [Makefile:354: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/netgen/work/netgen-5.3.1'
gmake[1]: *** [Makefile:285: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/cad/netgen/work/netgen-5.3.1'
*** Error code 1
Stop.
make: stopped in /usr/ports/cad/netgen
=>> Cleaning up wrkdir
===> Cleaning for netgen-5.3.1_10
build of cad/netgen | netgen-5.3.1_10 ended at Fri Nov 22 08:07:47 CST 2019
build time: 00:07:19
!!! build failure encountered !!!
PATCH:
--- work/netgen-5.3.1/configure.ac.orig 2019-11-22 19:12:55.362850000 +0800
+++ work/netgen-5.3.1/configure.ac 2019-11-22 19:13:44.566282000 +0800
@@ -180,7 +180,7 @@
;;
x11)
AC_SUBST(TOGL_WINDOWINGSYSTEM,TOGL_X11)
- TEA_ADD_LIBS([-lGL -lXmu -lX11])
+ TEA_ADD_LIBS([-lGL -lXmu -lX11 -lpthread])
LIBGLU=-lGLU
;;
win32)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list